Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
goblinhack committed Apr 26, 2024
1 parent 54a4faf commit 413a86a
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/ascii.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "my_game.hpp"
#include "my_gl.hpp"
#include "my_string.hpp"
#include "my_time.hpp"
#include "my_ui.hpp"

struct ascii_ {
Expand Down
2 changes: 2 additions & 0 deletions src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include "my_callstack.hpp"
#include "my_game.hpp"
#include "my_main.hpp"
#include "my_time.hpp"

Game::Game(std::string appdata)
{
Expand Down
1 change: 1 addition & 0 deletions src/game_fini.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "my_callstack.hpp"
#include "my_game.hpp"
#include "my_level.hpp"
#include "my_main.hpp"

void Game::fini(void)
{
Expand Down
1 change: 1 addition & 0 deletions src/game_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include "my_callstack.hpp"
#include "my_game.hpp"
#include "my_main.hpp"

void Game::init(void)
{
Expand Down
1 change: 1 addition & 0 deletions src/game_seed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//

#include "my_game.hpp"
#include "my_main.hpp"
#include "my_random.hpp"
#include "my_random_name.hpp"

Expand Down
1 change: 1 addition & 0 deletions src/gl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "my_callstack.hpp"
#include "my_game.hpp"
#include "my_gl.hpp"
#include "my_main.hpp"
#include "my_ptrcheck.hpp"

#include <array>
Expand Down
2 changes: 2 additions & 0 deletions src/hiscore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
//

#include "my_callstack.hpp"
#include "my_main.hpp"
#include "my_serialize.hpp"
#include "my_time.hpp"

HiScores::HiScores(void)
{
Expand Down
1 change: 1 addition & 0 deletions src/level_anim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "my_game.hpp"
#include "my_level.hpp"
#include "my_tile.hpp"
#include "my_time.hpp"
#include "my_tp.hpp"

void Level::anim(void)
Expand Down
1 change: 1 addition & 0 deletions src/level_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "my_charmap.hpp"
#include "my_game.hpp"
#include "my_level.hpp"
#include "my_main.hpp"
#include "my_tp.hpp"

void Level::map_set(LevelDatap data, const char *in)
Expand Down
7 changes: 3 additions & 4 deletions src/my_game.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@

#include "my_game_defs.hpp"
#include "my_hiscore.hpp"
#include "my_main.hpp"
#include "my_time.hpp"
#include "my_minimal.hpp"

using Config = class Config_
{
Expand Down Expand Up @@ -218,8 +217,8 @@ class Game
//
// Temporary. Dampens mouse clicks
//
ts_t last_mouse_down {};
ts_t last_pause {};
uint32_t last_mouse_down {};
uint32_t last_pause {};

/////////////////////////////////////////////////////////////////////////
// not worth saving
Expand Down
1 change: 1 addition & 0 deletions src/time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include "my_game.hpp"
#include "my_string.hpp"
#include "my_time.hpp"

//
// This is the actual time
Expand Down

0 comments on commit 413a86a

Please sign in to comment.