Skip to content

Commit ea81a11

Browse files
committed
Disable more-oos
1 parent 51d6549 commit ea81a11

6 files changed

Lines changed: 24 additions & 0 deletions

‎src/log_more_oos.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
unsigned int __cdecl __MINGW_NOTHROW _controlfp (unsigned int unNew, unsigned int unMask);
1212

13+
#ifdef SPAWNER
14+
1315
CALL(0x005B5AD2, _fprintf_log_more_stuff);
1416
CALL(0x005B5CA0, _fprintf_no_name_localization);
1517

@@ -436,3 +438,5 @@ print_AnimationConstructorCalls(FILE * restrict stream, int32_t count)
436438
}
437439
fprintf(stream, "\n", 0);
438440
}
441+
442+
#endif /* SPAWNER */

‎src/record_anim_constructor_func.asm‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
%include "macros/patch.inc"
33
%include "macros/datatypes.inc"
44

5+
%ifdef SPAWNER
6+
57
; Records animation constructor calls for sync logging
68

79
cextern record_animation_constructor_void
@@ -23,3 +25,5 @@ hack 0x00413AE0
2325
and esp, 0FFFFFFF8h
2426
jmp 0x00413AE6
2527

28+
%endif ; SPAWNER
29+

‎src/record_facing_changes_func.asm‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
%include "macros/patch.inc"
33
%include "macros/datatypes.inc"
44

5+
%ifdef SPAWNER
6+
57
; Records facing changes for sync logging
68

79
cextern record_facing_void
@@ -27,3 +29,5 @@ hack 0x00496670
2729
push esi
2830
mov esi, ecx
2931
jmp 0x00496677
32+
33+
%endif ; SPAWNER

‎src/record_override_mission_func.asm‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
%include "macros/patch.inc"
33
%include "macros/datatypes.inc"
44

5+
%ifdef SPAWNER
6+
57
; Records Override_Mission calls for sync logging
68

79
cextern record_override_mission_void
@@ -29,3 +31,5 @@ hack 0x004A44F0
2931
push esi
3032
push edi
3133
jmp 0x004A44F6
34+
35+
%endif ; SPAWNER

‎src/record_rng_func.asm‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
%include "macros/patch.inc"
33
%include "macros/datatypes.inc"
44

5+
%ifdef SPAWNER
6+
57
cextern record_rng_ii ; Defined in log_more_oos.c
68
cextern record_rng_void
79

@@ -61,3 +63,5 @@ hack 0x0005BE04B
6163
inc esi
6264
jmp 0x005BE051
6365

66+
%endif ; SPAWNER
67+

‎src/record_tarcom_changes_func.asm‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
%include "macros/patch.inc"
33
%include "macros/datatypes.inc"
44

5+
%ifdef SPAWNER
6+
57
; Records TarCom changes for sync logging
68

79
cextern record_tarcom_void
@@ -163,3 +165,5 @@ hack 0x004D4770
163165
mov edi, [esp+0Ch]
164166
jmp 0x004D4778
165167

168+
%endif ; SPAWNER
169+

0 commit comments

Comments
 (0)