Rearranged #includes
This commit is contained in:
parent
809fb95b26
commit
0bb9760d87
110 changed files with 480 additions and 372 deletions
|
@ -1,15 +1,16 @@
|
||||||
|
#include "ArmsItem.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
#include "TextScr.h"
|
|
||||||
#include "ArmsItem.h"
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "KeyControl.h"
|
|
||||||
#include "Escape.h"
|
#include "Escape.h"
|
||||||
#include "Sound.h"
|
|
||||||
#include "Main.h"
|
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
|
#include "KeyControl.h"
|
||||||
|
#include "Main.h"
|
||||||
#include "Shoot.h"
|
#include "Shoot.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "TextScr.h"
|
||||||
|
|
||||||
int gArmsEnergyX = 16;
|
int gArmsEnergyX = 16;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
struct ARMS
|
struct ARMS
|
||||||
{
|
{
|
||||||
int code;
|
int code;
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
#include "Back.h"
|
#include "Back.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Tags.h"
|
#include "Draw.h"
|
||||||
|
#include "File.h"
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
#include "Draw.h"
|
|
||||||
#include "Stage.h"
|
|
||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
#include "File.h"
|
#include "Stage.h"
|
||||||
|
#include "Tags.h"
|
||||||
|
|
||||||
BACK gBack;
|
BACK gBack;
|
||||||
int gWaterY;
|
int gWaterY;
|
||||||
|
|
17
src/Boss.cpp
17
src/Boss.cpp
|
@ -1,9 +1,10 @@
|
||||||
|
#include "Boss.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Boss.h"
|
|
||||||
#include "BossAlmo1.h"
|
#include "BossAlmo1.h"
|
||||||
#include "BossAlmo2.h"
|
#include "BossAlmo2.h"
|
||||||
#include "BossBallos.h"
|
#include "BossBallos.h"
|
||||||
|
@ -13,16 +14,16 @@
|
||||||
#include "BossPress.h"
|
#include "BossPress.h"
|
||||||
#include "BossTwinD.h"
|
#include "BossTwinD.h"
|
||||||
#include "BossX.h"
|
#include "BossX.h"
|
||||||
#include "NpChar.h"
|
#include "Bullet.h"
|
||||||
#include "MyChar.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "NpcHit.h"
|
|
||||||
#include "Caret.h"
|
#include "Caret.h"
|
||||||
#include "TextScr.h"
|
|
||||||
#include "ValueView.h"
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
#include "Bullet.h"
|
#include "MyChar.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "NpcHit.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "TextScr.h"
|
||||||
|
#include "ValueView.h"
|
||||||
|
|
||||||
NPCHAR gBoss[BOSS_MAX];
|
NPCHAR gBoss[BOSS_MAX];
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
|
|
||||||
#define BOSS_MAX 20
|
#define BOSS_MAX 20
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#include "BossAlmo1.h"
|
#include "BossAlmo1.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Boss.h"
|
#include "Boss.h"
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#include "BossAlmo2.h"
|
#include "BossAlmo2.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Boss.h"
|
#include "Boss.h"
|
||||||
#include "Flash.h"
|
#include "Flash.h"
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
|
@ -9,7 +11,6 @@
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
static void ActBossCharA_Head(NPCHAR *npc)
|
static void ActBossCharA_Head(NPCHAR *npc)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#include "BossBallos.h"
|
#include "BossBallos.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Boss.h"
|
#include "Boss.h"
|
||||||
#include "Flash.h"
|
#include "Flash.h"
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#include "BossFrog.h"
|
#include "BossFrog.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Boss.h"
|
#include "Boss.h"
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
|
@ -7,7 +9,6 @@
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
static void ActBossChar02_01(void)
|
static void ActBossChar02_01(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
#include "BossIronH.h"
|
#include "BossIronH.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Boss.h"
|
#include "Boss.h"
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
void ActBossChar_Ironhead(void)
|
void ActBossChar_Ironhead(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
|
#include "BossLife.h"
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
#include "BossLife.h"
|
#include "Boss.h"
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Boss.h"
|
|
||||||
|
|
||||||
static struct
|
static struct
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
|
#include "BossOhm.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Boss.h"
|
#include "Boss.h"
|
||||||
#include "NpChar.h"
|
|
||||||
#include "MyChar.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Frame.h"
|
|
||||||
#include "Bullet.h"
|
#include "Bullet.h"
|
||||||
#include "Flash.h"
|
#include "Flash.h"
|
||||||
|
#include "Frame.h"
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
|
||||||
void ActBoss01_12()
|
void ActBoss01_12()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
void ActBossChar_Omega();
|
void ActBossChar_Omega();
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
#include "BossPress.h"
|
#include "BossPress.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Boss.h"
|
#include "Boss.h"
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
void ActBossChar_Press(void)
|
void ActBossChar_Press(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#include "BossTwinD.h"
|
#include "BossTwinD.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Boss.h"
|
#include "Boss.h"
|
||||||
#include "Flash.h"
|
#include "Flash.h"
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
|
@ -7,7 +9,6 @@
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
static void ActBossCharT_DragonBody(NPCHAR *npc)
|
static void ActBossCharT_DragonBody(NPCHAR *npc)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#include "BossX.h"
|
#include "BossX.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Boss.h"
|
#include "Boss.h"
|
||||||
#include "Flash.h"
|
#include "Flash.h"
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
|
@ -8,7 +10,6 @@
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
static void ActBossChar03_01(NPCHAR *npc)
|
static void ActBossChar03_01(NPCHAR *npc)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
|
#include "BulHit.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "Bullet.h"
|
#include "Bullet.h"
|
||||||
#include "NpChar.h"
|
|
||||||
#include "Caret.h"
|
#include "Caret.h"
|
||||||
#include "Sound.h"
|
|
||||||
#include "MyChar.h"
|
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
|
||||||
void Vanish(BULLET *bul)
|
void Vanish(BULLET *bul)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
void HitBulletMap();
|
void HitBulletMap();
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "Caret.h"
|
#include "Caret.h"
|
||||||
#include "NpChar.h"
|
|
||||||
#include "MyChar.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
#include "KeyControl.h"
|
#include "KeyControl.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
|
||||||
BULLET_TABLE gBulTbl[46] =
|
BULLET_TABLE gBulTbl[46] =
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
struct BULLET
|
struct BULLET
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "Triangle.h"
|
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
|
#include "Triangle.h"
|
||||||
|
|
||||||
#define CARET_MAX 0x40
|
#define CARET_MAX 0x40
|
||||||
CARET gCrt[CARET_MAX];
|
CARET gCrt[CARET_MAX];
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
struct CARET_TABLE
|
struct CARET_TABLE
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define PATH_LENGTH 260 //Pixel had the path size locked to 260 (dangerously low), if you tried to open the executable in a path with more than around 220 characters, it'd crash.
|
#define PATH_LENGTH 260 //Pixel had the path size locked to 260 (dangerously low), if you tried to open the executable in a path with more than around 220 characters, it'd crash.
|
||||||
|
|
||||||
#define WINDOW_WIDTH 320
|
#define WINDOW_WIDTH 320
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include "Types.h"
|
|
||||||
#include "CommonDefines.h"
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Tags.h"
|
#include "CommonDefines.h"
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
#include "File.h"
|
#include "File.h"
|
||||||
|
#include "Tags.h"
|
||||||
|
#include "Types.h"
|
||||||
|
|
||||||
bool LoadConfigData(CONFIG *conf)
|
bool LoadConfigData(CONFIG *conf)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
struct CONFIG
|
struct CONFIG
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include "Types.h"
|
|
||||||
#include "CommonDefines.h"
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef WINDOWS
|
#ifdef WINDOWS
|
||||||
#define RECT WINRECT
|
#define RECT WINRECT
|
||||||
|
@ -22,10 +20,12 @@
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
|
#include "CommonDefines.h"
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "Font.h"
|
#include "Font.h"
|
||||||
#include "Tags.h"
|
|
||||||
#include "Resource.h"
|
#include "Resource.h"
|
||||||
|
#include "Tags.h"
|
||||||
|
#include "Types.h"
|
||||||
|
|
||||||
struct SURFACE
|
struct SURFACE
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
extern RECT grcGame;
|
extern RECT grcGame;
|
||||||
|
|
|
@ -7,17 +7,17 @@
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Tags.h"
|
|
||||||
#include "Generic.h"
|
|
||||||
#include "Flags.h"
|
|
||||||
#include "KeyControl.h"
|
|
||||||
#include "Escape.h"
|
|
||||||
#include "Organya.h"
|
|
||||||
#include "MycParam.h"
|
|
||||||
#include "Main.h"
|
|
||||||
#include "Stage.h"
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
|
#include "Escape.h"
|
||||||
|
#include "Flags.h"
|
||||||
|
#include "Generic.h"
|
||||||
|
#include "KeyControl.h"
|
||||||
|
#include "Main.h"
|
||||||
|
#include "MycParam.h"
|
||||||
|
#include "Organya.h"
|
||||||
|
#include "Stage.h"
|
||||||
#include "TextScr.h"
|
#include "TextScr.h"
|
||||||
|
#include "Tags.h"
|
||||||
|
|
||||||
CREDIT Credit;
|
CREDIT Credit;
|
||||||
STRIP Strip[MAX_STRIP];
|
STRIP Strip[MAX_STRIP];
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
struct CREDIT
|
struct CREDIT
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
|
#include "Escape.h"
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
#include "Escape.h"
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "KeyControl.h"
|
#include "KeyControl.h"
|
||||||
#include "Main.h"
|
#include "Main.h"
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
int Call_Escape();
|
int Call_Escape();
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
|
#include "Fade.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Fade.h"
|
|
||||||
#include "Game.h"
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
|
#include "Game.h"
|
||||||
|
|
||||||
FADE gFade;
|
FADE gFade;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
|
|
||||||
#define FADE_WIDTH (((WINDOW_WIDTH - 1) >> 4) + 1)
|
#define FADE_WIDTH (((WINDOW_WIDTH - 1) >> 4) + 1)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include "Flags.h"
|
#include "Flags.h"
|
||||||
|
|
||||||
#include <cstring>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
uint8_t gFlagNPC[1000];
|
uint8_t gFlagNPC[1000];
|
||||||
uint8_t gSkipFlag[0x40];
|
uint8_t gSkipFlag[0x40];
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
extern uint8_t gFlagNPC[1000];
|
extern uint8_t gFlagNPC[1000];
|
||||||
extern uint8_t gSkipFlag[0x40];
|
extern uint8_t gSkipFlag[0x40];
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
|
#include "Frame.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "Frame.h"
|
#include "Boss.h"
|
||||||
|
#include "CommonDefines.h"
|
||||||
|
#include "Game.h"
|
||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Game.h"
|
|
||||||
#include "CommonDefines.h"
|
|
||||||
#include "Boss.h"
|
|
||||||
|
|
||||||
FRAME gFrame;
|
FRAME gFrame;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
struct FRAME
|
struct FRAME
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
|
|
68
src/Game.cpp
68
src/Game.cpp
|
@ -1,47 +1,49 @@
|
||||||
#include <string>
|
#include "Game.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <SDL_timer.h>
|
#include <SDL_timer.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Tags.h"
|
|
||||||
#include "NpcTbl.h"
|
|
||||||
#include "NpChar.h"
|
|
||||||
#include "NpcHit.h"
|
|
||||||
#include "MiniMap.h"
|
|
||||||
#include "Generic.h"
|
|
||||||
#include "Boss.h"
|
|
||||||
#include "GenericLoad.h"
|
|
||||||
#include "ArmsItem.h"
|
#include "ArmsItem.h"
|
||||||
#include "TextScr.h"
|
|
||||||
#include "Bullet.h"
|
|
||||||
#include "BulHit.h"
|
|
||||||
#include "Shoot.h"
|
|
||||||
#include "Star.h"
|
|
||||||
#include "Fade.h"
|
|
||||||
#include "Frame.h"
|
|
||||||
#include "Flags.h"
|
|
||||||
#include "Escape.h"
|
|
||||||
#include "Stage.h"
|
|
||||||
#include "MyChar.h"
|
|
||||||
#include "MycHit.h"
|
|
||||||
#include "Caret.h"
|
|
||||||
#include "Map.h"
|
|
||||||
#include "Main.h"
|
|
||||||
#include "MycParam.h"
|
|
||||||
#include "MapName.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Organya.h"
|
|
||||||
#include "Profile.h"
|
|
||||||
#include "MycParam.h"
|
|
||||||
#include "Back.h"
|
#include "Back.h"
|
||||||
#include "KeyControl.h"
|
#include "Boss.h"
|
||||||
#include "ValueView.h"
|
#include "BossLife.h"
|
||||||
|
#include "BulHit.h"
|
||||||
|
#include "Bullet.h"
|
||||||
|
#include "Caret.h"
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "Ending.h"
|
#include "Ending.h"
|
||||||
|
#include "Escape.h"
|
||||||
|
#include "Fade.h"
|
||||||
|
#include "Flags.h"
|
||||||
#include "Flash.h"
|
#include "Flash.h"
|
||||||
#include "BossLife.h"
|
#include "Frame.h"
|
||||||
|
#include "Generic.h"
|
||||||
|
#include "GenericLoad.h"
|
||||||
|
#include "KeyControl.h"
|
||||||
|
#include "Main.h"
|
||||||
|
#include "Map.h"
|
||||||
|
#include "MapName.h"
|
||||||
|
#include "MiniMap.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "MycHit.h"
|
||||||
|
#include "MycParam.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "NpcHit.h"
|
||||||
|
#include "NpcTbl.h"
|
||||||
|
#include "Organya.h"
|
||||||
|
#include "Profile.h"
|
||||||
#include "SelStage.h"
|
#include "SelStage.h"
|
||||||
|
#include "Shoot.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Stage.h"
|
||||||
|
#include "Star.h"
|
||||||
|
#include "Tags.h"
|
||||||
|
#include "TextScr.h"
|
||||||
|
#include "ValueView.h"
|
||||||
|
|
||||||
int g_GameFlags;
|
int g_GameFlags;
|
||||||
int gCounter;
|
int gCounter;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
extern int g_GameFlags;
|
extern int g_GameFlags;
|
||||||
extern int gCounter;
|
extern int gCounter;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#include "Generic.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
bool GetCompileVersion(int *v1, int *v2, int *v3, int *v4);
|
bool GetCompileVersion(int *v1, int *v2, int *v3, int *v4);
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
|
#include "GenericLoad.h"
|
||||||
|
|
||||||
#include "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "Sound.h"
|
|
||||||
#include "PixTone.h"
|
|
||||||
#include "Ending.h"
|
#include "Ending.h"
|
||||||
|
#include "PixTone.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
|
||||||
static const PIXTONEPARAMETER gPtpTable[139] =
|
static const PIXTONEPARAMETER gPtpTable[139] =
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool LoadGenericData();
|
bool LoadGenericData();
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
#include "Types.h"
|
#include "Input.h"
|
||||||
#include "CommonDefines.h"
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Input.h"
|
#include "CommonDefines.h"
|
||||||
#include "Tags.h"
|
#include "Tags.h"
|
||||||
|
#include "Types.h"
|
||||||
|
|
||||||
#define JOYSTICK_DEADZONE 10000
|
#define JOYSTICK_DEADZONE 10000
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
extern bool gbUseJoystick;
|
extern bool gbUseJoystick;
|
||||||
extern int gJoystickButtonTable[8];
|
extern int gJoystickButtonTable[8];
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include "KeyControl.h"
|
#include "KeyControl.h"
|
||||||
|
|
||||||
int gKey;
|
int gKey;
|
||||||
int gKeyTrg;
|
int gKeyTrg;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
enum KEYBIND
|
enum KEYBIND
|
||||||
{
|
{
|
||||||
//The movement keys go in the order of left, right, up and down
|
//The movement keys go in the order of left, right, up and down
|
||||||
|
|
24
src/Main.cpp
24
src/Main.cpp
|
@ -1,25 +1,27 @@
|
||||||
|
#include "Main.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include "Types.h"
|
|
||||||
#include "CommonDefines.h"
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string>
|
#include <string.h>
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
|
#include "CommonDefines.h"
|
||||||
|
#include "Config.h"
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "Input.h"
|
|
||||||
#include "Profile.h"
|
|
||||||
#include "Organya.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
#include "Generic.h"
|
#include "Generic.h"
|
||||||
#include "MyChar.h"
|
#include "Input.h"
|
||||||
#include "Main.h"
|
|
||||||
#include "Config.h"
|
|
||||||
#include "KeyControl.h"
|
#include "KeyControl.h"
|
||||||
#include "Triangle.h"
|
#include "MyChar.h"
|
||||||
|
#include "Organya.h"
|
||||||
|
#include "Profile.h"
|
||||||
#include "Resource.h"
|
#include "Resource.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Triangle.h"
|
||||||
|
#include "Types.h"
|
||||||
|
|
||||||
// These two are defined in Draw.cpp. This is a bit of a hack.
|
// These two are defined in Draw.cpp. This is a bit of a hack.
|
||||||
extern SDL_Window *gWindow;
|
extern SDL_Window *gWindow;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
void PutFramePerSecound();
|
void PutFramePerSecound();
|
||||||
int GetFramePerSecound();
|
int GetFramePerSecound();
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#include "Map.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -6,11 +8,10 @@
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
#include "Map.h"
|
|
||||||
#include "Tags.h"
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "NpChar.h"
|
|
||||||
#include "File.h"
|
#include "File.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Tags.h"
|
||||||
|
|
||||||
#define PXM_BUFFER_SIZE 0x4B000
|
#define PXM_BUFFER_SIZE 0x4B000
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
struct MAP_DATA
|
struct MAP_DATA
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
|
#include "MapName.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
#include "MapName.h"
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
|
|
||||||
MAP_NAME gMapName;
|
MAP_NAME gMapName;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
struct MAP_NAME
|
struct MAP_NAME
|
||||||
{
|
{
|
||||||
int flag;
|
int flag;
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
|
#include "MiniMap.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
#include "MapName.h"
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "Escape.h"
|
#include "Escape.h"
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
#include "KeyControl.h"
|
#include "KeyControl.h"
|
||||||
#include "Map.h"
|
|
||||||
#include "Stage.h"
|
|
||||||
#include "MyChar.h"
|
|
||||||
#include "Main.h"
|
#include "Main.h"
|
||||||
|
#include "Map.h"
|
||||||
|
#include "MapName.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "Stage.h"
|
||||||
|
|
||||||
int8_t gMapping[0x80];
|
int8_t gMapping[0x80];
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
extern int8_t gMapping[0x80];
|
extern int8_t gMapping[0x80];
|
||||||
|
|
|
@ -1,21 +1,22 @@
|
||||||
|
#include "MyChar.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "MyChar.h"
|
|
||||||
#include "MycParam.h"
|
|
||||||
#include "ArmsItem.h"
|
#include "ArmsItem.h"
|
||||||
#include "NpChar.h"
|
#include "Caret.h"
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "Sound.h"
|
|
||||||
#include "ValueView.h"
|
|
||||||
#include "KeyControl.h"
|
|
||||||
#include "TextScr.h"
|
|
||||||
#include "Flags.h"
|
#include "Flags.h"
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
|
#include "KeyControl.h"
|
||||||
|
#include "MycParam.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
#include "Star.h"
|
#include "Star.h"
|
||||||
#include "Caret.h"
|
#include "TextScr.h"
|
||||||
|
#include "ValueView.h"
|
||||||
|
|
||||||
MYCHAR gMC;
|
MYCHAR gMC;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
struct MYCHAR
|
struct MYCHAR
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
|
#include "MycHit.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "MyChar.h"
|
|
||||||
#include "NpChar.h"
|
|
||||||
#include "Map.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Caret.h"
|
|
||||||
#include "Boss.h"
|
|
||||||
#include "Back.h"
|
#include "Back.h"
|
||||||
|
#include "Boss.h"
|
||||||
|
#include "Caret.h"
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
#include "TextScr.h"
|
|
||||||
#include "MycParam.h"
|
|
||||||
#include "KeyControl.h"
|
#include "KeyControl.h"
|
||||||
|
#include "Map.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "MycParam.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "TextScr.h"
|
||||||
|
|
||||||
void ResetMyCharFlag()
|
void ResetMyCharFlag()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
void ResetMyCharFlag();
|
void ResetMyCharFlag();
|
||||||
void HitMyCharMap();
|
void HitMyCharMap();
|
||||||
void HitMyCharNpChar();
|
void HitMyCharNpChar();
|
||||||
|
|
|
@ -1,18 +1,19 @@
|
||||||
|
#include "MycParam.h"
|
||||||
|
|
||||||
#include "SDL.h"
|
#include "SDL.h"
|
||||||
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "MyChar.h"
|
|
||||||
#include "MycParam.h"
|
|
||||||
#include "NpChar.h"
|
|
||||||
#include "CommonDefines.h"
|
|
||||||
#include "Tags.h"
|
|
||||||
#include "ArmsItem.h"
|
#include "ArmsItem.h"
|
||||||
#include "ValueView.h"
|
#include "CommonDefines.h"
|
||||||
#include "TextScr.h"
|
|
||||||
#include "Game.h"
|
|
||||||
#include "Draw.h"
|
|
||||||
#include "Caret.h"
|
#include "Caret.h"
|
||||||
|
#include "Draw.h"
|
||||||
|
#include "Game.h"
|
||||||
#include "File.h"
|
#include "File.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Tags.h"
|
||||||
|
#include "TextScr.h"
|
||||||
|
#include "ValueView.h"
|
||||||
|
|
||||||
ARMS_LEVEL gArmsLevelTable[14] =
|
ARMS_LEVEL gArmsLevelTable[14] =
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
struct ARMS_LEVEL
|
struct ARMS_LEVEL
|
||||||
{
|
{
|
||||||
int exp[3];
|
int exp[3];
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#include "NpChar.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -5,19 +7,18 @@
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "CommonDefines.h"
|
|
||||||
#include "Tags.h"
|
|
||||||
#include "NpChar.h"
|
|
||||||
#include "Caret.h"
|
|
||||||
#include "MyChar.h"
|
|
||||||
#include "Game.h"
|
|
||||||
#include "ArmsItem.h"
|
#include "ArmsItem.h"
|
||||||
#include "Flags.h"
|
#include "CommonDefines.h"
|
||||||
#include "Sound.h"
|
#include "Caret.h"
|
||||||
#include "ValueView.h"
|
|
||||||
#include "NpcTbl.h"
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "File.h"
|
#include "File.h"
|
||||||
|
#include "Flags.h"
|
||||||
|
#include "Game.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "NpcTbl.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Tags.h"
|
||||||
|
#include "ValueView.h"
|
||||||
|
|
||||||
NPCHAR gNPC[NPC_MAX];
|
NPCHAR gNPC[NPC_MAX];
|
||||||
int gCurlyShoot_wait;
|
int gCurlyShoot_wait;
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
|
|
|
@ -1,18 +1,16 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
#include "MyChar.h"
|
#include "WindowsWrapper.h"
|
||||||
#include "NpChar.h"
|
|
||||||
|
#include "Back.h"
|
||||||
|
#include "Caret.h"
|
||||||
|
#include "Frame.h"
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "NpChar.h"
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Frame.h"
|
|
||||||
#include "Back.h"
|
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
#include "Frame.h"
|
|
||||||
#include "Map.h"
|
|
||||||
#include "Caret.h"
|
|
||||||
|
|
||||||
//Null
|
//Null
|
||||||
void ActNpc000(NPCHAR *npc)
|
void ActNpc000(NPCHAR *npc)
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
|
#include "Back.h"
|
||||||
|
#include "Caret.h"
|
||||||
|
#include "Game.h"
|
||||||
|
#include "Frame.h"
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Back.h"
|
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
#include "Caret.h"
|
|
||||||
#include "Frame.h"
|
|
||||||
|
|
||||||
//Computer
|
//Computer
|
||||||
void ActNpc020(NPCHAR *npc)
|
void ActNpc020(NPCHAR *npc)
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
|
#include "Back.h"
|
||||||
|
#include "Caret.h"
|
||||||
|
#include "CommonDefines.h"
|
||||||
|
#include "Game.h"
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Game.h"
|
|
||||||
#include "Caret.h"
|
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Back.h"
|
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
#include "CommonDefines.h"
|
|
||||||
|
|
||||||
//Santa
|
//Santa
|
||||||
void ActNpc040(NPCHAR *npc)
|
void ActNpc040(NPCHAR *npc)
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
#include "MyChar.h"
|
#include "WindowsWrapper.h"
|
||||||
#include "NpChar.h"
|
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Back.h"
|
#include "Back.h"
|
||||||
#include "Triangle.h"
|
|
||||||
#include "Map.h"
|
|
||||||
#include "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
#include "Frame.h"
|
|
||||||
#include "MycParam.h"
|
|
||||||
#include "Flash.h"
|
#include "Flash.h"
|
||||||
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
|
#include "Map.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "MycParam.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Triangle.h"
|
||||||
|
|
||||||
//Toroko
|
//Toroko
|
||||||
void ActNpc060(NPCHAR *npc)
|
void ActNpc060(NPCHAR *npc)
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
#include "MyChar.h"
|
#include "WindowsWrapper.h"
|
||||||
#include "NpChar.h"
|
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Back.h"
|
#include "Back.h"
|
||||||
#include "Triangle.h"
|
|
||||||
#include "Caret.h"
|
#include "Caret.h"
|
||||||
|
#include "CommonDefines.h"
|
||||||
#include "Flash.h"
|
#include "Flash.h"
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
#include "CommonDefines.h"
|
#include "Game.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Triangle.h"
|
||||||
|
|
||||||
//Gravekeeper
|
//Gravekeeper
|
||||||
void ActNpc080(NPCHAR *npc)
|
void ActNpc080(NPCHAR *npc)
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
|
#include "Back.h"
|
||||||
|
#include "Bullet.h"
|
||||||
|
#include "Caret.h"
|
||||||
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Back.h"
|
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
#include "Frame.h"
|
|
||||||
#include "Caret.h"
|
|
||||||
#include "Bullet.h"
|
|
||||||
|
|
||||||
//Grate
|
//Grate
|
||||||
void ActNpc100(NPCHAR *npc)
|
void ActNpc100(NPCHAR *npc)
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
|
#include "Back.h"
|
||||||
|
#include "Bullet.h"
|
||||||
|
#include "Caret.h"
|
||||||
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
|
#include "KeyControl.h"
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Back.h"
|
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
#include "Caret.h"
|
|
||||||
#include "KeyControl.h"
|
|
||||||
#include "Frame.h"
|
|
||||||
#include "Bullet.h"
|
|
||||||
|
|
||||||
//Colon (1)
|
//Colon (1)
|
||||||
void ActNpc120(NPCHAR *npc)
|
void ActNpc120(NPCHAR *npc)
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
#include "MyChar.h"
|
#include "WindowsWrapper.h"
|
||||||
#include "NpChar.h"
|
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Back.h"
|
#include "Back.h"
|
||||||
#include "Triangle.h"
|
#include "Bullet.h"
|
||||||
#include "Caret.h"
|
#include "Caret.h"
|
||||||
|
#include "CommonDefines.h"
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
#include "Flash.h"
|
#include "Flash.h"
|
||||||
#include "Bullet.h"
|
#include "Game.h"
|
||||||
#include "CommonDefines.h"
|
#include "MyChar.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Triangle.h"
|
||||||
|
|
||||||
//Toroko (frenzied)
|
//Toroko (frenzied)
|
||||||
void ActNpc140(NPCHAR *npc)
|
void ActNpc140(NPCHAR *npc)
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
#include "MyChar.h"
|
#include "WindowsWrapper.h"
|
||||||
#include "NpChar.h"
|
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Back.h"
|
#include "Back.h"
|
||||||
#include "Triangle.h"
|
|
||||||
#include "Frame.h"
|
|
||||||
#include "Caret.h"
|
#include "Caret.h"
|
||||||
#include "MycParam.h"
|
|
||||||
#include "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "MycParam.h"
|
||||||
|
#include "NpChar.h"
|
||||||
#include "NpcHit.h"
|
#include "NpcHit.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Triangle.h"
|
||||||
|
|
||||||
//Puu Black
|
//Puu Black
|
||||||
void ActNpc160(NPCHAR *npc)
|
void ActNpc160(NPCHAR *npc)
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
|
#include "Back.h"
|
||||||
|
#include "Bullet.h"
|
||||||
|
#include "Caret.h"
|
||||||
|
#include "Flags.h"
|
||||||
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Back.h"
|
|
||||||
#include "Triangle.h"
|
|
||||||
#include "Caret.h"
|
|
||||||
#include "Frame.h"
|
|
||||||
#include "Bullet.h"
|
|
||||||
#include "Flags.h"
|
|
||||||
#include "NpcHit.h"
|
#include "NpcHit.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Triangle.h"
|
||||||
|
|
||||||
//Curly AI
|
//Curly AI
|
||||||
void ActNpc180(NPCHAR *npc)
|
void ActNpc180(NPCHAR *npc)
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
#include "MyChar.h"
|
#include "WindowsWrapper.h"
|
||||||
#include "NpChar.h"
|
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Back.h"
|
#include "Back.h"
|
||||||
#include "Triangle.h"
|
|
||||||
#include "Bullet.h"
|
#include "Bullet.h"
|
||||||
#include "Caret.h"
|
#include "Caret.h"
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Triangle.h"
|
||||||
|
|
||||||
//Dragon Zombie
|
//Dragon Zombie
|
||||||
void ActNpc200(NPCHAR *npc)
|
void ActNpc200(NPCHAR *npc)
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
#include "MyChar.h"
|
#include "WindowsWrapper.h"
|
||||||
#include "NpChar.h"
|
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Back.h"
|
#include "Back.h"
|
||||||
#include "Triangle.h"
|
|
||||||
#include "Bullet.h"
|
#include "Bullet.h"
|
||||||
#include "Caret.h"
|
#include "Caret.h"
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Triangle.h"
|
||||||
|
|
||||||
//Shovel Brigade
|
//Shovel Brigade
|
||||||
void ActNpc220(NPCHAR *npc)
|
void ActNpc220(NPCHAR *npc)
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
#include "MyChar.h"
|
#include "WindowsWrapper.h"
|
||||||
#include "NpChar.h"
|
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Back.h"
|
#include "Back.h"
|
||||||
#include "Triangle.h"
|
|
||||||
#include "Caret.h"
|
#include "Caret.h"
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Triangle.h"
|
||||||
|
|
||||||
//Mimiga (jailed)
|
//Mimiga (jailed)
|
||||||
void ActNpc240(NPCHAR *npc)
|
void ActNpc240(NPCHAR *npc)
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
#include "MyChar.h"
|
#include "WindowsWrapper.h"
|
||||||
#include "NpChar.h"
|
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Back.h"
|
#include "Back.h"
|
||||||
#include "Triangle.h"
|
|
||||||
#include "Caret.h"
|
#include "Caret.h"
|
||||||
#include "Map.h"
|
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
|
#include "Map.h"
|
||||||
|
#include "MyChar.h"
|
||||||
#include "MycParam.h"
|
#include "MycParam.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "Triangle.h"
|
||||||
|
|
||||||
//Shovel Brigade (caged)
|
//Shovel Brigade (caged)
|
||||||
void ActNpc260(NPCHAR *npc)
|
void ActNpc260(NPCHAR *npc)
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
|
#include "Back.h"
|
||||||
|
#include "Boss.h"
|
||||||
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
|
#include "Map.h"
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Back.h"
|
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
#include "Frame.h"
|
|
||||||
#include "Map.h"
|
|
||||||
#include "Boss.h"
|
|
||||||
|
|
||||||
//Sue (being teleported by Misery)
|
//Sue (being teleported by Misery)
|
||||||
void ActNpc280(NPCHAR *npc)
|
void ActNpc280(NPCHAR *npc)
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
|
#include "Back.h"
|
||||||
|
#include "Boss.h"
|
||||||
|
#include "Bullet.h"
|
||||||
|
#include "Caret.h"
|
||||||
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
|
#include "Map.h"
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Back.h"
|
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
#include "Caret.h"
|
|
||||||
#include "Boss.h"
|
|
||||||
#include "Frame.h"
|
|
||||||
#include "Map.h"
|
|
||||||
#include "Bullet.h"
|
|
||||||
|
|
||||||
//Demon crown (opening)
|
//Demon crown (opening)
|
||||||
void ActNpc300(NPCHAR *npc)
|
void ActNpc300(NPCHAR *npc)
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
|
#include "Back.h"
|
||||||
|
#include "Bullet.h"
|
||||||
|
#include "Caret.h"
|
||||||
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
|
#include "KeyControl.h"
|
||||||
|
#include "Map.h"
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Back.h"
|
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
#include "Frame.h"
|
|
||||||
#include "Map.h"
|
|
||||||
#include "Caret.h"
|
|
||||||
#include "Bullet.h"
|
|
||||||
#include "KeyControl.h"
|
|
||||||
|
|
||||||
//Curly (carried, shooting)
|
//Curly (carried, shooting)
|
||||||
void ActNpc320(NPCHAR *npc)
|
void ActNpc320(NPCHAR *npc)
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
#include "WindowsWrapper.h"
|
|
||||||
|
|
||||||
#include "NpcAct.h"
|
#include "NpcAct.h"
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
|
#include "Back.h"
|
||||||
|
#include "Caret.h"
|
||||||
#include "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
|
#include "Flash.h"
|
||||||
|
#include "Flags.h"
|
||||||
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
|
#include "Map.h"
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Game.h"
|
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "Back.h"
|
|
||||||
#include "Triangle.h"
|
#include "Triangle.h"
|
||||||
#include "Flags.h"
|
|
||||||
#include "Map.h"
|
|
||||||
#include "Caret.h"
|
|
||||||
#include "Frame.h"
|
|
||||||
#include "Flash.h"
|
|
||||||
|
|
||||||
//Ballos
|
//Ballos
|
||||||
void ActNpc340(NPCHAR *npc)
|
void ActNpc340(NPCHAR *npc)
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
#include "NpChar.h"
|
#include "NpcHit.h"
|
||||||
#include "ValueView.h"
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Flags.h"
|
|
||||||
#include "Caret.h"
|
|
||||||
#include "Game.h"
|
|
||||||
#include "Back.h"
|
#include "Back.h"
|
||||||
#include "Bullet.h"
|
#include "Bullet.h"
|
||||||
#include "MyChar.h"
|
#include "Caret.h"
|
||||||
#include "TextScr.h"
|
#include "Flags.h"
|
||||||
|
#include "Game.h"
|
||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
#include "TextScr.h"
|
||||||
|
#include "ValueView.h"
|
||||||
|
|
||||||
void JadgeHitNpCharBlock(NPCHAR *npc, int x, int y)
|
void JadgeHitNpCharBlock(NPCHAR *npc, int x, int y)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
|
|
||||||
void JadgeHitNpCharBlock(NPCHAR *npc, int x, int y);
|
void JadgeHitNpCharBlock(NPCHAR *npc, int x, int y);
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
|
#include "NpcTbl.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "NpcTbl.h"
|
|
||||||
#include "NpcAct.h"
|
|
||||||
#include "File.h"
|
#include "File.h"
|
||||||
#include "Generic.h"
|
#include "Generic.h"
|
||||||
|
#include "NpcAct.h"
|
||||||
|
|
||||||
NPC_TABLE *gNpcTable;
|
NPC_TABLE *gNpcTable;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "NpChar.h"
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
|
#include "NpChar.h"
|
||||||
|
|
||||||
struct NPC_TBL_RECT
|
struct NPC_TBL_RECT
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,16 +1,18 @@
|
||||||
|
#include "Organya.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include <SDL_rwops.h>
|
#include <SDL_rwops.h>
|
||||||
#include <SDL_thread.h>
|
#include <SDL_thread.h>
|
||||||
#include <SDL_timer.h>
|
#include <SDL_timer.h>
|
||||||
#include <SDL_events.h>
|
#include <SDL_events.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
#include "Tags.h"
|
|
||||||
#include "Organya.h"
|
|
||||||
#include "Resource.h"
|
#include "Resource.h"
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
|
#include "Tags.h"
|
||||||
|
|
||||||
#define PANDUMMY 0xFF
|
#define PANDUMMY 0xFF
|
||||||
#define VOLDUMMY 0xFF
|
#define VOLDUMMY 0xFF
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
//Below are Organya song data structures
|
//Below are Organya song data structures
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#include "Profile.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -5,23 +7,22 @@
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "CommonDefines.h"
|
|
||||||
#include "Tags.h"
|
|
||||||
#include "Profile.h"
|
|
||||||
#include "Fade.h"
|
|
||||||
#include "ArmsItem.h"
|
#include "ArmsItem.h"
|
||||||
|
#include "BossLife.h"
|
||||||
|
#include "CommonDefines.h"
|
||||||
|
#include "Fade.h"
|
||||||
|
#include "File.h"
|
||||||
#include "Flags.h"
|
#include "Flags.h"
|
||||||
|
#include "Frame.h"
|
||||||
|
#include "Game.h"
|
||||||
#include "MiniMap.h"
|
#include "MiniMap.h"
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "Star.h"
|
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "Frame.h"
|
|
||||||
#include "SelStage.h"
|
#include "SelStage.h"
|
||||||
#include "ValueView.h"
|
|
||||||
#include "Stage.h"
|
#include "Stage.h"
|
||||||
#include "Game.h"
|
#include "Star.h"
|
||||||
#include "BossLife.h"
|
#include "Tags.h"
|
||||||
#include "File.h"
|
#include "ValueView.h"
|
||||||
|
|
||||||
const char *gDefaultName = "Profile.dat";
|
const char *gDefaultName = "Profile.dat";
|
||||||
const char *gProfileCode = "Do041220";
|
const char *gProfileCode = "Do041220";
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "ArmsItem.h"
|
#include "ArmsItem.h"
|
||||||
#include "SelStage.h"
|
#include "SelStage.h"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
|
#include "Resource.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include <SDL_rwops.h>
|
#include <SDL_rwops.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Resource/ORG/ACCESS.org.h"
|
#include "Resource/ORG/ACCESS.org.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL_rwops.h>
|
#include <SDL_rwops.h>
|
||||||
|
|
||||||
SDL_RWops* FindResource(const char *name);
|
SDL_RWops* FindResource(const char *name);
|
||||||
|
|
|
@ -2,13 +2,14 @@
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "Draw.h"
|
#include "Draw.h"
|
||||||
#include "Escape.h"
|
#include "Escape.h"
|
||||||
#include "KeyControl.h"
|
#include "KeyControl.h"
|
||||||
#include "Main.h"
|
#include "Main.h"
|
||||||
#include "TextScr.h"
|
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
#include "WindowsWrapper.h"
|
#include "TextScr.h"
|
||||||
|
|
||||||
PERMIT_STAGE gPermitStage[8];
|
PERMIT_STAGE gPermitStage[8];
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
struct PERMIT_STAGE
|
struct PERMIT_STAGE
|
||||||
{
|
{
|
||||||
int index;
|
int index;
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
#include "ArmsItem.h"
|
|
||||||
#include "MycParam.h"
|
|
||||||
#include "Shoot.h"
|
#include "Shoot.h"
|
||||||
#include "Caret.h"
|
|
||||||
|
#include "ArmsItem.h"
|
||||||
#include "Bullet.h"
|
#include "Bullet.h"
|
||||||
#include "Sound.h"
|
#include "Caret.h"
|
||||||
#include "MyChar.h"
|
|
||||||
#include "KeyControl.h"
|
#include "KeyControl.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
#include "MycParam.h"
|
||||||
|
#include "Sound.h"
|
||||||
|
|
||||||
int empty;
|
int empty;
|
||||||
int spur_charge;
|
int spur_charge;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
void ResetSpurCharge(void);
|
void ResetSpurCharge(void);
|
||||||
void ShootBullet();
|
void ShootBullet();
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
#include <string>
|
#include "Sound.h"
|
||||||
#include <math.h>
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <math.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
|
||||||
#include "Sound.h"
|
|
||||||
#include "Organya.h"
|
#include "Organya.h"
|
||||||
#include "PixTone.h"
|
#include "PixTone.h"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,27 @@
|
||||||
|
#include "Stage.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
|
#include "Back.h"
|
||||||
|
#include "Boss.h"
|
||||||
|
#include "Bullet.h"
|
||||||
|
#include "Caret.h"
|
||||||
#include "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
|
#include "Draw.h"
|
||||||
|
#include "Flash.h"
|
||||||
|
#include "Frame.h"
|
||||||
#include "Map.h"
|
#include "Map.h"
|
||||||
#include "MapName.h"
|
#include "MapName.h"
|
||||||
#include "MyChar.h"
|
#include "MyChar.h"
|
||||||
#include "Bullet.h"
|
|
||||||
#include "Boss.h"
|
|
||||||
#include "Draw.h"
|
|
||||||
#include "Tags.h"
|
|
||||||
#include "Frame.h"
|
|
||||||
#include "Caret.h"
|
|
||||||
#include "NpChar.h"
|
#include "NpChar.h"
|
||||||
#include "TextScr.h"
|
|
||||||
#include "Organya.h"
|
#include "Organya.h"
|
||||||
|
#include "Tags.h"
|
||||||
|
#include "TextScr.h"
|
||||||
#include "ValueView.h"
|
#include "ValueView.h"
|
||||||
#include "Back.h"
|
|
||||||
#include "Stage.h"
|
|
||||||
#include "Flash.h"
|
|
||||||
|
|
||||||
#ifdef JAPANESE
|
#ifdef JAPANESE
|
||||||
#define STAGE_ENTRY(parts, map, bkType, back, npc, boss, boss_no, name_en, name_jp) {parts, map, bkType, back, npc, boss, boss_no, name_jp}
|
#define STAGE_ENTRY(parts, map, bkType, back, npc, boss, boss_no, name_en, name_jp) {parts, map, bkType, back, npc, boss, boss_no, name_jp}
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
|
#include "Star.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "WindowsWrapper.h"
|
#include "WindowsWrapper.h"
|
||||||
|
|
||||||
#include "MyChar.h"
|
|
||||||
#include "Draw.h"
|
|
||||||
#include "Bullet.h"
|
#include "Bullet.h"
|
||||||
|
#include "Draw.h"
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
|
#include "MyChar.h"
|
||||||
|
|
||||||
static struct
|
static struct
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
void InitStar();
|
void InitStar();
|
||||||
void ActStar();
|
void ActStar();
|
||||||
void PutStar(int fx, int fy);
|
void PutStar(int fx, int fy);
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue