Changeset 437 for Daodan/src


Ignore:
Timestamp:
Jul 17, 2009, 7:04:02 AM (15 years ago)
Author:
rossy
Message:

Daodan_Console

Location:
Daodan/src
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • Daodan/src/BFW_Utility.h

    r326 r437  
    1414void    ONICALL UUrPlatform_Terminate();
    1515
     16void ONICALL COrTextArea_Print(uint32_t area, uint32_t priority, uint32_t textshade, uint32_t textshadowshade, const char* text, uint32_t unk_alwaws_0, uint32_t fadetime);
     17
    1618int __cdecl AUrMessageBox(int Buttons, char *Message, ...);
     19
     20extern uint32_t COgConsoleLines;
     21extern uint32_t COgFadeTimeValue;
     22extern uint32_t COgDefaultTextShade;
     23extern uint32_t COgDefaultTextShadow;
    1724
    1825extern FILE* ONgFileStartup;
  • Daodan/src/Oni.h

    r326 r437  
    1818extern ONtPlatformData ONgPlatformData;
    1919
     20extern void* ONgGameState;
     21
    2022#endif
  • Daodan/src/Oni_Character.h

    r435 r437  
    55#include "Daodan.h"
    66#include <stdint.h>
     7#include <stdbool.h>
    78
    89typedef struct {
     
    2223        float RotationScale[9];
    2324        Vector3 Translation;
    24 } Matrix4x3
     25} Matrix4x3;
    2526
    2627typedef struct {
     
    8384        Action2_Fire1                    = 0x40,
    8485        Action2_Fire2                    = 0x80,
    85         Action2_Fire3                    = 0x100
     86        Action2_Fire3                    = 0x100,
    8687};
    8788
     
    193194        int32_t Bone; //duh
    194195} AttachedParticle;
     196
    195197typedef struct { //Inventory
    196198        int32_t Weapons[3];
     
    213215} Inventory;
    214216
    215 typedef strcut { //ActiveCharacter
     217typedef struct { //ActiveCharacter
    216218        int16_t Number;
    217219        int16_t field_2; //probably Number is an int32
     
    492494        int32_t field_8BB;
    493495        int32_t PatrolPathOSD[10];      //actually another struct. Not needed atm.
    494         int32_t PatrolPathPoints[5][64] //64 of another struct
     496        int32_t PatrolPathPoints[5][64]; //64 of another struct
    495497        int32_t field_DE8[98];  //DE8-F70
    496498        int32_t CombatStatePtr;
  • Daodan/src/Oni_Symbols.S

    r435 r437  
    1717symbol ( _g_Instance                         , 0x0021f9e4 )
    1818symbol ( _ONgPlatformData                    , 0x0023100c )
     19symbol ( _ONgGameState                       , 0x001ece7c )
    1920
    2021//Oni Persistance
     
    4950
    5051// Character
    51 symbol ( @ONrGameState_NewCharacter@16       , 0x000daC50 )
    52 symbol ( ONrGameState_GetPlayerCharacter@0       , 0x000B63A7 )
     52symbol ( @ONrGameState_NewCharacter@16       , 0x000dac50 )
     53symbol ( @ONrGameState_GetPlayerCharacter@0  , 0x000b63a7 )
     54
     55// Console
     56symbol ( @COrTextArea_Print@28               , 0x00031340 )
     57symbol ( _COgConsoleLines                    , 0x001cb468 )
     58symbol ( _COgFadeTimeValue                   , 0x00133f68 )
     59symbol ( _COgDefaultTextShade                , 0x00133f70 )
     60symbol ( _COgDefaultTextShadow               , 0x00133f74 )
Note: See TracChangeset for help on using the changeset viewer.