Merge pull request #6 from Clownacy/master
Merge Clownacy/master into master
10
.gitattributes
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# Automatically normalize line endings.
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# MSVC files have to be CRLF
|
||||||
|
*.vcproj text eol=crlf
|
||||||
|
*.sln text eol=crlf
|
||||||
|
|
||||||
|
# Do not change external files
|
||||||
|
external/** -text
|
||||||
|
DoConfig/fltk/** -text
|
122
CMakeLists.txt
|
@ -160,78 +160,78 @@ add_executable(CSE2
|
||||||
)
|
)
|
||||||
|
|
||||||
set(RESOURCES
|
set(RESOURCES
|
||||||
BITMAP/CREDIT01.bmp
|
BITMAP/Credit01.bmp
|
||||||
BITMAP/CREDIT02.bmp
|
BITMAP/Credit02.bmp
|
||||||
BITMAP/CREDIT03.bmp
|
BITMAP/Credit03.bmp
|
||||||
BITMAP/CREDIT04.bmp
|
BITMAP/Credit04.bmp
|
||||||
BITMAP/CREDIT05.bmp
|
BITMAP/Credit05.bmp
|
||||||
BITMAP/CREDIT06.bmp
|
BITMAP/Credit06.bmp
|
||||||
BITMAP/CREDIT07.bmp
|
BITMAP/Credit07.bmp
|
||||||
BITMAP/CREDIT08.bmp
|
BITMAP/Credit08.bmp
|
||||||
BITMAP/CREDIT09.bmp
|
BITMAP/Credit09.bmp
|
||||||
BITMAP/CREDIT10.bmp
|
BITMAP/Credit10.bmp
|
||||||
BITMAP/CREDIT11.bmp
|
BITMAP/Credit11.bmp
|
||||||
BITMAP/CREDIT12.bmp
|
BITMAP/Credit12.bmp
|
||||||
BITMAP/CREDIT14.bmp
|
BITMAP/Credit14.bmp
|
||||||
BITMAP/CREDIT15.bmp
|
BITMAP/Credit15.bmp
|
||||||
BITMAP/CREDIT16.bmp
|
BITMAP/Credit16.bmp
|
||||||
BITMAP/CREDIT17.bmp
|
BITMAP/Credit17.bmp
|
||||||
BITMAP/CREDIT18.bmp
|
BITMAP/Credit18.bmp
|
||||||
CURSOR/CURSOR_IKA.bmp
|
CURSOR/CURSOR_IKA.bmp
|
||||||
CURSOR/CURSOR_NORMAL.bmp
|
CURSOR/CURSOR_NORMAL.bmp
|
||||||
ORG/ACCESS.org
|
ORG/Access.org
|
||||||
ORG/ANZEN.org
|
ORG/Anzen.org
|
||||||
ORG/BALCONY.org
|
ORG/Balcony.org
|
||||||
ORG/BALLOS.org
|
ORG/Ballos.org
|
||||||
ORG/BDOWN.org
|
ORG/BreakDown.org
|
||||||
ORG/CEMETERY.org
|
ORG/Cemetery.org
|
||||||
ORG/CURLY.org
|
ORG/Curly.org
|
||||||
ORG/DR.org
|
ORG/Dr.org
|
||||||
ORG/ENDING.org
|
ORG/Ending.org
|
||||||
ORG/ESCAPE.org
|
ORG/Escape.org
|
||||||
ORG/FANFALE1.org
|
ORG/Fanfale1.org
|
||||||
ORG/FANFALE2.org
|
ORG/Fanfale2.org
|
||||||
ORG/FANFALE3.org
|
ORG/Fanfale3.org
|
||||||
ORG/FIREEYE.org
|
ORG/FireEye.org
|
||||||
ORG/GAMEOVER.org
|
ORG/Gameover.org
|
||||||
ORG/GINSUKE.org
|
ORG/Ginsuke.org
|
||||||
ORG/GRAND.org
|
ORG/Grand.org
|
||||||
ORG/GRAVITY.org
|
ORG/Gravity.org
|
||||||
ORG/HELL.org
|
ORG/Hell.org
|
||||||
ORG/IRONH.org
|
ORG/ironH.org
|
||||||
ORG/JENKA.org
|
ORG/Jenka.org
|
||||||
ORG/JENKA2.org
|
ORG/Jenka2.org
|
||||||
ORG/KODOU.org
|
ORG/Kodou.org
|
||||||
ORG/LASTBT3.org
|
ORG/LastBtl3.org
|
||||||
ORG/LASTBTL.org
|
ORG/LastBtl.org
|
||||||
ORG/LASTCAVE.org
|
ORG/LastCave.org
|
||||||
ORG/MARINE.org
|
ORG/Marine.org
|
||||||
ORG/MAZE.org
|
ORG/Maze.org
|
||||||
ORG/MDOWN2.org
|
ORG/MDown2.org
|
||||||
ORG/MURA.org
|
ORG/Mura.org
|
||||||
ORG/OSIDE.org
|
ORG/Oside.org
|
||||||
ORG/PLANT.org
|
ORG/Plant.org
|
||||||
ORG/QUIET.org
|
ORG/quiet.org
|
||||||
ORG/REQUIEM.org
|
ORG/Requiem.org
|
||||||
ORG/TOROKO.org
|
ORG/Toroko.org
|
||||||
ORG/VIVI.org
|
ORG/Vivi.org
|
||||||
ORG/WANPAK2.org
|
ORG/Wanpak2.org
|
||||||
ORG/WANPAKU.org
|
ORG/Wanpaku.org
|
||||||
ORG/WEED.org
|
ORG/Weed.org
|
||||||
ORG/WHITE.org
|
ORG/White.org
|
||||||
ORG/XXXX.org
|
ORG/XXXX.org
|
||||||
ORG/ZONBIE.org
|
ORG/Zonbie.org
|
||||||
WAVE/WAVE100
|
WAVE/Wave.dat
|
||||||
)
|
)
|
||||||
|
|
||||||
# Handle options
|
# Handle options
|
||||||
if(JAPANESE)
|
if(JAPANESE)
|
||||||
set(BUILD_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/build_jp")
|
set(BUILD_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/build_jp")
|
||||||
list(APPEND RESOURCES "BITMAP/PIXEL_JP.bmp")
|
list(APPEND RESOURCES "BITMAP/pixel_jp.bmp")
|
||||||
target_compile_definitions(CSE2 PRIVATE JAPANESE)
|
target_compile_definitions(CSE2 PRIVATE JAPANESE)
|
||||||
else()
|
else()
|
||||||
set(BUILD_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/build_en")
|
set(BUILD_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/build_en")
|
||||||
list(APPEND RESOURCES "BITMAP/PIXEL.bmp")
|
list(APPEND RESOURCES "BITMAP/pixel.bmp")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(FIX_BUGS)
|
if(FIX_BUGS)
|
||||||
|
|
486
Makefile
|
@ -1,243 +1,243 @@
|
||||||
ifeq ($(RELEASE), 1)
|
ifeq ($(RELEASE), 1)
|
||||||
CXXFLAGS = -O3 -flto
|
CXXFLAGS = -O3 -flto
|
||||||
LDFLAGS = -s
|
LDFLAGS = -s
|
||||||
FILENAME_DEF = release
|
FILENAME_DEF = release
|
||||||
else
|
else
|
||||||
CXXFLAGS = -O0 -g
|
CXXFLAGS = -O0 -g
|
||||||
FILENAME_DEF = debug
|
FILENAME_DEF = debug
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(JAPANESE), 1)
|
ifeq ($(JAPANESE), 1)
|
||||||
BUILD_DIR = build_jp
|
BUILD_DIR = build_jp
|
||||||
|
|
||||||
CXXFLAGS += -DJAPANESE
|
CXXFLAGS += -DJAPANESE
|
||||||
|
|
||||||
ifeq ($(RELEASE), 1)
|
ifeq ($(RELEASE), 1)
|
||||||
FILENAME_DEF = releasejp
|
FILENAME_DEF = releasejp
|
||||||
else
|
else
|
||||||
FILENAME_DEF = debugjp
|
FILENAME_DEF = debugjp
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
BUILD_DIR = build_en
|
BUILD_DIR = build_en
|
||||||
endif
|
endif
|
||||||
|
|
||||||
FILENAME ?= $(FILENAME_DEF)
|
FILENAME ?= $(FILENAME_DEF)
|
||||||
|
|
||||||
ifeq ($(FIX_BUGS), 1)
|
ifeq ($(FIX_BUGS), 1)
|
||||||
CXXFLAGS += -DFIX_BUGS
|
CXXFLAGS += -DFIX_BUGS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(WINDOWS), 1)
|
ifeq ($(WINDOWS), 1)
|
||||||
ifeq ($(CONSOLE), 1)
|
ifeq ($(CONSOLE), 1)
|
||||||
CXXFLAGS += -mconsole
|
CXXFLAGS += -mconsole
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CXXFLAGS += -DWINDOWS
|
CXXFLAGS += -DWINDOWS
|
||||||
LIBS += -lkernel32
|
LIBS += -lkernel32
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(RASPBERRY_PI), 1)
|
ifeq ($(RASPBERRY_PI), 1)
|
||||||
CXXFLAGS += -DRASPBERRY_PI
|
CXXFLAGS += -DRASPBERRY_PI
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CXXFLAGS += -std=c++98 `pkg-config sdl2 --cflags` `pkg-config freetype2 --cflags` -MMD -MP -MF $@.d
|
CXXFLAGS += -std=c++98 `pkg-config sdl2 --cflags` `pkg-config freetype2 --cflags` -MMD -MP -MF $@.d
|
||||||
|
|
||||||
ifeq ($(STATIC), 1)
|
ifeq ($(STATIC), 1)
|
||||||
LDFLAGS += -static
|
LDFLAGS += -static
|
||||||
LIBS += `pkg-config sdl2 --libs --static` `pkg-config freetype2 --libs --static` -lfreetype
|
LIBS += `pkg-config sdl2 --libs --static` `pkg-config freetype2 --libs --static` -lfreetype
|
||||||
else
|
else
|
||||||
LIBS += `pkg-config sdl2 --libs` `pkg-config freetype2 --libs`
|
LIBS += `pkg-config sdl2 --libs` `pkg-config freetype2 --libs`
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# For an accurate result to the original's code, compile in alphabetical order
|
# For an accurate result to the original's code, compile in alphabetical order
|
||||||
SOURCES = \
|
SOURCES = \
|
||||||
ArmsItem \
|
ArmsItem \
|
||||||
Back \
|
Back \
|
||||||
Boss \
|
Boss \
|
||||||
BossAlmo1 \
|
BossAlmo1 \
|
||||||
BossAlmo2 \
|
BossAlmo2 \
|
||||||
BossBallos \
|
BossBallos \
|
||||||
BossFrog \
|
BossFrog \
|
||||||
BossIronH \
|
BossIronH \
|
||||||
BossLife \
|
BossLife \
|
||||||
BossOhm \
|
BossOhm \
|
||||||
BossPress \
|
BossPress \
|
||||||
BossTwinD \
|
BossTwinD \
|
||||||
BossX \
|
BossX \
|
||||||
BulHit \
|
BulHit \
|
||||||
Bullet \
|
Bullet \
|
||||||
Caret \
|
Caret \
|
||||||
Config \
|
Config \
|
||||||
Draw \
|
Draw \
|
||||||
Ending \
|
Ending \
|
||||||
Escape \
|
Escape \
|
||||||
Fade \
|
Fade \
|
||||||
File \
|
File \
|
||||||
Flags \
|
Flags \
|
||||||
Flash \
|
Flash \
|
||||||
Font \
|
Font \
|
||||||
Frame \
|
Frame \
|
||||||
Game \
|
Game \
|
||||||
Generic \
|
Generic \
|
||||||
GenericLoad \
|
GenericLoad \
|
||||||
Input \
|
Input \
|
||||||
KeyControl \
|
KeyControl \
|
||||||
Main \
|
Main \
|
||||||
Map \
|
Map \
|
||||||
MapName \
|
MapName \
|
||||||
MiniMap \
|
MiniMap \
|
||||||
MyChar \
|
MyChar \
|
||||||
MycHit \
|
MycHit \
|
||||||
MycParam \
|
MycParam \
|
||||||
NpcAct000 \
|
NpcAct000 \
|
||||||
NpcAct020 \
|
NpcAct020 \
|
||||||
NpcAct040 \
|
NpcAct040 \
|
||||||
NpcAct060 \
|
NpcAct060 \
|
||||||
NpcAct080 \
|
NpcAct080 \
|
||||||
NpcAct100 \
|
NpcAct100 \
|
||||||
NpcAct120 \
|
NpcAct120 \
|
||||||
NpcAct140 \
|
NpcAct140 \
|
||||||
NpcAct160 \
|
NpcAct160 \
|
||||||
NpcAct180 \
|
NpcAct180 \
|
||||||
NpcAct200 \
|
NpcAct200 \
|
||||||
NpcAct220 \
|
NpcAct220 \
|
||||||
NpcAct240 \
|
NpcAct240 \
|
||||||
NpcAct260 \
|
NpcAct260 \
|
||||||
NpcAct280 \
|
NpcAct280 \
|
||||||
NpcAct300 \
|
NpcAct300 \
|
||||||
NpcAct320 \
|
NpcAct320 \
|
||||||
NpcAct340 \
|
NpcAct340 \
|
||||||
NpChar \
|
NpChar \
|
||||||
NpcHit \
|
NpcHit \
|
||||||
NpcTbl \
|
NpcTbl \
|
||||||
Organya \
|
Organya \
|
||||||
PixTone \
|
PixTone \
|
||||||
Profile \
|
Profile \
|
||||||
Resource \
|
Resource \
|
||||||
SelStage \
|
SelStage \
|
||||||
Shoot \
|
Shoot \
|
||||||
Sound \
|
Sound \
|
||||||
Stage \
|
Stage \
|
||||||
Star \
|
Star \
|
||||||
TextScr \
|
TextScr \
|
||||||
Triangle \
|
Triangle \
|
||||||
ValueView
|
ValueView
|
||||||
|
|
||||||
RESOURCES = \
|
RESOURCES = \
|
||||||
BITMAP/CREDIT01.bmp \
|
BITMAP/Credit01.bmp \
|
||||||
BITMAP/CREDIT02.bmp \
|
BITMAP/Credit02.bmp \
|
||||||
BITMAP/CREDIT03.bmp \
|
BITMAP/Credit03.bmp \
|
||||||
BITMAP/CREDIT04.bmp \
|
BITMAP/Credit04.bmp \
|
||||||
BITMAP/CREDIT05.bmp \
|
BITMAP/Credit05.bmp \
|
||||||
BITMAP/CREDIT06.bmp \
|
BITMAP/Credit06.bmp \
|
||||||
BITMAP/CREDIT07.bmp \
|
BITMAP/Credit07.bmp \
|
||||||
BITMAP/CREDIT08.bmp \
|
BITMAP/Credit08.bmp \
|
||||||
BITMAP/CREDIT09.bmp \
|
BITMAP/Credit09.bmp \
|
||||||
BITMAP/CREDIT10.bmp \
|
BITMAP/Credit10.bmp \
|
||||||
BITMAP/CREDIT11.bmp \
|
BITMAP/Credit11.bmp \
|
||||||
BITMAP/CREDIT12.bmp \
|
BITMAP/Credit12.bmp \
|
||||||
BITMAP/CREDIT14.bmp \
|
BITMAP/Credit14.bmp \
|
||||||
BITMAP/CREDIT15.bmp \
|
BITMAP/Credit15.bmp \
|
||||||
BITMAP/CREDIT16.bmp \
|
BITMAP/Credit16.bmp \
|
||||||
BITMAP/CREDIT17.bmp \
|
BITMAP/Credit17.bmp \
|
||||||
BITMAP/CREDIT18.bmp \
|
BITMAP/Credit18.bmp \
|
||||||
CURSOR/CURSOR_IKA.bmp \
|
CURSOR/CURSOR_IKA.bmp \
|
||||||
CURSOR/CURSOR_NORMAL.bmp \
|
CURSOR/CURSOR_NORMAL.bmp \
|
||||||
ORG/ACCESS.org \
|
ORG/Access.org \
|
||||||
ORG/ANZEN.org \
|
ORG/Anzen.org \
|
||||||
ORG/BALCONY.org \
|
ORG/Balcony.org \
|
||||||
ORG/BALLOS.org \
|
ORG/Ballos.org \
|
||||||
ORG/BDOWN.org \
|
ORG/BreakDown.org \
|
||||||
ORG/CEMETERY.org \
|
ORG/Cemetery.org \
|
||||||
ORG/CURLY.org \
|
ORG/Curly.org \
|
||||||
ORG/DR.org \
|
ORG/Dr.org \
|
||||||
ORG/ENDING.org \
|
ORG/Ending.org \
|
||||||
ORG/ESCAPE.org \
|
ORG/Escape.org \
|
||||||
ORG/FANFALE1.org \
|
ORG/Fanfale1.org \
|
||||||
ORG/FANFALE2.org \
|
ORG/Fanfale2.org \
|
||||||
ORG/FANFALE3.org \
|
ORG/Fanfale3.org \
|
||||||
ORG/FIREEYE.org \
|
ORG/FireEye.org \
|
||||||
ORG/GAMEOVER.org \
|
ORG/Gameover.org \
|
||||||
ORG/GINSUKE.org \
|
ORG/Ginsuke.org \
|
||||||
ORG/GRAND.org \
|
ORG/Grand.org \
|
||||||
ORG/GRAVITY.org \
|
ORG/Gravity.org \
|
||||||
ORG/HELL.org \
|
ORG/Hell.org \
|
||||||
ORG/IRONH.org \
|
ORG/ironH.org \
|
||||||
ORG/JENKA.org \
|
ORG/Jenka.org \
|
||||||
ORG/JENKA2.org \
|
ORG/Jenka2.org \
|
||||||
ORG/KODOU.org \
|
ORG/Kodou.org \
|
||||||
ORG/LASTBT3.org \
|
ORG/LastBtl3.org \
|
||||||
ORG/LASTBTL.org \
|
ORG/LastBtl.org \
|
||||||
ORG/LASTCAVE.org \
|
ORG/LastCave.org \
|
||||||
ORG/MARINE.org \
|
ORG/Marine.org \
|
||||||
ORG/MAZE.org \
|
ORG/Maze.org \
|
||||||
ORG/MDOWN2.org \
|
ORG/MDown2.org \
|
||||||
ORG/MURA.org \
|
ORG/Mura.org \
|
||||||
ORG/OSIDE.org \
|
ORG/Oside.org \
|
||||||
ORG/PLANT.org \
|
ORG/Plant.org \
|
||||||
ORG/QUIET.org \
|
ORG/quiet.org \
|
||||||
ORG/REQUIEM.org \
|
ORG/Requiem.org \
|
||||||
ORG/TOROKO.org \
|
ORG/Toroko.org \
|
||||||
ORG/VIVI.org \
|
ORG/Vivi.org \
|
||||||
ORG/WANPAK2.org \
|
ORG/Wanpak2.org \
|
||||||
ORG/WANPAKU.org \
|
ORG/Wanpaku.org \
|
||||||
ORG/WEED.org \
|
ORG/Weed.org \
|
||||||
ORG/WHITE.org \
|
ORG/White.org \
|
||||||
ORG/XXXX.org \
|
ORG/XXXX.org \
|
||||||
ORG/ZONBIE.org \
|
ORG/Zonbie.org \
|
||||||
WAVE/WAVE100
|
WAVE/Wave.dat \
|
||||||
|
|
||||||
ifeq ($(JAPANESE), 1)
|
ifeq ($(JAPANESE), 1)
|
||||||
RESOURCES += BITMAP/PIXEL_JP.bmp
|
RESOURCES += BITMAP/pixel_jp.bmp
|
||||||
else
|
else
|
||||||
RESOURCES += BITMAP/PIXEL.bmp
|
RESOURCES += BITMAP/pixel.bmp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(WINDOWS), 1)
|
ifneq ($(WINDOWS), 1)
|
||||||
RESOURCES += ICON/ICON_MINI.bmp
|
RESOURCES += ICON/ICON_MINI.bmp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
OBJECTS = $(addprefix obj/$(FILENAME)/, $(addsuffix .o, $(SOURCES)))
|
OBJECTS = $(addprefix obj/$(FILENAME)/, $(addsuffix .o, $(SOURCES)))
|
||||||
DEPENDENCIES = $(addprefix obj/$(FILENAME)/, $(addsuffix .o.d, $(SOURCES)))
|
DEPENDENCIES = $(addprefix obj/$(FILENAME)/, $(addsuffix .o.d, $(SOURCES)))
|
||||||
|
|
||||||
ifeq ($(WINDOWS), 1)
|
ifeq ($(WINDOWS), 1)
|
||||||
OBJECTS += obj/$(FILENAME)/win_icon.o
|
OBJECTS += obj/$(FILENAME)/win_icon.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: $(BUILD_DIR)/$(FILENAME)
|
all: $(BUILD_DIR)/$(FILENAME)
|
||||||
|
|
||||||
$(BUILD_DIR)/$(FILENAME): $(OBJECTS)
|
$(BUILD_DIR)/$(FILENAME): $(OBJECTS)
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
@echo Linking
|
@echo Linking
|
||||||
@$(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
|
@$(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||||
@echo Finished compiling: $@
|
@echo Finished compiling: $@
|
||||||
|
|
||||||
obj/$(FILENAME)/%.o: src/%.cpp
|
obj/$(FILENAME)/%.o: src/%.cpp
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
@echo Compiling $<
|
@echo Compiling $<
|
||||||
@$(CXX) $(CXXFLAGS) $< -o $@ -c
|
@$(CXX) $(CXXFLAGS) $< -o $@ -c
|
||||||
|
|
||||||
obj/$(FILENAME)/Resource.o: src/Resource.cpp $(addprefix src/Resource/, $(addsuffix .h, $(RESOURCES)))
|
obj/$(FILENAME)/Resource.o: src/Resource.cpp $(addprefix src/Resource/, $(addsuffix .h, $(RESOURCES)))
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
@echo Compiling $<
|
@echo Compiling $<
|
||||||
@$(CXX) $(CXXFLAGS) $< -o $@ -c
|
@$(CXX) $(CXXFLAGS) $< -o $@ -c
|
||||||
|
|
||||||
src/Resource/%.h: res/% obj/bin2h
|
src/Resource/%.h: res/% obj/bin2h
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
@echo Converting $<
|
@echo Converting $<
|
||||||
@obj/bin2h $< $@
|
@obj/bin2h $< $@
|
||||||
|
|
||||||
obj/bin2h: src/misc/bin2h.c
|
obj/bin2h: src/misc/bin2h.c
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
@echo Compiling $^
|
@echo Compiling $^
|
||||||
@$(CC) -O3 -s -std=c90 $^ -o $@
|
@$(CC) -O3 -s -std=c90 $^ -o $@
|
||||||
|
|
||||||
include $(wildcard $(DEPENDENCIES))
|
include $(wildcard $(DEPENDENCIES))
|
||||||
|
|
||||||
obj/$(FILENAME)/win_icon.o: res/ICON/ICON.rc res/ICON/0.ico res/ICON/ICON_MINI.ico
|
obj/$(FILENAME)/win_icon.o: res/ICON/ICON.rc res/ICON/0.ico res/ICON/ICON_MINI.ico
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
@windres $< $@
|
@windres $< $@
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
clean:
|
clean:
|
||||||
@rm -rf obj
|
@rm -rf obj
|
||||||
|
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
@ -1,6 +1,6 @@
|
||||||
#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
|
||||||
#define WINDOW_HEIGHT 240
|
#define WINDOW_HEIGHT 240
|
||||||
|
|
144
src/Config.cpp
|
@ -1,72 +1,72 @@
|
||||||
#include <stddef.h>
|
#include <stddef.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 "CommonDefines.h"
|
#include "CommonDefines.h"
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
#include "File.h"
|
#include "File.h"
|
||||||
#include "Tags.h"
|
#include "Tags.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
|
|
||||||
bool LoadConfigData(CONFIG *conf)
|
bool LoadConfigData(CONFIG *conf)
|
||||||
{
|
{
|
||||||
//Clear old config data
|
//Clear old config data
|
||||||
memset(conf, 0, sizeof(CONFIG));
|
memset(conf, 0, sizeof(CONFIG));
|
||||||
|
|
||||||
//Get path
|
//Get path
|
||||||
char path[PATH_LENGTH];
|
char path[PATH_LENGTH];
|
||||||
sprintf(path, "%s/%s", gModulePath, "Config.dat");
|
sprintf(path, "%s/%s", gModulePath, "Config.dat");
|
||||||
|
|
||||||
//Open file
|
//Open file
|
||||||
FILE *fp = fopen(path, "rb");
|
FILE *fp = fopen(path, "rb");
|
||||||
if (fp == NULL)
|
if (fp == NULL)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
//Read data
|
//Read data
|
||||||
//Read the version id and font name
|
//Read the version id and font name
|
||||||
fread(conf->proof, sizeof(conf->proof), 1, fp);
|
fread(conf->proof, sizeof(conf->proof), 1, fp);
|
||||||
fread(conf->font_name, sizeof(conf->font_name), 1, fp);
|
fread(conf->font_name, sizeof(conf->font_name), 1, fp);
|
||||||
|
|
||||||
//Read control settings
|
//Read control settings
|
||||||
conf->move_button_mode = File_ReadLE32(fp);
|
conf->move_button_mode = File_ReadLE32(fp);
|
||||||
conf->attack_button_mode = File_ReadLE32(fp);
|
conf->attack_button_mode = File_ReadLE32(fp);
|
||||||
conf->ok_button_mode = File_ReadLE32(fp);
|
conf->ok_button_mode = File_ReadLE32(fp);
|
||||||
|
|
||||||
//Read display mode (320x240, 640x480, 24-bit fullscreen, 32-bit fullscreen) TODO: add more things?
|
//Read display mode (320x240, 640x480, 24-bit fullscreen, 32-bit fullscreen) TODO: add more things?
|
||||||
conf->display_mode = File_ReadLE32(fp);
|
conf->display_mode = File_ReadLE32(fp);
|
||||||
|
|
||||||
//Read joystick configuration (if enabled, and mappings)
|
//Read joystick configuration (if enabled, and mappings)
|
||||||
conf->bJoystick = File_ReadLE32(fp);
|
conf->bJoystick = File_ReadLE32(fp);
|
||||||
for (int button = 0; button < 8; button++)
|
for (int button = 0; button < 8; button++)
|
||||||
conf->joystick_button[button] = File_ReadLE32(fp);
|
conf->joystick_button[button] = File_ReadLE32(fp);
|
||||||
|
|
||||||
//Close file
|
//Close file
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
|
||||||
//Check if version is correct, return that it succeeded
|
//Check if version is correct, return that it succeeded
|
||||||
if (!strcmp(conf->proof, "DOUKUTSU20041206"))
|
if (!strcmp(conf->proof, "DOUKUTSU20041206"))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
//If not, return that it failed
|
//If not, return that it failed
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DefaultConfigData(CONFIG *conf)
|
void DefaultConfigData(CONFIG *conf)
|
||||||
{
|
{
|
||||||
//Claer old config data
|
//Claer old config data
|
||||||
memset(conf, 0, sizeof(CONFIG));
|
memset(conf, 0, sizeof(CONFIG));
|
||||||
|
|
||||||
//Reset joystick settings (as these can't simply be set to 0)
|
//Reset joystick settings (as these can't simply be set to 0)
|
||||||
conf->bJoystick = 1;
|
conf->bJoystick = 1;
|
||||||
conf->joystick_button[0] = 2;
|
conf->joystick_button[0] = 2;
|
||||||
conf->joystick_button[1] = 1;
|
conf->joystick_button[1] = 1;
|
||||||
conf->joystick_button[2] = 5;
|
conf->joystick_button[2] = 5;
|
||||||
conf->joystick_button[3] = 6;
|
conf->joystick_button[3] = 6;
|
||||||
conf->joystick_button[4] = 3;
|
conf->joystick_button[4] = 3;
|
||||||
conf->joystick_button[5] = 4;
|
conf->joystick_button[5] = 4;
|
||||||
conf->joystick_button[6] = 6;
|
conf->joystick_button[6] = 6;
|
||||||
conf->joystick_button[7] = 3;
|
conf->joystick_button[7] = 3;
|
||||||
}
|
}
|
||||||
|
|
36
src/Config.h
|
@ -1,18 +1,18 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
struct CONFIG
|
struct CONFIG
|
||||||
{
|
{
|
||||||
char proof[0x20];
|
char proof[0x20];
|
||||||
char font_name[0x40];
|
char font_name[0x40];
|
||||||
int32_t move_button_mode;
|
int32_t move_button_mode;
|
||||||
int32_t attack_button_mode;
|
int32_t attack_button_mode;
|
||||||
int32_t ok_button_mode;
|
int32_t ok_button_mode;
|
||||||
int32_t display_mode;
|
int32_t display_mode;
|
||||||
int32_t bJoystick;
|
int32_t bJoystick;
|
||||||
int32_t joystick_button[8];
|
int32_t joystick_button[8];
|
||||||
};
|
};
|
||||||
|
|
||||||
bool LoadConfigData(CONFIG *conf);
|
bool LoadConfigData(CONFIG *conf);
|
||||||
void DefaultConfigData(CONFIG *conf);
|
void DefaultConfigData(CONFIG *conf);
|
||||||
|
|
|
@ -354,10 +354,13 @@ static BOOL LoadBitmap_File(const char *name, Surface_Ids surf_no, bool create_s
|
||||||
|
|
||||||
static BOOL LoadBitmap_Resource(const char *res, Surface_Ids surf_no, bool create_surface)
|
static BOOL LoadBitmap_Resource(const char *res, Surface_Ids surf_no, bool create_surface)
|
||||||
{
|
{
|
||||||
SDL_RWops *fp = FindResource(res);
|
size_t size;
|
||||||
|
const unsigned char *data = FindResource(res, "BITMAP", &size);
|
||||||
|
|
||||||
if (fp)
|
if (data)
|
||||||
{
|
{
|
||||||
|
SDL_RWops *fp = SDL_RWFromConstMem(data, size);
|
||||||
|
|
||||||
printf("Loading surface from resource %s for surface id %d\n", res, surf_no);
|
printf("Loading surface from resource %s for surface id %d\n", res, surf_no);
|
||||||
if (LoadBitmap(fp, surf_no, create_surface))
|
if (LoadBitmap(fp, surf_no, create_surface))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
#include "KeyControl.h"
|
#include "KeyControl.h"
|
||||||
|
|
||||||
int gKey;
|
int gKey;
|
||||||
int gKeyTrg;
|
int gKeyTrg;
|
||||||
|
|
||||||
int gKeyJump = KEY_Z;
|
int gKeyJump = KEY_Z;
|
||||||
int gKeyShot = KEY_X;
|
int gKeyShot = KEY_X;
|
||||||
int gKeyArms = KEY_ARMS;
|
int gKeyArms = KEY_ARMS;
|
||||||
int gKeyArmsRev = KEY_ARMSREV;
|
int gKeyArmsRev = KEY_ARMSREV;
|
||||||
int gKeyItem = KEY_ITEM;
|
int gKeyItem = KEY_ITEM;
|
||||||
int gKeyMap = KEY_MAP;
|
int gKeyMap = KEY_MAP;
|
||||||
int gKeyOk = KEY_Z;
|
int gKeyOk = KEY_Z;
|
||||||
int gKeyCancel = KEY_X;
|
int gKeyCancel = KEY_X;
|
||||||
int gKeyLeft = KEY_LEFT;
|
int gKeyLeft = KEY_LEFT;
|
||||||
int gKeyUp = KEY_UP;
|
int gKeyUp = KEY_UP;
|
||||||
int gKeyRight = KEY_RIGHT;
|
int gKeyRight = KEY_RIGHT;
|
||||||
int gKeyDown = KEY_DOWN;
|
int gKeyDown = KEY_DOWN;
|
||||||
|
|
||||||
void GetTrg()
|
void GetTrg()
|
||||||
{
|
{
|
||||||
static int key_old;
|
static int key_old;
|
||||||
gKeyTrg = gKey & (gKey ^ key_old);
|
gKeyTrg = gKey & (gKey ^ key_old);
|
||||||
key_old = gKey;
|
key_old = gKey;
|
||||||
}
|
}
|
||||||
|
|
106
src/KeyControl.h
|
@ -1,53 +1,53 @@
|
||||||
#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
|
||||||
KEY_LEFT = 0x00000001,
|
KEY_LEFT = 0x00000001,
|
||||||
KEY_RIGHT = 0x00000002,
|
KEY_RIGHT = 0x00000002,
|
||||||
KEY_UP = 0x00000004,
|
KEY_UP = 0x00000004,
|
||||||
KEY_DOWN = 0x00000008,
|
KEY_DOWN = 0x00000008,
|
||||||
//Map key
|
//Map key
|
||||||
KEY_MAP = 0x00000010,
|
KEY_MAP = 0x00000010,
|
||||||
//Okay and cancel / Jump and Shoot keys
|
//Okay and cancel / Jump and Shoot keys
|
||||||
KEY_X = 0x00000020,
|
KEY_X = 0x00000020,
|
||||||
KEY_Z = 0x00000040,
|
KEY_Z = 0x00000040,
|
||||||
//Left and right weapon switch keys
|
//Left and right weapon switch keys
|
||||||
KEY_ARMS = 0x00000080,
|
KEY_ARMS = 0x00000080,
|
||||||
KEY_ARMSREV = 0x00000100,
|
KEY_ARMSREV = 0x00000100,
|
||||||
//Unused?
|
//Unused?
|
||||||
KEY_SHIFT = 0x00000200,
|
KEY_SHIFT = 0x00000200,
|
||||||
//Function keys
|
//Function keys
|
||||||
KEY_F1 = 0x00000400,
|
KEY_F1 = 0x00000400,
|
||||||
KEY_F2 = 0x00000800,
|
KEY_F2 = 0x00000800,
|
||||||
//Inventory
|
//Inventory
|
||||||
KEY_ITEM = 0x00001000,
|
KEY_ITEM = 0x00001000,
|
||||||
//Escape key
|
//Escape key
|
||||||
KEY_ESCAPE = 0x00008000,
|
KEY_ESCAPE = 0x00008000,
|
||||||
//The alt movement keys go in the order of left, up, right and down
|
//The alt movement keys go in the order of left, up, right and down
|
||||||
KEY_ALT_LEFT = 0x00010000,
|
KEY_ALT_LEFT = 0x00010000,
|
||||||
KEY_ALT_DOWN = 0x00020000,
|
KEY_ALT_DOWN = 0x00020000,
|
||||||
KEY_ALT_RIGHT = 0x00040000,
|
KEY_ALT_RIGHT = 0x00040000,
|
||||||
KEY_ALT_UP = 0x00180000,
|
KEY_ALT_UP = 0x00180000,
|
||||||
//Alt up actually has 2 seperate keys, but they're kind of merged together (and also for some reason the second one is +/=)
|
//Alt up actually has 2 seperate keys, but they're kind of merged together (and also for some reason the second one is +/=)
|
||||||
KEY_L = 0x00080000,
|
KEY_L = 0x00080000,
|
||||||
KEY_PLUS = 0x00100000
|
KEY_PLUS = 0x00100000
|
||||||
};
|
};
|
||||||
|
|
||||||
extern int gKey;
|
extern int gKey;
|
||||||
extern int gKeyTrg;
|
extern int gKeyTrg;
|
||||||
|
|
||||||
extern int gKeyJump;
|
extern int gKeyJump;
|
||||||
extern int gKeyShot;
|
extern int gKeyShot;
|
||||||
extern int gKeyArms;
|
extern int gKeyArms;
|
||||||
extern int gKeyArmsRev;
|
extern int gKeyArmsRev;
|
||||||
extern int gKeyItem;
|
extern int gKeyItem;
|
||||||
extern int gKeyMap;
|
extern int gKeyMap;
|
||||||
extern int gKeyOk;
|
extern int gKeyOk;
|
||||||
extern int gKeyCancel;
|
extern int gKeyCancel;
|
||||||
extern int gKeyLeft;
|
extern int gKeyLeft;
|
||||||
extern int gKeyUp;
|
extern int gKeyUp;
|
||||||
extern int gKeyRight;
|
extern int gKeyRight;
|
||||||
extern int gKeyDown;
|
extern int gKeyDown;
|
||||||
|
|
||||||
void GetTrg();
|
void GetTrg();
|
||||||
|
|
1273
src/Main.cpp
|
@ -261,19 +261,16 @@ void ReleaseOrganyaObject(int8_t track)
|
||||||
//Handling WAVE100
|
//Handling WAVE100
|
||||||
int8_t wave_data[100][0x100];
|
int8_t wave_data[100][0x100];
|
||||||
|
|
||||||
bool InitWaveData100()
|
BOOL InitWaveData100()
|
||||||
{
|
{
|
||||||
SDL_RWops *fp = FindResource("WAVE100");
|
const unsigned char *data = FindResource("WAVE100", "WAVE", NULL);
|
||||||
if (fp == NULL)
|
|
||||||
{
|
|
||||||
printf("Failed to open WAVE100\n");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
fp->read(fp, wave_data, 1, 100 * 0x100);
|
if (data == NULL)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
SDL_RWclose(fp);
|
memcpy(wave_data, data, 100 * 0x100);
|
||||||
return true;
|
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Create org wave
|
//Create org wave
|
||||||
|
@ -409,6 +406,9 @@ void SetPlayPointer(int32_t x)
|
||||||
play_p = x;
|
play_p = x;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define READ_LE16(pointer) pointer[0] | (pointer[1] << 8); pointer += 2;
|
||||||
|
#define READ_LE32(pointer) pointer[0] | (pointer[1] << 8) | (pointer[2] << 16) | (pointer[3] << 24); pointer += 4;
|
||||||
|
|
||||||
//Load organya file
|
//Load organya file
|
||||||
void LoadOrganya(const char *name)
|
void LoadOrganya(const char *name)
|
||||||
{
|
{
|
||||||
|
@ -426,19 +426,14 @@ void LoadOrganya(const char *name)
|
||||||
|
|
||||||
//Open file
|
//Open file
|
||||||
printf("Loading org %s\n", name);
|
printf("Loading org %s\n", name);
|
||||||
SDL_RWops *fp = FindResource(name);
|
const unsigned char *p = FindResource(name, "ORG", NULL);
|
||||||
|
|
||||||
if (!fp)
|
|
||||||
{
|
|
||||||
printf("Failed to open %s\n", name);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
//Version Check
|
//Version Check
|
||||||
uint8_t ver = 0;
|
uint8_t ver = 0;
|
||||||
char pass_check[6];
|
char pass_check[6];
|
||||||
|
|
||||||
SDL_RWread(fp, &pass_check[0], sizeof(char), 6);
|
memcpy(pass_check, p, 6);
|
||||||
|
p += 6;
|
||||||
|
|
||||||
if (!memcmp(pass_check, "Org-01", 6))ver = 1;
|
if (!memcmp(pass_check, "Org-01", 6))ver = 1;
|
||||||
if (!memcmp(pass_check, "Org-02", 6))ver = 2;
|
if (!memcmp(pass_check, "Org-02", 6))ver = 2;
|
||||||
|
@ -446,23 +441,23 @@ void LoadOrganya(const char *name)
|
||||||
|
|
||||||
if (!ver)
|
if (!ver)
|
||||||
{
|
{
|
||||||
printf("Failed to open.org, invalid version %s", pass_check);
|
printf("Failed to open .org, invalid version %s", pass_check);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Set song information
|
//Set song information
|
||||||
info.wait = SDL_ReadLE16(fp);
|
info.wait = READ_LE16(p);
|
||||||
info.line = SDL_ReadU8(fp);
|
info.line = *p++;
|
||||||
info.dot = SDL_ReadU8(fp);
|
info.dot = *p++;
|
||||||
info.repeat_x = SDL_ReadLE32(fp);
|
info.repeat_x = READ_LE32(p);
|
||||||
info.end_x = SDL_ReadLE32(fp);
|
info.end_x = READ_LE32(p);
|
||||||
|
|
||||||
for (int i = 0; i < 16; i++) {
|
for (int i = 0; i < 16; i++) {
|
||||||
info.tdata[i].freq = SDL_ReadLE16(fp);
|
info.tdata[i].freq = READ_LE16(p);
|
||||||
info.tdata[i].wave_no = SDL_ReadU8(fp);
|
info.tdata[i].wave_no = *p++;
|
||||||
const int8_t pipi = SDL_ReadU8(fp);
|
const int8_t pipi = *p++;
|
||||||
info.tdata[i].pipi = ver == 1 ? 0 : pipi;
|
info.tdata[i].pipi = ver == 1 ? 0 : pipi;
|
||||||
info.tdata[i].note_num = SDL_ReadLE16(fp);
|
info.tdata[i].note_num = READ_LE16(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Load notes
|
//Load notes
|
||||||
|
@ -495,37 +490,35 @@ void LoadOrganya(const char *name)
|
||||||
//Set note properties
|
//Set note properties
|
||||||
np = info.tdata[j].note_p; //X position
|
np = info.tdata[j].note_p; //X position
|
||||||
for (int i = 0; i < info.tdata[j].note_num; i++) {
|
for (int i = 0; i < info.tdata[j].note_num; i++) {
|
||||||
np->x = SDL_ReadLE32(fp);
|
np->x = READ_LE32(p);
|
||||||
np++;
|
np++;
|
||||||
}
|
}
|
||||||
|
|
||||||
np = info.tdata[j].note_p; //Y position
|
np = info.tdata[j].note_p; //Y position
|
||||||
for (int i = 0; i < info.tdata[j].note_num; i++) {
|
for (int i = 0; i < info.tdata[j].note_num; i++) {
|
||||||
np->y = SDL_ReadU8(fp);
|
np->y = *p++;
|
||||||
np++;
|
np++;
|
||||||
}
|
}
|
||||||
|
|
||||||
np = info.tdata[j].note_p; //Length
|
np = info.tdata[j].note_p; //Length
|
||||||
for (int i = 0; i < info.tdata[j].note_num; i++) {
|
for (int i = 0; i < info.tdata[j].note_num; i++) {
|
||||||
np->length = SDL_ReadU8(fp);
|
np->length = *p++;
|
||||||
np++;
|
np++;
|
||||||
}
|
}
|
||||||
|
|
||||||
np = info.tdata[j].note_p; //Volume
|
np = info.tdata[j].note_p; //Volume
|
||||||
for (int i = 0; i < info.tdata[j].note_num; i++) {
|
for (int i = 0; i < info.tdata[j].note_num; i++) {
|
||||||
np->volume = SDL_ReadU8(fp);
|
np->volume = *p++;
|
||||||
np++;
|
np++;
|
||||||
}
|
}
|
||||||
|
|
||||||
np = info.tdata[j].note_p; //Pan
|
np = info.tdata[j].note_p; //Pan
|
||||||
for (int i = 0; i < info.tdata[j].note_num; i++) {
|
for (int i = 0; i < info.tdata[j].note_num; i++) {
|
||||||
np->pan = SDL_ReadU8(fp);
|
np->pan = *p++;
|
||||||
np++;
|
np++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_RWclose(fp);
|
|
||||||
|
|
||||||
//Create waves
|
//Create waves
|
||||||
for (int j = 0; j < 8; j++)
|
for (int j = 0; j < 8; j++)
|
||||||
MakeOrganyaWave(j, info.tdata[j].wave_no, info.tdata[j].pipi);
|
MakeOrganyaWave(j, info.tdata[j].wave_no, info.tdata[j].pipi);
|
||||||
|
|
569
src/Resource.cpp
|
@ -1,77 +1,72 @@
|
||||||
#include "Resource.h"
|
#include "Resource.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stddef.h>
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <SDL_rwops.h>
|
#include "Resource/ORG/Access.org.h"
|
||||||
|
#include "Resource/ORG/Anzen.org.h"
|
||||||
#include "WindowsWrapper.h"
|
#include "Resource/ORG/Balcony.org.h"
|
||||||
|
#include "Resource/ORG/Ballos.org.h"
|
||||||
#include "Resource/ORG/ACCESS.org.h"
|
#include "Resource/ORG/BreakDown.org.h"
|
||||||
#include "Resource/ORG/ANZEN.org.h"
|
#include "Resource/ORG/Cemetery.org.h"
|
||||||
#include "Resource/ORG/BALCONY.org.h"
|
#include "Resource/ORG/Curly.org.h"
|
||||||
#include "Resource/ORG/BALLOS.org.h"
|
#include "Resource/ORG/Dr.org.h"
|
||||||
#include "Resource/ORG/BDOWN.org.h"
|
#include "Resource/ORG/Ending.org.h"
|
||||||
#include "Resource/ORG/CEMETERY.org.h"
|
#include "Resource/ORG/Escape.org.h"
|
||||||
#include "Resource/ORG/CURLY.org.h"
|
#include "Resource/ORG/Fanfale1.org.h"
|
||||||
#include "Resource/ORG/DR.org.h"
|
#include "Resource/ORG/Fanfale2.org.h"
|
||||||
#include "Resource/ORG/ENDING.org.h"
|
#include "Resource/ORG/Fanfale3.org.h"
|
||||||
#include "Resource/ORG/ESCAPE.org.h"
|
#include "Resource/ORG/FireEye.org.h"
|
||||||
#include "Resource/ORG/FANFALE1.org.h"
|
#include "Resource/ORG/Gameover.org.h"
|
||||||
#include "Resource/ORG/FANFALE2.org.h"
|
#include "Resource/ORG/Ginsuke.org.h"
|
||||||
#include "Resource/ORG/FANFALE3.org.h"
|
#include "Resource/ORG/Grand.org.h"
|
||||||
#include "Resource/ORG/FIREEYE.org.h"
|
#include "Resource/ORG/Gravity.org.h"
|
||||||
#include "Resource/ORG/GAMEOVER.org.h"
|
#include "Resource/ORG/Hell.org.h"
|
||||||
#include "Resource/ORG/GINSUKE.org.h"
|
#include "Resource/ORG/ironH.org.h"
|
||||||
#include "Resource/ORG/GRAND.org.h"
|
#include "Resource/ORG/Jenka.org.h"
|
||||||
#include "Resource/ORG/GRAVITY.org.h"
|
#include "Resource/ORG/Jenka2.org.h"
|
||||||
#include "Resource/ORG/HELL.org.h"
|
#include "Resource/ORG/Kodou.org.h"
|
||||||
#include "Resource/ORG/IRONH.org.h"
|
#include "Resource/ORG/LastBtl3.org.h"
|
||||||
#include "Resource/ORG/JENKA.org.h"
|
#include "Resource/ORG/LastBtl.org.h"
|
||||||
#include "Resource/ORG/JENKA2.org.h"
|
#include "Resource/ORG/LastCave.org.h"
|
||||||
#include "Resource/ORG/KODOU.org.h"
|
#include "Resource/ORG/Marine.org.h"
|
||||||
#include "Resource/ORG/LASTBT3.org.h"
|
#include "Resource/ORG/Maze.org.h"
|
||||||
#include "Resource/ORG/LASTBTL.org.h"
|
#include "Resource/ORG/MDown2.org.h"
|
||||||
#include "Resource/ORG/LASTCAVE.org.h"
|
#include "Resource/ORG/Mura.org.h"
|
||||||
#include "Resource/ORG/MARINE.org.h"
|
#include "Resource/ORG/Oside.org.h"
|
||||||
#include "Resource/ORG/MAZE.org.h"
|
#include "Resource/ORG/Plant.org.h"
|
||||||
#include "Resource/ORG/MDOWN2.org.h"
|
#include "Resource/ORG/quiet.org.h"
|
||||||
#include "Resource/ORG/MURA.org.h"
|
#include "Resource/ORG/Requiem.org.h"
|
||||||
#include "Resource/ORG/OSIDE.org.h"
|
#include "Resource/ORG/Toroko.org.h"
|
||||||
#include "Resource/ORG/PLANT.org.h"
|
#include "Resource/ORG/Vivi.org.h"
|
||||||
#include "Resource/ORG/QUIET.org.h"
|
#include "Resource/ORG/Wanpak2.org.h"
|
||||||
#include "Resource/ORG/REQUIEM.org.h"
|
#include "Resource/ORG/Wanpaku.org.h"
|
||||||
#include "Resource/ORG/TOROKO.org.h"
|
#include "Resource/ORG/Weed.org.h"
|
||||||
#include "Resource/ORG/VIVI.org.h"
|
#include "Resource/ORG/White.org.h"
|
||||||
#include "Resource/ORG/WANPAK2.org.h"
|
|
||||||
#include "Resource/ORG/WANPAKU.org.h"
|
|
||||||
#include "Resource/ORG/WEED.org.h"
|
|
||||||
#include "Resource/ORG/WHITE.org.h"
|
|
||||||
#include "Resource/ORG/XXXX.org.h"
|
#include "Resource/ORG/XXXX.org.h"
|
||||||
#include "Resource/ORG/ZONBIE.org.h"
|
#include "Resource/ORG/Zonbie.org.h"
|
||||||
#include "Resource/WAVE/WAVE100.h"
|
#include "Resource/WAVE/Wave.dat.h"
|
||||||
#include "Resource/BITMAP/CREDIT01.bmp.h"
|
#include "Resource/BITMAP/Credit01.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT02.bmp.h"
|
#include "Resource/BITMAP/Credit02.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT03.bmp.h"
|
#include "Resource/BITMAP/Credit03.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT04.bmp.h"
|
#include "Resource/BITMAP/Credit04.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT05.bmp.h"
|
#include "Resource/BITMAP/Credit05.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT06.bmp.h"
|
#include "Resource/BITMAP/Credit06.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT07.bmp.h"
|
#include "Resource/BITMAP/Credit07.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT08.bmp.h"
|
#include "Resource/BITMAP/Credit08.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT09.bmp.h"
|
#include "Resource/BITMAP/Credit09.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT10.bmp.h"
|
#include "Resource/BITMAP/Credit10.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT11.bmp.h"
|
#include "Resource/BITMAP/Credit11.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT12.bmp.h"
|
#include "Resource/BITMAP/Credit12.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT14.bmp.h"
|
#include "Resource/BITMAP/Credit14.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT15.bmp.h"
|
#include "Resource/BITMAP/Credit15.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT16.bmp.h"
|
#include "Resource/BITMAP/Credit16.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT17.bmp.h"
|
#include "Resource/BITMAP/Credit17.bmp.h"
|
||||||
#include "Resource/BITMAP/CREDIT18.bmp.h"
|
#include "Resource/BITMAP/Credit18.bmp.h"
|
||||||
#ifdef JAPANESE
|
#ifdef JAPANESE
|
||||||
#include "Resource/BITMAP/PIXEL_JP.bmp.h"
|
#include "Resource/BITMAP/pixel_jp.bmp.h"
|
||||||
#else
|
#else
|
||||||
#include "Resource/BITMAP/PIXEL.bmp.h"
|
#include "Resource/BITMAP/pixel.bmp.h"
|
||||||
#endif
|
#endif
|
||||||
#ifndef WINDOWS
|
#ifndef WINDOWS
|
||||||
#include "Resource/ICON/ICON_MINI.bmp.h"
|
#include "Resource/ICON/ICON_MINI.bmp.h"
|
||||||
|
@ -79,362 +74,102 @@
|
||||||
#include "Resource/CURSOR/CURSOR_IKA.bmp.h"
|
#include "Resource/CURSOR/CURSOR_IKA.bmp.h"
|
||||||
#include "Resource/CURSOR/CURSOR_NORMAL.bmp.h"
|
#include "Resource/CURSOR/CURSOR_NORMAL.bmp.h"
|
||||||
|
|
||||||
const unsigned char* GetResource(const char *name, size_t *size)
|
static const struct
|
||||||
{
|
{
|
||||||
//ORG
|
const char *type;
|
||||||
if (!strcmp(name, "ACCESS"))
|
const char *name;
|
||||||
{
|
const unsigned char *data;
|
||||||
*size = sizeof(rACCESS);
|
size_t size;
|
||||||
return rACCESS;
|
} resources[] = {
|
||||||
}
|
{"ORG", "ACCESS", rAccess, sizeof(rAccess)},
|
||||||
if (!strcmp(name, "ANZEN"))
|
{"ORG", "ANZEN", rAnzen, sizeof(rAnzen)},
|
||||||
{
|
{"ORG", "BALCONY", rBalcony, sizeof(rBalcony)},
|
||||||
*size = sizeof(rANZEN);
|
{"ORG", "BALLOS", rBallos, sizeof(rBallos)},
|
||||||
return rANZEN;
|
{"ORG", "BDOWN", rBreakDown, sizeof(rBreakDown)},
|
||||||
}
|
{"ORG", "CEMETERY", rCemetery, sizeof(rCemetery)},
|
||||||
if (!strcmp(name, "BALCONY"))
|
{"ORG", "CURLY", rCurly, sizeof(rCurly)},
|
||||||
{
|
{"ORG", "DR", rDr, sizeof(rDr)},
|
||||||
*size = sizeof(rBALCONY);
|
{"ORG", "ENDING", rEnding, sizeof(rEnding)},
|
||||||
return rBALCONY;
|
{"ORG", "ESCAPE", rEscape, sizeof(rEscape)},
|
||||||
}
|
{"ORG", "FANFALE1", rFanfale1, sizeof(rFanfale1)},
|
||||||
if (!strcmp(name, "BALLOS"))
|
{"ORG", "FANFALE2", rFanfale2, sizeof(rFanfale2)},
|
||||||
{
|
{"ORG", "FANFALE3", rFanfale3, sizeof(rFanfale3)},
|
||||||
*size = sizeof(rBALLOS);
|
{"ORG", "FIREEYE", rFireEye, sizeof(rFireEye)},
|
||||||
return rBALLOS;
|
{"ORG", "GAMEOVER", rGameover, sizeof(rGameover)},
|
||||||
}
|
{"ORG", "GINSUKE", rGinsuke, sizeof(rGinsuke)},
|
||||||
if (!strcmp(name, "BDOWN"))
|
{"ORG", "GRAND", rGrand, sizeof(rGrand)},
|
||||||
{
|
{"ORG", "GRAVITY", rGravity, sizeof(rGravity)},
|
||||||
*size = sizeof(rBDOWN);
|
{"ORG", "HELL", rHell, sizeof(rHell)},
|
||||||
return rBDOWN;
|
{"ORG", "IRONH", rironH, sizeof(rironH)},
|
||||||
}
|
{"ORG", "JENKA", rJenka, sizeof(rJenka)},
|
||||||
if (!strcmp(name, "CEMETERY"))
|
{"ORG", "JENKA2", rJenka2, sizeof(rJenka2)},
|
||||||
{
|
{"ORG", "KODOU", rKodou, sizeof(rKodou)},
|
||||||
*size = sizeof(rCEMETERY);
|
{"ORG", "LASTBT3", rLastBtl3, sizeof(rLastBtl3)},
|
||||||
return rCEMETERY;
|
{"ORG", "LASTBTL", rLastBtl, sizeof(rLastBtl)},
|
||||||
}
|
{"ORG", "LASTCAVE", rLastCave, sizeof(rLastCave)},
|
||||||
if (!strcmp(name, "CURLY"))
|
{"ORG", "MARINE", rMarine, sizeof(rMarine)},
|
||||||
{
|
{"ORG", "MAZE", rMaze, sizeof(rMaze)},
|
||||||
*size = sizeof(rCURLY);
|
{"ORG", "MDOWN2", rMDown2, sizeof(rMDown2)},
|
||||||
return rCURLY;
|
{"ORG", "MURA", rMura, sizeof(rMura)},
|
||||||
}
|
{"ORG", "OSIDE", rOside, sizeof(rOside)},
|
||||||
if (!strcmp(name, "DR"))
|
{"ORG", "PLANT", rPlant, sizeof(rPlant)},
|
||||||
{
|
{"ORG", "QUIET", rquiet, sizeof(rquiet)},
|
||||||
*size = sizeof(rDR);
|
{"ORG", "REQUIEM", rRequiem, sizeof(rRequiem)},
|
||||||
return rDR;
|
{"ORG", "TOROKO", rToroko, sizeof(rToroko)},
|
||||||
}
|
{"ORG", "VIVI", rVivi, sizeof(rVivi)},
|
||||||
if (!strcmp(name, "ENDING"))
|
{"ORG", "WANPAK2", rWanpak2, sizeof(rWanpak2)},
|
||||||
{
|
{"ORG", "WANPAKU", rWanpaku, sizeof(rWanpaku)},
|
||||||
*size = sizeof(rENDING);
|
{"ORG", "WEED", rWeed, sizeof(rWeed)},
|
||||||
return rENDING;
|
{"ORG", "WHITE", rWhite, sizeof(rWhite)},
|
||||||
}
|
{"ORG", "XXXX", rXXXX, sizeof(rXXXX)},
|
||||||
if (!strcmp(name, "ESCAPE"))
|
{"ORG", "ZONBIE", rZonbie, sizeof(rZonbie)},
|
||||||
{
|
|
||||||
*size = sizeof(rESCAPE);
|
{"WAVE", "WAVE100", rWave, sizeof(rWave)},
|
||||||
return rESCAPE;
|
|
||||||
}
|
{"BITMAP", "CREDIT01", rCredit01, sizeof(rCredit01)},
|
||||||
if (!strcmp(name, "FANFALE1"))
|
{"BITMAP", "CREDIT02", rCredit02, sizeof(rCredit02)},
|
||||||
{
|
{"BITMAP", "CREDIT03", rCredit03, sizeof(rCredit03)},
|
||||||
*size = sizeof(rFANFALE1);
|
{"BITMAP", "CREDIT04", rCredit04, sizeof(rCredit04)},
|
||||||
return rFANFALE1;
|
{"BITMAP", "CREDIT05", rCredit05, sizeof(rCredit05)},
|
||||||
}
|
{"BITMAP", "CREDIT06", rCredit06, sizeof(rCredit06)},
|
||||||
if (!strcmp(name, "FANFALE2"))
|
{"BITMAP", "CREDIT07", rCredit07, sizeof(rCredit07)},
|
||||||
{
|
{"BITMAP", "CREDIT08", rCredit08, sizeof(rCredit08)},
|
||||||
*size = sizeof(rFANFALE2);
|
{"BITMAP", "CREDIT09", rCredit09, sizeof(rCredit09)},
|
||||||
return rFANFALE2;
|
{"BITMAP", "CREDIT10", rCredit10, sizeof(rCredit10)},
|
||||||
}
|
{"BITMAP", "CREDIT11", rCredit11, sizeof(rCredit11)},
|
||||||
if (!strcmp(name, "FANFALE3"))
|
{"BITMAP", "CREDIT12", rCredit12, sizeof(rCredit12)},
|
||||||
{
|
{"BITMAP", "CREDIT14", rCredit14, sizeof(rCredit14)},
|
||||||
*size = sizeof(rFANFALE3);
|
{"BITMAP", "CREDIT15", rCredit15, sizeof(rCredit15)},
|
||||||
return rFANFALE3;
|
{"BITMAP", "CREDIT16", rCredit16, sizeof(rCredit16)},
|
||||||
}
|
{"BITMAP", "CREDIT17", rCredit17, sizeof(rCredit17)},
|
||||||
if (!strcmp(name, "FIREEYE"))
|
{"BITMAP", "CREDIT18", rCredit18, sizeof(rCredit18)},
|
||||||
{
|
|
||||||
*size = sizeof(rFIREEYE);
|
|
||||||
return rFIREEYE;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "GAMEOVER"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rGAMEOVER);
|
|
||||||
return rGAMEOVER;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "GINSUKE"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rGINSUKE);
|
|
||||||
return rGINSUKE;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "GRAND"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rGRAND);
|
|
||||||
return rGRAND;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "GRAVITY"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rGRAVITY);
|
|
||||||
return rGRAVITY;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "HELL"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rHELL);
|
|
||||||
return rHELL;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "IRONH"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rIRONH);
|
|
||||||
return rIRONH;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "JENKA"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rJENKA);
|
|
||||||
return rJENKA;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "JENKA2"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rJENKA2);
|
|
||||||
return rJENKA2;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "KODOU"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rKODOU);
|
|
||||||
return rKODOU;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "LASTBT3"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rLASTBT3);
|
|
||||||
return rLASTBT3;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "LASTBTL"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rLASTBTL);
|
|
||||||
return rLASTBTL;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "LASTCAVE"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rLASTCAVE);
|
|
||||||
return rLASTCAVE;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "MARINE"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rMARINE);
|
|
||||||
return rMARINE;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "MAZE"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rMAZE);
|
|
||||||
return rMAZE;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "MDOWN2"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rMDOWN2);
|
|
||||||
return rMDOWN2;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "MURA"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rMURA);
|
|
||||||
return rMURA;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "OSIDE"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rOSIDE);
|
|
||||||
return rOSIDE;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "PLANT"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rPLANT);
|
|
||||||
return rPLANT;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "QUIET"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rQUIET);
|
|
||||||
return rQUIET;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "REQUIEM"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rREQUIEM);
|
|
||||||
return rREQUIEM;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "TOROKO"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rTOROKO);
|
|
||||||
return rTOROKO;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "VIVI"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rVIVI);
|
|
||||||
return rVIVI;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "WANPAK2"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rWANPAK2);
|
|
||||||
return rWANPAK2;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "WANPAKU"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rWANPAKU);
|
|
||||||
return rWANPAKU;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "WEED"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rWEED);
|
|
||||||
return rWEED;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "WHITE"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rWHITE);
|
|
||||||
return rWHITE;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "XXXX"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rXXXX);
|
|
||||||
return rXXXX;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "ZONBIE"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rZONBIE);
|
|
||||||
return rZONBIE;
|
|
||||||
}
|
|
||||||
|
|
||||||
//WAVE
|
|
||||||
if (!strcmp(name, "WAVE100"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rWAVE100);
|
|
||||||
return rWAVE100;
|
|
||||||
}
|
|
||||||
|
|
||||||
//Bitmap
|
|
||||||
if (!strcmp(name, "CREDIT01"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT01);
|
|
||||||
return rCREDIT01;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT02"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT02);
|
|
||||||
return rCREDIT02;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT03"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT03);
|
|
||||||
return rCREDIT03;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT04"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT04);
|
|
||||||
return rCREDIT04;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT05"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT05);
|
|
||||||
return rCREDIT05;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT06"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT06);
|
|
||||||
return rCREDIT06;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT07"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT07);
|
|
||||||
return rCREDIT07;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT08"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT08);
|
|
||||||
return rCREDIT08;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT09"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT09);
|
|
||||||
return rCREDIT09;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT10"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT10);
|
|
||||||
return rCREDIT10;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT11"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT11);
|
|
||||||
return rCREDIT11;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT12"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT12);
|
|
||||||
return rCREDIT12;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT14"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT14);
|
|
||||||
return rCREDIT14;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT15"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT15);
|
|
||||||
return rCREDIT15;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT16"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT16);
|
|
||||||
return rCREDIT16;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT17"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT17);
|
|
||||||
return rCREDIT17;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "CREDIT18"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rCREDIT18);
|
|
||||||
return rCREDIT18;
|
|
||||||
}
|
|
||||||
if (!strcmp(name, "PIXEL"))
|
|
||||||
{
|
|
||||||
#ifdef JAPANESE
|
#ifdef JAPANESE
|
||||||
*size = sizeof(rPIXEL_JP);
|
{"BITMAP", "PIXEL", rpixel_jp, sizeof(rpixel_jp)},
|
||||||
return rPIXEL_JP;
|
|
||||||
#else
|
#else
|
||||||
*size = sizeof(rPIXEL);
|
{"BITMAP", "PIXEL", rpixel, sizeof(rpixel)},
|
||||||
return rPIXEL;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef WINDOWS
|
|
||||||
//ICON
|
|
||||||
if (!strcmp(name, "ICON_MINI"))
|
|
||||||
{
|
|
||||||
*size = sizeof(rICON_MINI);
|
|
||||||
return rICON_MINI;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//CURSOR
|
#ifndef WINDOWS
|
||||||
if (!strcmp(name, "CURSOR_NORMAL"))
|
{"ICON", "ICON_MINI", rICON_MINI, sizeof(rICON_MINI)},
|
||||||
|
#endif
|
||||||
|
|
||||||
|
{"CURSOR", "CURSOR_NORMAL", rCURSOR_NORMAL, sizeof(rCURSOR_NORMAL)},
|
||||||
|
{"CURSOR", "CURSOR_IKA", rCURSOR_IKA, sizeof(rCURSOR_IKA)},
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char* FindResource(const char *name, const char *type, size_t *size)
|
||||||
|
{
|
||||||
|
for (unsigned int i = 0; i < sizeof(resources) / sizeof(resources[0]); ++i)
|
||||||
{
|
{
|
||||||
*size = sizeof(rCURSOR_NORMAL);
|
if (!strcmp(name, resources[i].name) && !strcmp(type, resources[i].type))
|
||||||
return rCURSOR_NORMAL;
|
{
|
||||||
}
|
if (size)
|
||||||
if (!strcmp(name, "CURSOR_IKA"))
|
*size = resources[i].size;
|
||||||
{
|
|
||||||
*size = sizeof(rCURSOR_IKA);
|
return resources[i].data;
|
||||||
return rCURSOR_IKA;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_RWops* FindResource(const char *name)
|
|
||||||
{
|
|
||||||
size_t resSize;
|
|
||||||
const unsigned char* resource = GetResource(name, &resSize);
|
|
||||||
|
|
||||||
if (!resource)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
SDL_RWops *fp = SDL_RWFromConstMem(resource, (int)resSize);
|
|
||||||
|
|
||||||
if (!fp)
|
|
||||||
{
|
|
||||||
printf("Couldn't open resource %s\nSDL Error: %s\n", name, SDL_GetError());
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
return fp;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <SDL_rwops.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
SDL_RWops* FindResource(const char *name);
|
const unsigned char* FindResource(const char *name, const char *type, size_t *size);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT01[0x4B76] = {
|
const unsigned char rCredit01[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT02[0x4B76] = {
|
const unsigned char rCredit02[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT03[0x4B76] = {
|
const unsigned char rCredit03[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT04[0x4B76] = {
|
const unsigned char rCredit04[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT05[0x4B76] = {
|
const unsigned char rCredit05[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT06[0x4B76] = {
|
const unsigned char rCredit06[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT07[0x4B76] = {
|
const unsigned char rCredit07[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT08[0x4B76] = {
|
const unsigned char rCredit08[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT09[0x4B76] = {
|
const unsigned char rCredit09[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT10[0x4B76] = {
|
const unsigned char rCredit10[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT11[0x4B76] = {
|
const unsigned char rCredit11[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT12[0x4B76] = {
|
const unsigned char rCredit12[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT14[0x4B76] = {
|
const unsigned char rCredit14[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT15[0x4B76] = {
|
const unsigned char rCredit15[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT16[0x4B76] = {
|
const unsigned char rCredit16[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT17[0x4B76] = {
|
const unsigned char rCredit17[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCREDIT18[0x4B76] = {
|
const unsigned char rCredit18[0x4B76] = {
|
||||||
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
0x00, 0x00, 0x00, 0x4B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
@ -1,92 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
const unsigned char rPIXEL_JP[0x576] = {
|
|
||||||
0x42, 0x4D, 0x76, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x98, 0xE2, 0xF3, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x01, 0x00,
|
|
||||||
0x10, 0x01, 0x10, 0x11, 0x00, 0x00, 0x11, 0x11, 0x10, 0x11, 0x11, 0x11, 0x11, 0x11, 0x10, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x01, 0x11, 0x11, 0x00, 0x11, 0x10, 0x00, 0x11, 0x10, 0x00, 0x00, 0x10, 0x00, 0x01, 0x00, 0x00,
|
|
||||||
0x01, 0x00, 0x01, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x10,
|
|
||||||
0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01,
|
|
||||||
0x00, 0x00, 0x00, 0x10, 0x10, 0x00, 0x10, 0x01, 0x11, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x01, 0x00, 0x00, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x01, 0x11,
|
|
||||||
0x11, 0x00, 0x10, 0x00, 0x01, 0x00, 0x10, 0x00, 0x00, 0x01, 0x11, 0x11, 0x11, 0x11, 0x00, 0x01,
|
|
||||||
0x00, 0x00, 0x00, 0x10, 0x01, 0x01, 0x00, 0x10, 0x00, 0x10, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x10, 0x00, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x01, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x10,
|
|
||||||
0x10, 0x00, 0x10, 0x01, 0x11, 0x11, 0x11, 0x11, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01,
|
|
||||||
0x00, 0x00, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x01, 0x11,
|
|
||||||
0x11, 0x00, 0x10, 0x00, 0x01, 0x00, 0x10, 0x00, 0x00, 0x01, 0x11, 0x11, 0x11, 0x01, 0x00, 0x01,
|
|
||||||
0x00, 0x00, 0x00, 0x10, 0x00, 0x10, 0x00, 0x11, 0x11, 0x10, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x10, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x01, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x10, 0x10, 0x01, 0x00, 0x10, 0x00, 0x10, 0x00, 0x01, 0x00, 0x00, 0x10, 0x00, 0x01,
|
|
||||||
0x11, 0x10, 0x00, 0x10, 0x01, 0x01, 0x00, 0x10, 0x00, 0x10, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x00, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x11, 0x10,
|
|
||||||
0x11, 0x11, 0x10, 0x01, 0x11, 0x11, 0x11, 0x01, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01,
|
|
||||||
0x00, 0x01, 0x00, 0x10, 0x10, 0x00, 0x10, 0x01, 0x11, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x10,
|
|
||||||
0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x01, 0x10, 0x00, 0x01, 0x11, 0x11, 0x11, 0x11, 0x00, 0x01,
|
|
||||||
0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x00, 0x01, 0x10, 0x00, 0x00, 0x00, 0x01,
|
|
||||||
0x11, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x11, 0x10,
|
|
||||||
0x11, 0x11, 0x10, 0x01, 0x01, 0x00, 0x10, 0x01, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x10, 0x01,
|
|
||||||
0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x11, 0x10, 0x00, 0x11, 0x10, 0x00, 0x11, 0x10, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x01, 0x00, 0x00, 0x11, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x10,
|
|
||||||
0x10, 0x00, 0x10, 0x10, 0x00, 0x10, 0x11, 0x00, 0x10, 0x11, 0x11, 0x11, 0x11, 0x11, 0x10, 0x01,
|
|
||||||
0x11, 0x10, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x11, 0x10,
|
|
||||||
0x11, 0x11, 0x10, 0x01, 0x11, 0x11, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
|
||||||
};
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rPIXEL[0x576] = {
|
const unsigned char rpixel[0x576] = {
|
||||||
0x42, 0x4D, 0x76, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
0x42, 0x4D, 0x76, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||||
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0xA0, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0xC2, 0x1E, 0x00, 0x00, 0xC2, 0x1E, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0xC2, 0x1E, 0x00, 0x00, 0xC2, 0x1E, 0x00, 0x00, 0x00, 0x00,
|
|
@ -1,22 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
const unsigned char rICON_MINI[0x11A] = {
|
|
||||||
0x42, 0x4D, 0x1A, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x9A, 0x00, 0x00, 0x00, 0x6C, 0x00,
|
|
||||||
0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x23, 0x2E, 0x00, 0x00, 0x23, 0x2E, 0x00, 0x00, 0x08, 0x00,
|
|
||||||
0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x42, 0x47, 0x52, 0x73, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00,
|
|
||||||
0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x80, 0x80, 0x80, 0x00, 0x00, 0xFF, 0x00, 0x00, 0xC0, 0xC0,
|
|
||||||
0xC0, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00, 0x33, 0x33, 0x33, 0x00, 0x00, 0x03,
|
|
||||||
0x33, 0x33, 0x33, 0x33, 0x33, 0x22, 0x23, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x32, 0x22, 0x33,
|
|
||||||
0x33, 0x33, 0x33, 0x33, 0x33, 0x77, 0x22, 0x73, 0x33, 0x33, 0x33, 0x33, 0x33, 0x70, 0x00, 0x33,
|
|
||||||
0x33, 0x33, 0x33, 0x33, 0x33, 0x70, 0x00, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x37, 0x05, 0x33,
|
|
||||||
0x33, 0x33, 0x33, 0x33, 0x00, 0x00, 0x50, 0x00, 0x33, 0x33, 0x33, 0x30, 0x77, 0x77, 0x77, 0x77,
|
|
||||||
0x03, 0x33, 0x33, 0x40, 0x71, 0x77, 0x77, 0x71, 0x74, 0x33, 0x33, 0x40, 0x71, 0x77, 0x77, 0x71,
|
|
||||||
0x54, 0x33, 0x34, 0x30, 0x51, 0x77, 0x77, 0x51, 0x53, 0x33, 0x36, 0x32, 0x00, 0x00, 0x55, 0x55,
|
|
||||||
0x23, 0x33, 0x33, 0x32, 0x22, 0x22, 0x22, 0x22, 0x22, 0x23, 0x33, 0x33, 0x27, 0x77, 0x77, 0x77,
|
|
||||||
0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33
|
|
||||||
};
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rACCESS[0x472] = {
|
const unsigned char rAccess[0x472] = {
|
||||||
0x4F, 0x72, 0x67, 0x2D, 0x30, 0x32, 0x64, 0x00, 0x04, 0x04, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00,
|
0x4F, 0x72, 0x67, 0x2D, 0x30, 0x32, 0x64, 0x00, 0x04, 0x04, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00,
|
||||||
0x00, 0x00, 0xE8, 0x03, 0x46, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x46, 0x00, 0x31, 0x00, 0xE8, 0x03,
|
0x00, 0x00, 0xE8, 0x03, 0x46, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x46, 0x00, 0x31, 0x00, 0xE8, 0x03,
|
||||||
0x20, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00,
|
0x20, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rANZEN[0x23EA] = {
|
const unsigned char rAnzen[0x23EA] = {
|
||||||
0x4F, 0x72, 0x67, 0x2D, 0x30, 0x32, 0x6E, 0x00, 0x04, 0x03, 0x30, 0x00, 0x00, 0x00, 0xA0, 0x02,
|
0x4F, 0x72, 0x67, 0x2D, 0x30, 0x32, 0x6E, 0x00, 0x04, 0x03, 0x30, 0x00, 0x00, 0x00, 0xA0, 0x02,
|
||||||
0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x3C, 0x00, 0xC9, 0x00, 0xE8, 0x03,
|
0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x3C, 0x00, 0xC9, 0x00, 0xE8, 0x03,
|
||||||
0x5C, 0x00, 0x7D, 0x00, 0xE8, 0x03, 0x2E, 0x00, 0x7A, 0x00, 0xE8, 0x03, 0x0A, 0x00, 0xFB, 0x00,
|
0x5C, 0x00, 0x7D, 0x00, 0xE8, 0x03, 0x2E, 0x00, 0x7A, 0x00, 0xE8, 0x03, 0x0A, 0x00, 0xFB, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rBALCONY[0xC0A] = {
|
const unsigned char rBalcony[0xC0A] = {
|
||||||
0x4F, 0x72, 0x67, 0x2D, 0x30, 0x32, 0xA0, 0x00, 0x04, 0x04, 0x80, 0x00, 0x00, 0x00, 0x00, 0x01,
|
0x4F, 0x72, 0x67, 0x2D, 0x30, 0x32, 0xA0, 0x00, 0x04, 0x04, 0x80, 0x00, 0x00, 0x00, 0x00, 0x01,
|
||||||
0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x3C, 0x00, 0xE0, 0x00, 0xE8, 0x03,
|
0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x3C, 0x00, 0xE0, 0x00, 0xE8, 0x03,
|
||||||
0x2F, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x5C, 0x00, 0x20, 0x00, 0xE8, 0x03, 0x42, 0x00, 0x00, 0x00,
|
0x2F, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x5C, 0x00, 0x20, 0x00, 0xE8, 0x03, 0x42, 0x00, 0x00, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rBALLOS[0xDF2] = {
|
const unsigned char rBallos[0xDF2] = {
|
||||||
0x4F, 0x72, 0x67, 0x2D, 0x30, 0x32, 0x6E, 0x00, 0x04, 0x04, 0x80, 0x00, 0x00, 0x00, 0x00, 0x01,
|
0x4F, 0x72, 0x67, 0x2D, 0x30, 0x32, 0x6E, 0x00, 0x04, 0x04, 0x80, 0x00, 0x00, 0x00, 0x00, 0x01,
|
||||||
0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x21, 0x00, 0x00, 0x01, 0xE8, 0x03,
|
0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x21, 0x00, 0x00, 0x01, 0xE8, 0x03,
|
||||||
0x00, 0x00, 0x10, 0x00, 0xE8, 0x03, 0x5C, 0x00, 0x08, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x10, 0x00, 0xE8, 0x03, 0x5C, 0x00, 0x08, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rBDOWN[0xA0A] = {
|
const unsigned char rBreakDown[0xA0A] = {
|
||||||
0x4F, 0x72, 0x67, 0x2D, 0x30, 0x32, 0x6E, 0x00, 0x04, 0x04, 0xC0, 0x00, 0x00, 0x00, 0x40, 0x01,
|
0x4F, 0x72, 0x67, 0x2D, 0x30, 0x32, 0x6E, 0x00, 0x04, 0x04, 0xC0, 0x00, 0x00, 0x00, 0x40, 0x01,
|
||||||
0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x42, 0x00, 0xA0, 0x00, 0xE8, 0x03,
|
0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x42, 0x00, 0xA0, 0x00, 0xE8, 0x03,
|
||||||
0x3F, 0x00, 0x2D, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x26, 0x00, 0xE8, 0x03, 0x5C, 0x00, 0x40, 0x00,
|
0x3F, 0x00, 0x2D, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x26, 0x00, 0xE8, 0x03, 0x5C, 0x00, 0x40, 0x00,
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
const unsigned char rCEMETERY[0x11E2] = {
|
const unsigned char rCemetery[0x11E2] = {
|
||||||
0x4F, 0x72, 0x67, 0x2D, 0x30, 0x32, 0xB4, 0x00, 0x04, 0x03, 0x30, 0x00, 0x00, 0x00, 0xF0, 0x00,
|
0x4F, 0x72, 0x67, 0x2D, 0x30, 0x32, 0xB4, 0x00, 0x04, 0x03, 0x30, 0x00, 0x00, 0x00, 0xF0, 0x00,
|
||||||
0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x0A, 0x00, 0x76, 0x00, 0xE8, 0x03,
|
0x00, 0x00, 0xE8, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE8, 0x03, 0x0A, 0x00, 0x76, 0x00, 0xE8, 0x03,
|
||||||
0x3C, 0x00, 0x30, 0x00, 0xE8, 0x03, 0x02, 0x00, 0x16, 0x00, 0x20, 0x03, 0x00, 0x00, 0x77, 0x00,
|
0x3C, 0x00, 0x30, 0x00, 0xE8, 0x03, 0x02, 0x00, 0x16, 0x00, 0x20, 0x03, 0x00, 0x00, 0x77, 0x00,
|