Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Commit

Permalink
More fields to setup reader
Browse files Browse the repository at this point in the history
  • Loading branch information
katajakasa committed Sep 23, 2015
1 parent f2e028a commit e8c4a75
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions include/shadowdive/setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,19 @@
extern "C" {
#endif

typedef struct {
uint16_t unk:5;
uint16_t power_1:3;
uint16_t unk2:2;
uint16_t power_2:3;
uint16_t unk3:3;
} __attribute__((packed)) gflags0;

typedef struct {
uint8_t unk:2;
uint8_t shadows:2;
uint8_t unk2:2;
uint8_t hazards:1;
uint8_t hyper_mode:1;
uint8_t screen_shakes:1;
uint8_t animations:1;
} __attribute__((packed)) gflags1;
Expand All @@ -38,7 +47,8 @@ typedef struct {
} __attribute__((packed)) gflags3;

typedef struct {
char unknown_a[212];
uint8_t game_speed;
char unknown_a[211];
uint16_t unknown_b;
uint16_t unknown_c;
uint16_t unknown_d;
Expand All @@ -50,7 +60,7 @@ typedef struct {
uint16_t unknown_j;
uint16_t unknown_k;
uint16_t unknown_l;
uint16_t unknown_m;
gflags0 general_flags_0;
gflags1 general_flags_1;
gflags2 general_flags_2;
gflags3 general_flags_3;
Expand Down

0 comments on commit e8c4a75

Please sign in to comment.