Commit graph

78 commits

Author SHA1 Message Date
Clownacy
5b89a31976 Split bin2h to its own CMake file
Also added warnings to its part of the Makefile
2019-05-23 19:42:52 +01:00
Clownacy
609d54916b Renamed debug builds to 'CSE2_debug' and 'DoConfig_debug'
Makes a bit more sense than 'CSE2d' and 'DoConfigd'
2019-05-22 00:29:16 +00:00
Gabriel Ravier
5e129967d8 Changed debug flags from -O0 -g to -Og -g3
-Og is because "It is a better choice than -O0 for producing debuggable code because some compiler passes that collect debug information are disabled at -O0." and for making the code at least optimized a little bit
-g3 is for adding maximum debug information (such as macro information)

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-07 08:34:37 +02:00
Clownacy
a6ac6787d3 Embed the fonts in the EXE
Now CSE2.exe should be drop-in replacement for Doukutsu.exe, with
no extra files needed.
2019-05-05 14:03:16 +01:00
Clownacy
6dc85875ff Changed output executable naming scheme
Now the Makefile and CMake build systems are identical:

Release builds are named CSE2, and debug builds are named CSE2d.

Language no longer has an effect on filename for the Makefile.
2019-05-05 03:14:58 +01:00
Clownacy
ddf61dd791 Added Wave.dat's original file extension
beebd77d73/source/Sound.cpp (L477)

Thank goodness for the Org2 source release
2019-05-05 02:20:37 +01:00
Clownacy
d2f1b2c1a9 Renamed some of the resource files
The Linux port's get_resource function seems to be using the original
filenames, rather than the 8.3 filenames used by the Windows EXE's
resource system. Too bad it doesn't tell us the original file extensions.
2019-05-04 18:26:41 +01:00
Gabriel Ravier
d854004463 Added .gitattributes for normalisation and normalized a few sources files to LF (from CRLF)
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-03 12:27:11 +02:00
Clownacy
e2ed9ad950 Okay, forget all that. Generating an output folder was stupid. 2019-04-14 18:25:12 +01:00
Clownacy
5ec9fea302 The build folder is now automatically generated
This way, we don't need to tell everyone who uses the enhanced branch
that they need to copy res/data_en. It also gives the CMake project a
way to bundle everything into a neat little folder.
2019-04-14 03:36:57 +01:00
Clownacy
2b7bda3b4a Some pairity between cmake and Makefile 2019-04-10 01:22:32 +01:00
Clownacy
9c46957227 ...Actually make the RASPBERRY_PI option do something 2019-03-18 21:16:46 +00:00
Clownacy
6744235892 Added our own Shift-JIS to Unicode converter
This removes the dependency on iconv, meaning MSVC2003 should be able to
compile the Japanese build now.
2019-03-11 03:06:41 +00:00
Clownacy
5a9553cb30 Makefile fixes and added link-time optimisation
Noticed the mistakes while compiling with Clang on Arch.
2019-03-02 23:15:08 +00:00
Clownacy
063bfbc71c Fixed some static-related stupidity in the Makefile 2019-02-20 16:13:00 +00:00
Clownacy
df2620171f Switched to C++98
It compiles without any issues, so why not?
2019-02-19 22:39:30 +00:00
Clownacy
ec148c1072 Made the spriterects C++03-compatible 2019-02-19 22:30:43 +00:00
Clownacy
4d04590b28 Made the game compile as C++03
Still need to sort out the C++11-only initialiser lists that GCC allows
in C++03 mode with a warning.
2019-02-19 16:05:28 +00:00
Clownacy
8e76e38591 Possible fix for static builds on non-Windows platforms? 2019-02-19 03:32:28 +00:00
Clownacy
c44186d93a Ditched SDL's file IO for stdio and our own convenience functions
ASM-accurate file stuff can come later.
2019-02-15 20:33:08 +00:00
Clownacy
8942c6cc48 Gave the music file extensions 2019-02-14 15:42:50 +00:00
Clownacy
a5860afeb9 Added Makefile dependency generation, and did some cleanup 2019-02-11 18:36:56 +00:00
Clownacy
cad4518d30 Fixed some portability issues (tested on a Pi) 2019-02-11 14:42:24 +00:00
Clownacy
4e61be56d0 Renamed the SDL icon file
Turns out it has an actual name in the original EXE
2019-02-10 17:03:55 +00:00
Clownacy
d4c0cde748 Added Windows-specific icon files 2019-02-10 16:55:54 +00:00
Clownacy
6265f81b14 Added cursors 2019-02-10 16:35:23 +00:00
Clownacy
545dcdf18d Merge branch 'master' of https://github.com/cuckydev/Cave-Story-Engine-2 2019-02-10 00:43:48 +00:00
Clownacy
c2821d8350 Added Ballos
Finally. The game's done.
2019-02-10 00:42:48 +00:00
Clownacy
7d788dd759 Added Heavy Press 2019-02-09 23:21:27 +00:00
cuckydev
ded926b422 Saving Nikumaru Counter 2019-02-09 18:03:38 -05:00
Clownacy
10f69d115b Added Undead Core and more NPCs 2019-02-09 14:47:20 +00:00
Clownacy
5719c5aabd Fixed Makefile
Derp
2019-02-09 13:35:39 +00:00
Clownacy
80d0bda206 Fixed Japanese build 2019-02-09 01:52:36 +00:00
Clownacy
3306316162 More NPCs, and added the Sisters 2019-02-07 20:45:53 +00:00
Clownacy
aa08331c36 Added IronHead and relevant NPCs
Also added the AMJ TSC command, so getting the Spur works
2019-02-07 15:10:46 +00:00
Clownacy
f47f036e36 Added Core and more NPCs 2019-02-07 14:08:53 +00:00
cuckydev
21f83b6d56 Period 2019-02-06 16:41:37 -05:00
Clownacy
e4c520bb7c Added NPC334 (sweat) 2019-02-06 20:18:19 +00:00
Clownacy
acc12ea5ed Added Monster X 2019-02-06 12:07:54 +00:00
Clownacy
bb78f44a2f Added Labyrinth NPCs 2019-02-06 09:44:29 +00:00
Clownacy
c29543001d Added more NPCs and Balfrog 2019-02-04 18:58:30 +00:00
cuckydev
42f7bb55c0 STAR 2019-02-03 13:26:43 -05:00
cuckydev
66e96f47b7 omega 2019-02-02 01:19:12 -05:00
Clownacy
687f02119f Added SelStage.cpp (teleporter menu) 2019-01-31 18:38:21 +00:00
Clownacy
5c8f80e611 Added some TSC commands and BossLife.cpp 2019-01-31 14:36:54 +00:00
Clownacy
8954e9aaca More NPCs, and added Flash.cpp 2019-01-31 13:26:59 +00:00
Clownacy
74bdbf86ca More NPCs
Cemetery done (minus Ma Pignon of course)
2019-01-30 21:07:48 +00:00
cuckydev
bea22e72e0 bullet 2019-01-30 16:03:10 -05:00
cuckydev
4a104a527c FORTNTIE 2019-01-29 17:47:34 -05:00
Clownacy
25b58cc072 More NPCs 2019-01-29 20:12:49 +00:00