mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-29 01:00:36 +01:00
Recover exact oddball global state
This commit is contained in:
1 parent
6efbc916e2
commit
00a9b1d655
2 files changed
+118
No files matched your search
@@ -104,16 +104,41 @@ symbols in this file:
|
||||
|
||||
/* ---------- headers */
|
||||
|
||||
#include "cseries/cseries.h"
|
||||
|
||||
/* ---------- constants */
|
||||
|
||||
enum
|
||||
{
|
||||
MAXIMUM_ODDBALLS = 16,
|
||||
};
|
||||
|
||||
/* ---------- macros */
|
||||
|
||||
/* ---------- structures */
|
||||
|
||||
struct oddball_globals
|
||||
{
|
||||
long score_to_win;
|
||||
long team_score[MAXIMUM_ODDBALLS];
|
||||
long individual_score[MAXIMUM_ODDBALLS];
|
||||
long ball_spawn_timer[MAXIMUM_ODDBALLS];
|
||||
long current_ball_owner[MAXIMUM_ODDBALLS];
|
||||
};
|
||||
|
||||
typedef char verify_oddball_globals_size[
|
||||
sizeof(struct oddball_globals) == 0x104 ? 1 : -1];
|
||||
typedef char verify_oddball_globals_ball_spawn_timer_offset[
|
||||
offsetof(struct oddball_globals, ball_spawn_timer) == 0x84 ? 1 : -1];
|
||||
typedef char verify_oddball_globals_current_ball_owner_offset[
|
||||
offsetof(struct oddball_globals, current_ball_owner) == 0xC4 ? 1 : -1];
|
||||
|
||||
/* ---------- prototypes */
|
||||
|
||||
/* ---------- globals */
|
||||
|
||||
struct oddball_globals bss_0043eba8 = { 0 };
|
||||
|
||||
/* ---------- public code */
|
||||
|
||||
void code_000a1630(
|
||||
|
||||
Reference in new issue
Block a user