Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
JaceCear committed Jan 5, 2025
1 parent 4e6608e commit 3f65477
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/game/sa1_sa2_shared/camera.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
#include "core.h"
#include "tilemap.h"

#if (GAME == GAME_SA1)
typedef s16 CamCoord;
#else
typedef s32 CamCoord;
#endif

// TODO: Move TILE_WIDTH into "include/tilemap.h"
#define TILE_WIDTH 8
#define CAM_REGION_WIDTH 256
Expand Down

0 comments on commit 3f65477

Please sign in to comment.