Rev 11 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11 | Rev 18 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #include "loadsave.h" |
1 | #include "loadsave.h" |
- | 2 | #include "brender.h" |
|
- | 3 | #include "brhton.h" |
|
2 | #include "cutscene.h" |
4 | #include "cutscene.h" |
3 | #include "errors.h" |
5 | #include "errors.h" |
4 | #include "flicplay.h" |
6 | #include "flicplay.h" |
5 | #include "globvars.h" |
7 | #include "globvars.h" |
6 | #include "globvrpb.h" |
8 | #include "globvrpb.h" |
Line 15... | Line 17... | ||
15 | #include "pd/sys.h" |
17 | #include "pd/sys.h" |
16 | #include "sound.h" |
18 | #include "sound.h" |
17 | #include "structur.h" |
19 | #include "structur.h" |
18 | #include "utility.h" |
20 | #include "utility.h" |
19 | #include "world.h" |
21 | #include "world.h" |
20 | #include <brender/brender.h> |
- | |
21 | #include <stdlib.h> |
22 | #include <stdlib.h> |
22 | #include <string.h> |
23 | #include <string.h> |
23 | 24 | ||
24 | tSave_game* gSaved_games[8]; |
25 | tSave_game* gSaved_games[8]; |
25 | int gStarted_typing; |
26 | int gStarted_typing; |
26 | int gSave_allowed; |
27 | int gSave_allowed; |
27 | 28 | ||
28 | #define SAVEGAME_VERSION 6 |
29 | #define SAVEGAME_VERSION 6 |
29 | 30 | ||
30 | #define SWAP32_BE(V) |
31 | #define SWAP32_BE(V) \ |
31 | do { |
32 | do { \ |
32 | (V) = BrHtoNL(V); \ |
33 | (V) = BrHtoNL(V); \ |
33 | } while (0) |
34 | } while (0) |
34 | 35 | ||
35 | // IDA: void __usercall CorrectLoadByteOrdering(int pIndex@<EAX>) |
36 | // IDA: void __usercall CorrectLoadByteOrdering(int pIndex@<EAX>) |
36 | void CorrectLoadByteOrdering(int pIndex) { |
37 | void CorrectLoadByteOrdering(int pIndex) { |