source: Daodan/Oni_Symbols.S @ 269

Last change on this file since 269 was 269, checked in by rossy, 13 years ago

Daodan WIP

File size: 1.9 KB
Line 
1#define symbol(name, value) .global name; .set name, 0x00400000 + value
2
3// Patch locations
4// Font texture cache doubled
5symbol ( Patch_FontCache1      , 0x00020ea7 )
6symbol ( Patch_FontCache2      , 0x00020f4a )
7
8// Now supports textures up to 512x512
9symbol ( Patch_TextureSize     , 0x00005251 )
10
11// Non-"_Final" levels are now valid
12symbol ( Patch_LevelPlugins    , 0x000206a8 )
13
14// Pathfinding grid cache size x8
15symbol ( Patch_PathFind1       , 0x0010b03b )
16symbol ( Patch_PathFind2       , 0x0010b04c )
17
18// Projectile awareness fixed
19symbol ( Patch_Projectile1     , 0x0009c07c )
20symbol ( Patch_Projectile2     , 0x0009c080 )
21symbol ( Patch_Projectile3     , 0x0009c084 )
22symbol ( Patch_Projectile4     , 0x0009c110 )
23
24// Forced DirectInput (for Windows NT)
25symbol ( Patch_DInput          , 0x00002e6d )
26
27// Makes wp_fadetime actually have a function
28symbol ( Patch_WP_Fadetime1    , 0x0011a889 )
29symbol ( Patch_WP_Fadetime2    , 0x0011a560 )
30
31// Weapon fadetime
32symbol ( Patch_Fadetime        , 0x0011ab0e )
33
34// Kicking guns fix
35symbol ( Patch_GunsKick        , 0x000DC420 )
36
37// Cooldown timer exploit fix ^_^
38symbol ( Patch_Cooldown        , 0x0011A825 )
39
40// Replaces the pointer door_drawframes with the pointer for the "Last Man Standing" cheat.
41symbol ( Patch_Door_DFramesPtr , 0x000D8AA0 )
42
43// Replaces the variable name "door_drawframes" with the variable name "chr_lms"
44symbol ( Patch_Door_DFramesStr , 0x0015058C )
45
46// Replaces the description "draws doorframes for all unplaced doors(1 null)" with "turns on Last Man Standing mode(9 nulls)"
47symbol ( Patch_Door_DFramesDes , 0x00150564 )
48
49// MSVC6.0 stdlib
50symbol ( _oni_fopen            , 0x0011ea9f )
51symbol ( _oni_fprintf          , 0x0011ebbf )
52symbol ( _oni_fflush           , 0x0011eab2 )
53
54// BFW_Utility
55symbol ( _UUrStartupMessage    , 0x00024860 )
56symbol ( _ONgFileStartup       , 0x001711b8 )
Note: See TracBrowser for help on using the repository browser.