Merge branch 'accurate' into portable

This commit is contained in:
Clownacy 2019-09-04 14:11:54 +00:00
commit 2b4b57c6eb
5 changed files with 12 additions and 10 deletions

View file

@ -8,15 +8,19 @@ ASSETS_DIRECTORY = assets
# Default options
RENDERER ?= Texture
ifeq ($(WINDOWS), 1)
EXE_EXTENSION = .exe
endif
ifeq ($(RELEASE), 1)
CXXFLAGS = -O3
LDFLAGS = -s
FILENAME_DEF = CSE2
DOCONFIG_FILENAME_DEF = DoConfig
FILENAME_DEF = CSE2$(EXE_EXTENSION)
DOCONFIG_FILENAME_DEF = DoConfig$(EXE_EXTENSION)
else
CXXFLAGS = -Og -ggdb3
FILENAME_DEF = CSE2_debug
DOCONFIG_FILENAME_DEF = DoConfig_debug
FILENAME_DEF = CSE2_debug$(EXE_EXTENSION)
DOCONFIG_FILENAME_DEF = DoConfig_debug$(EXE_EXTENSION)
endif
ifeq ($(JAPANESE), 1)

View file

@ -13,6 +13,7 @@
#include "Ending.h"
#include "Generic.h"
#include "MapName.h"
#include "Main.h"
#include "Resource.h"
#include "Tags.h"
#include "TextScr.h"

View file

@ -6,3 +6,5 @@ extern BOOL bFullscreen;
void PutFramePerSecound(void);
unsigned long GetFramePerSecound(void);
BOOL SystemTask(void);

View file

@ -617,14 +617,13 @@ BOOL OrgData::InitMusicData(const char *path)
// データを有効に (Enable data)
for (j = 0; j < MAXMELODY; j++)
MakeOrganyaWave(j,info.tdata[j].wave_no, info.tdata[j].pipi);
#ifndef FIX_BUGS
// Pixel ripped out some code so he could use PixTone sounds as drums, but he left this dead code
for (j = MAXMELODY; j < MAXTRACK; j++)
{
i = info.tdata[j].wave_no;
//InitDramObject(dram_name[i], j - MAXMELODY);
}
#endif
SetPlayPointer(0); // 頭出し (Cue)

View file

@ -26,8 +26,4 @@ struct RECT
rect.right = r; \
rect.bottom = b;
#ifndef MAX_PATH
#define MAX_PATH FILENAME_MAX
#endif
BOOL SystemTask();