Changeset 879 for Daodan


Ignore:
Timestamp:
Jun 2, 2013, 6:51:21 PM (11 years ago)
Author:
alloc
Message:

Daodan: Made flatline automatically kill characters on connect and set draw all chars

Location:
Daodan/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Daodan/src/Oni_Symbols.h

    r876 r879  
    172172// Print message to console ?
    173173DefFunc(int, COrMessage_Print, ONICALL, (char* Message, char* Key, void* noidea), 0x004304B0);
     174DefFunc(UUtBool, COrCommand_Execute, ONICALL, (char* command), 0x004317D0);
    174175
    175176DefFunc(void, COrConsole_StatusLine_Display, ONICALL, (), 0x00431E70);
     
    196197DefFunc(uint16_t, iSetCharacterClass, ONICALL, (sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* dontuse2, sl_arg* ret), 0x004D99D0);
    197198DefFunc(uint16_t, AI2iScript_Spawn, ONICALL, (sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* dontuse2, sl_arg* ret), 0x004B4780);
     199DefFunc(void, AI2rSmite, ONICALL, (Character *inCharacter, UUtBool inSpareCharacter), 0x0048BDA0);
    198200//NOT USED: DefFunc(void*, OBJrObjectType_GetObject_ByNumber, ONICALL, (int inObjectType, int inIndex), );
    199201//NOT USED: DefFunc(int, OBJiObjectGroup_GetNumObjects, ONICALL, (void *inObjectGroup), );
  • Daodan/src/flatline/Flatline.c

    r878 r879  
    588588        memset( PlayerList, 0, 4 * MAX_PLAYERS );
    589589        memset( &MultiplayerStatus, 0, sizeof( multiplayer_status ));
     590        COrCommand_Execute("chr_draw_all_characters = 1;");
     591        AI2rSmite(NULL, UUcFalse);
    590592        return 1;
    591593}
Note: See TracChangeset for help on using the changeset viewer.