ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Oni/Symbols_Var.h
(Generate patch)

Comparing Daodan/src/Oni/Symbols_Var.h (file contents):
Revision 992 by alloc, Sat Apr 5 10:19:11 2014 UTC vs.
Revision 1163 by rossy, Sun Oct 24 02:50:48 2021 UTC

# Line 11 | Line 11
11   #define ai2_deaf                        (*((onibool*)0x005ec0c1))
12  
13   // Option "debug" ... but what does it do?
14 < #define AKgDebug_DebugMaps      (*((char*)0x002b2204))
14 > #define AKgDebug_DebugMaps      (*((onibool*)0x006b2204))
15  
16   // Option "debugfiles" ... but what does it do?
17 < #define BFgDebugFileEnable      (*((bool*)0x0055c8d0))
17 > #define BFgDebugFileEnable      (*((onibool*)0x0055c8d0))
18  
19   // Command line instance
20   #define COgCommandLine          (*((void**)0x00571b74))
# Line 56 | Line 56
56  
57   // False to prevent Oni from changing display settings (however Bink
58   // player does not respect this setting).
59 < #define M3gResolutionSwitch     (*((char*)0x00531634))
59 > #define M3gResolutionSwitch     (*((onibool*)0x00531634))
60  
61   // Startup.txt file handle
62   #define ONgFileStartup          (*((FILE**)0x005711b8))
# Line 68 | Line 68
68   #define ONgPlatformData         (*((ONtPlatformData*)0x00631008))
69  
70   // Load non levelX_final-files yes/no
71 < #define opt_ignore_private_data (*((char*)0x006370f0))
71 > #define opt_ignore_private_data (*((onibool*)0x006370f0))
72  
73   // Play sound yes/no
74 < #define opt_sound                       (*((char*)0x006370fc))
74 > #define opt_sound                       (*((onibool*)0x006370fc))
75  
76   // Option "findsounds" ... but what does it do?
77 < #define SSgSearchOnDisk         (*((bool*)0x005eb758))
77 > #define SSgSearchOnDisk         (*((onibool*)0x005eb758))
78  
79   // OBJgTriggerVolume_Visible - bsl var to show trigger volumes
80   #define OBJgTriggerVolume_Visible       (*((bool*)0x005ec6c4))
# Line 83 | Line 83
83   //#define OBJgFlag_ViewPrefix   (*((void*)0x005ec650))
84   //#define OBJgFlag_DrawNameDistance     (*((void*)0x005ec634))
85  
86 + // Oni's platform input system stores the window HWND in this global
87 + #define LIgPlatform_HWND (*((HWND *)0x0055cae8))
88 +
89 + // Is Oni's input system active? True in gameplay and false in menus.
90 + // LIrPlatform_Mode_Set gets called when this changes.
91 + #define LIgMode_Internal (*((UUtBool *)0x0055fd40))
92 +
93 + // List of bindings from Oni's internal key codes to LItActionDescriptions
94 + #define LIgBindingArray ((LItBinding *)0x0055fa20)
95 +
96 + // Is "Invert Mouse" checked in the Options menu? If so, platform specific input
97 + // code should invert the cursor's Y offset when building LItActionBuffers.
98 + #define LIgMode_InvertMouse (*((UUtBool *)0x0052ecf4))
99 +
100 + // This is a map from DirectInput scan codes to Oni's internal key codes, the
101 + // latter of which mostly match ASCII for a US keyboard layout. DirectInput scan
102 + // codes are mostly the same as the PS2 make codes that Windows uses in other
103 + // APIs except that extended keys are represented by bit 0x80 being set.
104 + #define LIgPlatform_ScanCodeToChar ((uint8_t *)0x005292b8)
105 +
106 + // Script variable to enable/disable centering the cursor in the window when
107 + // processing input. On by default.
108 + #define LIgCenterCursor (*((int *)0x0052d88d))
109 +
110 + // List of bindable input actions
111 + #define LIgActionDescriptions ((LItActionDescription*)0x0052db18)
112 +
113   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)