Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
lara: tidy structure
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Sep 21, 2024
1 parent 885897e commit b7a1925
Show file tree
Hide file tree
Showing 35 changed files with 1,898 additions and 1,902 deletions.
13 changes: 6 additions & 7 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,14 @@ dll_sources = [
'src/game/inventory/ring.c',
'src/game/inventory/vars.c',
'src/game/items.c',
'src/game/lara/cheat.c',
'src/game/lara/col.c',
'src/game/lara/common.c',
'src/game/lara/lara_cheat.c',
'src/game/lara/lara_col.c',
'src/game/lara/lara_control.c',
'src/game/lara/lara_draw.c',
'src/game/lara/lara_look.c',
'src/game/lara/lara_misc.c',
'src/game/lara/lara_state.c',
'src/game/lara/control.c',
'src/game/lara/draw.c',
'src/game/lara/look.c',
'src/game/lara/misc.c',
'src/game/lara/state.c',
'src/game/level.c',
'src/game/los.c',
'src/game/lot.c',
Expand Down
4 changes: 2 additions & 2 deletions src/decomp/decomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#include "game/inventory/backpack.h"
#include "game/inventory/common.h"
#include "game/items.h"
#include "game/lara/lara_control.h"
#include "game/lara/lara_draw.h"
#include "game/lara/control.h"
#include "game/lara/draw.h"
#include "game/lot.h"
#include "game/math.h"
#include "game/music.h"
Expand Down
2 changes: 1 addition & 1 deletion src/game/console/cmd/end_level.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "game/console/cmd/end_level.h"

#include "game/lara/lara_cheat.h"
#include "game/lara/cheat.h"

#include <string.h>

Expand Down
2 changes: 1 addition & 1 deletion src/game/console/cmd/teleport.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "game/game_string.h"
#include "game/gameflow/gameflow_new.h"
#include "game/items.h"
#include "game/lara/lara_cheat.h"
#include "game/lara/cheat.h"
#include "game/objects/names.h"
#include "game/objects/vars.h"
#include "game/random.h"
Expand Down
2 changes: 1 addition & 1 deletion src/game/creature.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "decomp/effects.h"
#include "game/box.h"
#include "game/items.h"
#include "game/lara/lara_misc.h"
#include "game/lara/misc.h"
#include "game/los.h"
#include "game/lot.h"
#include "game/math.h"
Expand Down
2 changes: 1 addition & 1 deletion src/game/demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "game/game.h"
#include "game/gameflow.h"
#include "game/items.h"
#include "game/lara/lara_cheat.h"
#include "game/lara/cheat.h"
#include "game/random.h"
#include "game/room.h"
#include "game/shell.h"
Expand Down
2 changes: 1 addition & 1 deletion src/game/game.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "game/gameflow/gameflow_new.h"
#include "game/input.h"
#include "game/inventory/common.h"
#include "game/lara/lara_control.h"
#include "game/lara/control.h"
#include "game/music.h"
#include "game/overlay.h"
#include "game/room_draw.h"
Expand Down
2 changes: 1 addition & 1 deletion src/game/gun/gun.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "game/gun/gun_rifle.h"
#include "game/input.h"
#include "game/inventory/backpack.h"
#include "game/lara/lara_control.h"
#include "game/lara/control.h"
#include "game/sound.h"
#include "global/funcs.h"
#include "global/vars.h"
Expand Down
2 changes: 1 addition & 1 deletion src/game/gun/gun_rifle.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "game/gun/gun_misc.h"
#include "game/input.h"
#include "game/items.h"
#include "game/lara/lara_misc.h"
#include "game/lara/misc.h"
#include "game/math.h"
#include "game/random.h"
#include "game/sound.h"
Expand Down
2 changes: 1 addition & 1 deletion src/game/inventory/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "game/inventory/backpack.h"
#include "game/inventory/ring.h"
#include "game/inventory/vars.h"
#include "game/lara/lara_control.h"
#include "game/lara/control.h"
#include "game/math_misc.h"
#include "game/matrix.h"
#include "game/music.h"
Expand Down
4 changes: 2 additions & 2 deletions src/game/lara/lara_cheat.c → src/game/lara/cheat.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "game/lara/lara_cheat.h"
#include "game/lara/cheat.h"

#include "decomp/effects.h"
#include "game/camera.h"
Expand All @@ -8,7 +8,7 @@
#include "game/gun/gun.h"
#include "game/inventory/backpack.h"
#include "game/items.h"
#include "game/lara/lara_control.h"
#include "game/lara/control.h"
#include "game/math.h"
#include "game/objects/common.h"
#include "game/objects/vars.h"
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions src/game/lara/lara_col.c → src/game/lara/col.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#include "game/lara/lara_col.h"
#include "game/lara/col.h"

#include "game/collide.h"
#include "game/input.h"
#include "game/items.h"
#include "game/lara/lara_control.h"
#include "game/lara/lara_misc.h"
#include "game/lara/control.h"
#include "game/lara/misc.h"
#include "game/math.h"
#include "game/room.h"
#include "game/sound.h"
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions src/game/lara/lara_control.c → src/game/lara/control.c
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#include "game/lara/lara_control.h"
#include "game/lara/control.h"

#include "game/creature.h"
#include "game/gun/gun.h"
#include "game/input.h"
#include "game/inventory/backpack.h"
#include "game/items.h"
#include "game/lara/lara_cheat.h"
#include "game/lara/lara_look.h"
#include "game/lara/lara_misc.h"
#include "game/lara/cheat.h"
#include "game/lara/look.h"
#include "game/lara/misc.h"
#include "game/math.h"
#include "game/music.h"
#include "game/room.h"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/game/lara/lara_draw.c → src/game/lara/draw.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "game/lara/lara_draw.h"
#include "game/lara/draw.h"

#include "game/items.h"
#include "game/matrix.h"
Expand Down
File renamed without changes.
Loading

0 comments on commit b7a1925

Please sign in to comment.