Clownacy
25e68bfb9d
Mark string pointers as const
2019-05-06 20:18:24 +01:00
Clownacy
421a3c46cd
Made signed chars explicit
...
The default sign varies between hardware.
Text seems to always be ambiguously 'char', so I've left those
2019-05-06 20:04:47 +01:00
Clownacy
6816f92b6d
Fix error
2019-05-06 18:13:22 +01:00
Clownacy
c9ac9d446d
Made Shoot.cpp ASM-accurate
2019-05-06 18:09:19 +01:00
Clownacy
75e062c775
Made Caret.cpp ASM-accurate
2019-05-06 17:23:18 +01:00
Clownacy
0eaca9966c
Made Bullet.cpp ASM-accurate
2019-05-06 16:49:52 +01:00
Clownacy
a8c4955b75
Made BulHit.cpp ASM-accurate
2019-05-06 00:00:10 +01:00
Clownacy
dea995ffe6
Made Boss.cpp ASM-accurate
2019-05-05 19:16:09 +01:00
Clownacy
ef8618d446
.gitignore the converted resource files
2019-05-05 14:09:18 +01: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
1d064204d5
This #include is needless
2019-05-05 02:38:38 +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
f7c1ca86c3
Remove Resource.cpp's dependence on SDL2
...
This also makes its API a lot more similar to Windows'
2019-05-05 01:57:23 +01:00
Clownacy
58a3974e1a
Added an accuracy improvement
...
It affects portability though, so it's hidden behind the NONPORTABLE
flag.
2019-05-04 21:39:16 +00:00
Clownacy
dc0f242f25
Made clamp macro safer
2019-05-04 21:37:06 +00: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
c52004a1b3
Add a missing #include
2019-05-03 01:40:52 +01:00
Clownacy
7d222231ae
Added some missing headers
2019-04-26 01:41:36 +01:00
Clownacy
0c018a9fd6
Deobfuscated null characters
2019-04-25 16:26:37 +01:00
Clownacy
5f0754b23c
Correct NPC069's name
2019-04-23 18:59:03 +01:00
Clownacy
b38aeaf064
Made TextScriptProc return 0 if it encounters an unknown command
...
This is what the original game does
2019-04-23 18:19:41 +01:00
Clownacy
468aa2efc1
Added error message boxes to the TSC parser
2019-04-23 09:50:15 +01:00
Clownacy
79bf011e3b
Made GenericLoad.cpp ASM-accurate
2019-04-22 20:12:43 +01:00
Clownacy
ac904aa4ae
Fixed uninitialised pointer
2019-04-22 00:40:03 +01:00
Clownacy
cc4eb82162
Added caching to the font system
...
I never liked how much of a bottleneck the font renderer was. Maybe now
the credits won't stutter like mad on the Raspberry Pi.
2019-04-21 23:54:05 +01:00
Clownacy
f25df2ce07
Remove SDL2 dependency from Font.cpp
2019-04-21 21:28:18 +01:00
Clownacy
295673b813
Sound cleanup and optimisation
...
PlaySoundObject is also more like it was in the original source code
2019-04-19 01:24:08 +01:00
Clownacy
d38c96622c
Remove Raspberry Pi hack that forces SDL2 to use OpenGLES2
...
This was only for Void and Arch ARM, but I think I'm just setting them up
wrong. Raspbian doesn't need this hack to reach 60FPS.
2019-04-18 19:58:40 +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
49014530e7
Clarify a bug
2019-04-10 11:55:23 +01:00
Clownacy
b92f1cbb1c
Fix incorrectly-decompiled value in TextScr.cpp
2019-04-10 11:16:17 +01:00
Clownacy
5c68009e7a
Made English MapName.cpp stuff match the Japanese version
2019-04-10 02:12:34 +01:00
Clownacy
7b2fae78ac
Fix a strange GCC build error in MapName.cpp
2019-04-09 22:28:52 +01:00
Clownacy
9e7c36c1a6
Fixed a BOOL being set to 0 instead of FALSE
2019-04-09 12:46:28 +01:00
Clownacy
cfcee6d4c3
Made Triangle.cpp ASM-accurate
2019-04-08 16:57:20 +01:00
Clownacy
f8f46fc1e4
Made Star.cpp ASM-accurate
2019-04-08 16:50:28 +01:00
Clownacy
8a569b127f
Made MapName.cpp ASM-accurate
2019-04-08 16:34:18 +01:00
Clownacy
f3a2c96ce6
Made PixTone.cpp ASM-accurate
...
I DID IT, SQUIDWARD
But really, that was annoying to figure out. Even though I already know
the way the stack frame is sorted has something to do with alphabetical
order, it's still affected by the order of declaration too.
2019-04-08 15:54:56 +01:00
Clownacy
ddaf7fc8bb
Made Flags.cpp actually ASM-accurate
2019-04-08 14:43:04 +01:00
Clownacy
5ed2dac197
Made BossX.cpp ASM-accurate
2019-04-08 13:49:45 +01:00
Clownacy
de4c16b449
Made BossTwinD.cpp ASM-accurate
2019-04-08 12:38:47 +01:00
Clownacy
64dbeaa3c2
Made BossPress.cpp ASM-accurate
2019-04-08 12:16:44 +01:00
Clownacy
9e22db16fd
Made BossOhm.cpp ASM-accurate
...
There were a few decompilation mistakes in here
2019-04-08 11:50:41 +01:00
Clownacy
3a856e4d9d
Made BossLife.cpp ASM-accurate
2019-04-06 13:43:35 +01:00
Clownacy
a38ee793a2
Made BossIronH.cpp ASM-accurate
2019-04-06 13:30:02 +01:00
Clownacy
302c923d5b
Made BossFrog.cpp ASM-accurate
2019-04-06 13:22:20 +01:00
Clownacy
98bab5ca80
Made BossBallos.cpp ASM-accurate
...
Turns out I made a mistake while decompiling this, and got a check
backwards.
2019-04-06 12:44:58 +01:00
Clownacy
aa9b66eb36
Made BossAlmo2.cpp ASM-accurate
2019-04-05 22:14:16 +01:00
Clownacy
533f641c91
Made BossAlmo1.cpp ASM-accurate
2019-04-05 21:41:44 +01:00