Changeset 692 for Daodan/src/Daodan_Character.c
- Timestamp:
- Mar 7, 2013, 6:26:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/Daodan_Character.c
r677 r692 2 2 #include "Daodan_Character.h" 3 3 #include "Oni_Character.h" 4 #include "BFW_Utility.h"5 4 #include "Oni.h" 6 5 … … 28 27 } 29 28 } 30 return -1; //not found :(29 return -1; //not found :( 31 30 } 32 /* 33 OniRectangle TestRect; 34 void CHARTest() 35 { 36 37 CharacterObject* TestCHAR = malloc(sizeof(CharacterObject)); 38 memset(TestCHAR, 0, sizeof(CharacterObject)); 39 40 int type = 0x43484152; 41 TestCHAR->Header.Type = type; 42 memcpy(TestCHAR->OSD.Name, "Gumby", 6); 43 memcpy(TestCHAR->OSD.Class, "striker_easy_1", 15); 44 memcpy(TestCHAR->OSD.ScriptSpawn, "dmsg", 20); 45 //TestCHAR->OSD.Options = chr_unkillable; 46 TestCHAR->OSD.TeamID = team_syndicate; 47 //int* ptr = 0x005ECE70; 48 TestRect.Top = 10; 49 TestRect.Left = 10; 50 TestRect.Right = 100; 51 TestRect.Bottom = 100; 52 53 char str[5] = "hi"; 54 str[2] = '\0'; 55 AUrMessageBox(0, "%8x", &TestRect); 56 int16_t a = TSrContext_DrawText(TestContext, str, 0xFF, &TestRect, &TestRect); 57 //ONrGameState_NewCharacter(TestCHAR, NULL, NULL, NULL); 58 return; 59 } 60 */ 31
Note:
See TracChangeset
for help on using the changeset viewer.