mirror of https://github.com/nmlgc/ReC98.git
[Maintenance] Gaiji: Move variable-width bars to TH02
Part of P0237, funded by Yanga.
This commit is contained in:
parent
1158e028ff
commit
ea59e023d0
|
@ -1,6 +1,27 @@
|
||||||
/// Gaiji introduced in TH02, and shared with later games
|
/// Gaiji introduced in TH02, and shared with later games
|
||||||
/// -----------------------------------------------------
|
/// -----------------------------------------------------
|
||||||
|
|
||||||
|
// Enemy health / dream / power bars, with the given width in pixels.
|
||||||
|
#define gaiji_bar(start) \
|
||||||
|
g_BAR_01W = start, \
|
||||||
|
g_BAR_02W, \
|
||||||
|
g_BAR_03W, \
|
||||||
|
g_BAR_04W, \
|
||||||
|
g_BAR_05W, \
|
||||||
|
g_BAR_06W, \
|
||||||
|
g_BAR_07W, \
|
||||||
|
g_BAR_08W, \
|
||||||
|
g_BAR_09W, \
|
||||||
|
g_BAR_10W, \
|
||||||
|
g_BAR_11W, \
|
||||||
|
g_BAR_12W, \
|
||||||
|
g_BAR_13W, \
|
||||||
|
g_BAR_14W, \
|
||||||
|
g_BAR_15W, \
|
||||||
|
g_BAR_16W
|
||||||
|
|
||||||
|
#define BAR_GAIJI_MAX 16
|
||||||
|
|
||||||
// In TH02, ZUN messed up and swapped M and N in MIKOFT.BFT for both regular
|
// In TH02, ZUN messed up and swapped M and N in MIKOFT.BFT for both regular
|
||||||
// and bold fonts. Therefore, other code shouldn't really use the
|
// and bold fonts. Therefore, other code shouldn't really use the
|
||||||
// straightforward solution of just adding char literals to a defined start
|
// straightforward solution of just adding char literals to a defined start
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
// Enemy health / dream / power bars, with the given width in pixels.
|
|
||||||
#define gaiji_bar(start) \
|
|
||||||
g_BAR_01W = start, \
|
|
||||||
g_BAR_02W, \
|
|
||||||
g_BAR_03W, \
|
|
||||||
g_BAR_04W, \
|
|
||||||
g_BAR_05W, \
|
|
||||||
g_BAR_06W, \
|
|
||||||
g_BAR_07W, \
|
|
||||||
g_BAR_08W, \
|
|
||||||
g_BAR_09W, \
|
|
||||||
g_BAR_10W, \
|
|
||||||
g_BAR_11W, \
|
|
||||||
g_BAR_12W, \
|
|
||||||
g_BAR_13W, \
|
|
||||||
g_BAR_14W, \
|
|
||||||
g_BAR_15W, \
|
|
||||||
g_BAR_16W
|
|
||||||
|
|
||||||
#define BAR_GAIJI_MAX 16
|
|
|
@ -3,7 +3,6 @@
|
||||||
// Gaiji available to TH03
|
// Gaiji available to TH03
|
||||||
|
|
||||||
#include "th02/gaiji/from_2.h"
|
#include "th02/gaiji/from_2.h"
|
||||||
#include "th03/gaiji/bar.h"
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
// 1P/2P selection cursor
|
// 1P/2P selection cursor
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
// Gaiji available to TH04 and TH05
|
// Gaiji available to TH04 and TH05
|
||||||
|
|
||||||
#include "th02/gaiji/from_2.h"
|
#include "th02/gaiji/from_2.h"
|
||||||
#include "th03/gaiji/bar.h"
|
|
||||||
|
|
||||||
#define OVERLAY_FADE_CELS 8
|
#define OVERLAY_FADE_CELS 8
|
||||||
#define RETURN_KEY_CELS 4
|
#define RETURN_KEY_CELS 4
|
||||||
|
|
Loading…
Reference in New Issue