qmlFrontend/flib.h
branchqmlfrontend
changeset 10951 89a7f617e091
parent 10896 5a74923120d5
child 11415 05cf35103206
equal deleted inserted replaced
10949:6a1f5f452460 10951:89a7f617e091
    12     , MSG_ADDPLAYINGTEAM
    12     , MSG_ADDPLAYINGTEAM
    13     , MSG_REMOVEPLAYINGTEAM
    13     , MSG_REMOVEPLAYINGTEAM
    14     , MSG_ADDTEAM
    14     , MSG_ADDTEAM
    15     , MSG_REMOVETEAM
    15     , MSG_REMOVETEAM
    16     , MSG_TEAMCOLOR
    16     , MSG_TEAMCOLOR
       
    17     , MSG_NETDATA
    17 };
    18 };
    18 
    19 
    19 typedef union string255_
    20 typedef union string255_
    20     {
    21     {
    21         struct {
    22         struct {
    26             unsigned char str[255];
    27             unsigned char str[255];
    27         };
    28         };
    28     } string255;
    29     } string255;
    29 
    30 
    30 typedef void RunEngine_t(int argc, const char ** argv);
    31 typedef void RunEngine_t(int argc, const char ** argv);
    31 typedef void registerGUIMessagesCallback_t(void * context, void (*)(void * context, MessageType mt, const char * msg, uint32_t len));
    32 typedef void registerUIMessagesCallback_t(void * context, void (*)(void * context, MessageType mt, const char * msg, uint32_t len));
    32 typedef void getPreview_t();
    33 typedef void getPreview_t();
    33 typedef void runQuickGame_t();
    34 typedef void runQuickGame_t();
    34 typedef void runLocalGame_t();
    35 typedef void runLocalGame_t();
    35 typedef void resetGameConfig_t();
    36 typedef void resetGameConfig_t();
    36 typedef void setSeed_t(const char * seed);
    37 typedef void setSeed_t(const char * seed);
    39 typedef void setScript_t(const char * scriptName);
    40 typedef void setScript_t(const char * scriptName);
    40 typedef void setScheme_t(const char * schemeName);
    41 typedef void setScheme_t(const char * schemeName);
    41 typedef void setAmmo_t(const char * ammoName);
    42 typedef void setAmmo_t(const char * ammoName);
    42 typedef void flibInit_t(const char * localPrefix, const char * userPrefix);
    43 typedef void flibInit_t(const char * localPrefix, const char * userPrefix);
    43 typedef void flibFree_t();
    44 typedef void flibFree_t();
       
    45 typedef void passNetData_t(const char * data);
    44 
    46 
    45 typedef char **getThemesList_t();
    47 typedef char **getThemesList_t();
    46 typedef void freeThemesList_t(char **list);
    48 typedef void freeThemesList_t(char **list);
    47 typedef uint32_t getThemeIcon_t(char * theme, char * buffer, uint32_t size);
    49 typedef uint32_t getThemeIcon_t(char * theme, char * buffer, uint32_t size);
    48 
    50