aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api
ModeNameSize
-rw-r--r--CMakeLists.txt639logplain
-rw-r--r--s_async.cpp7288logplain
-rw-r--r--s_async.h4014logplain
-rw-r--r--s_base.cpp9549logplain
-rw-r--r--s_base.h3872logplain
-rw-r--r--s_client.cpp5922logplain
-rw-r--r--s_client.h1903logplain
-rw-r--r--s_entity.cpp8714logplain
-rw-r--r--s_entity.h1561logplain
-rw-r--r--s_env.cpp7320logplain
-rw-r--r--s_env.h1461logplain
-rw-r--r--s_internal.h2896logplain
-rw-r--r--s_inventory.cpp7737logplain
-rw-r--r--s_inventory.h2278logplain
-rw-r--r--s_item.cpp7077logplain
-rw-r--r--s_item.h1930logplain
-rw-r--r--s_mainmenu.cpp2660logplain
-rw-r--r--s_mainmenu.h1395logplain
-rw-r--r-- This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef CHAT_HEADER #define CHAT_HEADER #include "irrlichttypes.h" #include <string> #include <vector> #include <list> // Chat console related classes, only used by the client struct ChatLine { // age in seconds f32 age; // name of sending player, or empty if sent by server std::wstring name; // message text std::wstring text; ChatLine(std::wstring a_name, std::wstring a_text): age(0.0), name(a_name), text(a_text) { } }; struct ChatFormattedFragment { // text string std::wstring text; // starting column u32 column; // formatting //u8 bold:1; }; struct ChatFormattedLine { // Array of text fragments std::vector<ChatFormattedFragment> fragments; // true if first line of one formatted ChatLine bool first; }; class ChatBuffer { public: ChatBuffer(u32 scrollback); ~Ch'>plain
-rw-r--r--s_security.h2769logplain
-rw-r--r--s_server.cpp4532logplain
-rw-r--r--s_server.h1504logplain