From 727a0d14dd73f3aaf539c6e3e2efc67c3d2b71e8 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 10 Feb 2024 18:13:37 +0100 Subject: [PATCH] renamed game engine specific export files --- src/engines.h | 8 ++++---- src/game_bd/{export.h => export_bd.h} | 17 ++++++++++++++--- src/game_bd/game_bd.h | 2 +- src/game_bd/main_bd.h | 2 +- src/game_em/{export.h => export_em.h} | 17 ++++++++++++++--- src/game_em/game_em.h | 2 +- src/game_em/main_em.h | 2 +- src/game_mm/{export.h => export_mm.h} | 17 ++++++++++++++--- src/game_mm/game_mm.h | 2 +- src/game_mm/main_mm.h | 2 +- src/game_sp/{export.h => export_sp.h} | 17 ++++++++++++++--- src/game_sp/game_sp.h | 2 +- src/game_sp/main_sp.h | 2 +- 13 files changed, 68 insertions(+), 24 deletions(-) rename src/game_bd/{export.h => export_bd.h} (69%) rename src/game_em/{export.h => export_em.h} (84%) rename src/game_mm/{export.h => export_mm.h} (91%) rename src/game_sp/{export.h => export_sp.h} (90%) diff --git a/src/engines.h b/src/engines.h index 0aad9629..25c36d47 100644 --- a/src/engines.h +++ b/src/engines.h @@ -14,10 +14,10 @@ #include "libgame/libgame.h" -#include "game_bd/export.h" -#include "game_em/export.h" -#include "game_sp/export.h" -#include "game_mm/export.h" +#include "game_bd/export_bd.h" +#include "game_em/export_em.h" +#include "game_sp/export_sp.h" +#include "game_mm/export_mm.h" #include "game.h" diff --git a/src/game_bd/export.h b/src/game_bd/export_bd.h similarity index 69% rename from src/game_bd/export.h rename to src/game_bd/export_bd.h index 07d3ff3f..4f7edfe9 100644 --- a/src/game_bd/export.h +++ b/src/game_bd/export_bd.h @@ -1,5 +1,16 @@ -#ifndef GAME_BD_EXPORT_H -#define GAME_BD_EXPORT_H +// ============================================================================ +// Rocks'n'Diamonds - McDuffin Strikes Back! +// ---------------------------------------------------------------------------- +// (c) 1995-2024 by Artsoft Entertainment +// Holger Schemel +// info@artsoft.org +// https://www.artsoft.org/ +// ---------------------------------------------------------------------------- +// export_bd.h +// ============================================================================ + +#ifndef EXPORT_BD_H +#define EXPORT_BD_H // ============================================================================ // functions and definitions exported from game_bd to main program @@ -52,4 +63,4 @@ extern struct EngineSnapshotInfo_BD engine_snapshot_bd; void setLevelInfoToDefaults_BD(void); -#endif // GAME_BD_EXPORT_H +#endif // EXPORT_BD_H diff --git a/src/game_bd/game_bd.h b/src/game_bd/game_bd.h index d897e381..3243ac25 100644 --- a/src/game_bd/game_bd.h +++ b/src/game_bd/game_bd.h @@ -14,6 +14,6 @@ #define GAME_BD_VERSION_1_0_0 -#include "export.h" +#include "export_bd.h" #endif // GAME_BD_H diff --git a/src/game_bd/main_bd.h b/src/game_bd/main_bd.h index 7d8ffced..65407b6a 100644 --- a/src/game_bd/main_bd.h +++ b/src/game_bd/main_bd.h @@ -12,7 +12,7 @@ // functions and definitions that are exported from game_bd to main program // ============================================================================ -#include "export.h" +#include "export_bd.h" // ============================================================================ diff --git a/src/game_em/export.h b/src/game_em/export_em.h similarity index 84% rename from src/game_em/export.h rename to src/game_em/export_em.h index a2bbdef9..8f32dcdb 100644 --- a/src/game_em/export.h +++ b/src/game_em/export_em.h @@ -1,5 +1,16 @@ -#ifndef EXPORT_H -#define EXPORT_H +// ============================================================================ +// Rocks'n'Diamonds - McDuffin Strikes Back! +// ---------------------------------------------------------------------------- +// (c) 1995-2024 by Artsoft Entertainment +// Holger Schemel +// info@artsoft.org +// https://www.artsoft.org/ +// ---------------------------------------------------------------------------- +// export_em.h +// ============================================================================ + +#ifndef EXPORT_EM_H +#define EXPORT_EM_H // ============================================================================ // functions and definitions exported from game_em to main program @@ -130,4 +141,4 @@ boolean checkIfAllPlayersFitToScreen(void); int map_em_element_C_to_X(int); int map_em_element_X_to_C(int); -#endif // EXPORT_H +#endif // EXPORT_EM_H diff --git a/src/game_em/game_em.h b/src/game_em/game_em.h index 6f090474..90a7d4e6 100644 --- a/src/game_em/game_em.h +++ b/src/game_em/game_em.h @@ -14,6 +14,6 @@ #define GAME_EM_VERSION_1_0_0 -#include "export.h" +#include "export_em.h" #endif /* GAME_EM_H */ diff --git a/src/game_em/main_em.h b/src/game_em/main_em.h index 84d5509b..3e815d5c 100644 --- a/src/game_em/main_em.h +++ b/src/game_em/main_em.h @@ -12,7 +12,7 @@ // functions and definitions that are exported from game_em to main program // ============================================================================ -#include "export.h" +#include "export_em.h" // ============================================================================ diff --git a/src/game_mm/export.h b/src/game_mm/export_mm.h similarity index 91% rename from src/game_mm/export.h rename to src/game_mm/export_mm.h index 1d063969..47ced95c 100644 --- a/src/game_mm/export.h +++ b/src/game_mm/export_mm.h @@ -1,5 +1,16 @@ -#ifndef GAME_MM_EXPORT_H -#define GAME_MM_EXPORT_H +// ============================================================================ +// Rocks'n'Diamonds - McDuffin Strikes Back! +// ---------------------------------------------------------------------------- +// (c) 1995-2024 by Artsoft Entertainment +// Holger Schemel +// info@artsoft.org +// https://www.artsoft.org/ +// ---------------------------------------------------------------------------- +// export_mm.h +// ============================================================================ + +#ifndef EXPORT_MM_H +#define EXPORT_MM_H // ============================================================================ // functions and definitions exported from game_mm to main program @@ -264,4 +275,4 @@ void SaveEngineSnapshotValues_MM(void); int getButtonFromTouchPosition(int, int, int, int); -#endif // GAME_MM_EXPORT_H +#endif // EXPORT_MM_H diff --git a/src/game_mm/game_mm.h b/src/game_mm/game_mm.h index 5655f322..a5676cd8 100644 --- a/src/game_mm/game_mm.h +++ b/src/game_mm/game_mm.h @@ -14,6 +14,6 @@ #define GAME_MM_VERSION_1_0_0 -#include "export.h" +#include "export_mm.h" #endif // GAME_MM_H diff --git a/src/game_mm/main_mm.h b/src/game_mm/main_mm.h index 94ee023e..9d5c9023 100644 --- a/src/game_mm/main_mm.h +++ b/src/game_mm/main_mm.h @@ -13,7 +13,7 @@ // functions and definitions that are exported from game_mm to main program // ============================================================================ -#include "export.h" +#include "export_mm.h" // ============================================================================ diff --git a/src/game_sp/export.h b/src/game_sp/export_sp.h similarity index 90% rename from src/game_sp/export.h rename to src/game_sp/export_sp.h index cd1804dd..0b9f6de4 100644 --- a/src/game_sp/export.h +++ b/src/game_sp/export_sp.h @@ -1,5 +1,16 @@ -#ifndef GAME_SP_EXPORT_H -#define GAME_SP_EXPORT_H +// ============================================================================ +// Rocks'n'Diamonds - McDuffin Strikes Back! +// ---------------------------------------------------------------------------- +// (c) 1995-2024 by Artsoft Entertainment +// Holger Schemel +// info@artsoft.org +// https://www.artsoft.org/ +// ---------------------------------------------------------------------------- +// export_sp.h +// ============================================================================ + +#ifndef EXPORT_SP_H +#define EXPORT_SP_H // ============================================================================ // functions and definitions exported from game_sp to main program @@ -195,4 +206,4 @@ int map_key_SP_to_RND(int); int getRedDiskReleaseFlag_SP(void); -#endif // GAME_SP_EXPORT_H +#endif // EXPORT_SP_H diff --git a/src/game_sp/game_sp.h b/src/game_sp/game_sp.h index 22c65728..797ef7d3 100644 --- a/src/game_sp/game_sp.h +++ b/src/game_sp/game_sp.h @@ -14,6 +14,6 @@ #define GAME_SP_VERSION_1_0_0 -#include "export.h" +#include "export_sp.h" #endif // GAME_SP_H diff --git a/src/game_sp/main_sp.h b/src/game_sp/main_sp.h index 58693d8d..8e31403a 100644 --- a/src/game_sp/main_sp.h +++ b/src/game_sp/main_sp.h @@ -13,7 +13,7 @@ // functions and definitions that are exported from game_sp to main program // ============================================================================ -#include "export.h" +#include "export_sp.h" // ============================================================================ -- 2.34.1