Clownacy
55f1d3a9fe
Fixed some problems found while compiling most of this with VC++2003
...
I could compile most of this, but not link it (SDL2's .lib files must
be too new).
2019-02-20 03:55:05 +00:00
Cucky
4be2ef3942
Merge pull request #69 from Clownacy/master
...
A bugfix, and made the project C++98-compatible
2019-02-19 19:43:10 -05:00
Clownacy
bb065aa697
Merge branch 'master' of https://github.com/cuckydev/Cave-Story-Engine-2
2019-02-19 23:39:16 +00:00
Clownacy
a76b7a3a87
Fix sprite upscaling on platforms where long isn't 32-bit
...
That was dumb.
2019-02-19 23:35:37 +00:00
Clownacy
9203105235
Shut up some warnings
2019-02-19 22:57: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
Cucky
e7ad5271a4
Merge pull request #68 from Clownacy/master
...
Just a bunch of stuff (accuracy improvements, code cleanup, portability improvements, etc.)
2019-02-19 17:07:16 -05: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
ff4352ffde
Made more NPCs ASM-accurate
...
Geez, there has to be a faster way to do this. This is tedious as all
hell.
2019-02-19 15:52:25 +00:00
Clownacy
754bed870c
Got NpcAct000.cpp to compile in MSVC2003 and made NPCs 0/1 ASM-accurate
2019-02-19 04:33:50 +00:00
Clownacy
8e76e38591
Possible fix for static builds on non-Windows platforms?
2019-02-19 03:32:28 +00:00
Clownacy
84945aa898
Removed some old unimplemented-function stuff that we no longer need
2019-02-19 00:55:01 +00:00
Clownacy
fbaf46548f
Made Back.cpp about as ASM-accurate as I can make it
...
...without removing the widescreen stuff, at least.
2019-02-19 00:50:16 +00:00
Clownacy
e1e49a4dcc
Made ArmsItem.cpp ASM-accurate
2019-02-19 00:18:32 +00:00
Clownacy
0bb9760d87
Rearranged #includes
2019-02-18 21:30:22 +00:00
Clownacy
809fb95b26
Fix Surface_Ids crash
2019-02-18 20:40:51 +00:00
Clownacy
e5caff593c
Removed the SDL dependency from Draw.h
...
Should make compiling with VC++ 2003 simpler
2019-02-18 20:40:07 +00:00
Clownacy
132d3c5110
Applied SURFACE_ID constants to everything
2019-02-18 14:36:58 +00:00
Clownacy
f08c1c3aa6
Added some bugfixes and cleanup
2019-02-18 13:24:10 +00:00
Clownacy
1042d3fcf2
Note a difference in the old Linux port
2019-02-18 02:56:27 +00:00
Clownacy
f9a4ea9ed4
Fixed an inaccuracy in NPC002 (Behemoth)
...
Was missing some calls for the sound effects, screen rumble, and smoke
NPC
2019-02-18 02:39:38 +00:00
Clownacy
99474e4aef
Fix another capitalisation error in the stage table
...
Should probably stick these fixes in FIX_BUGS at some point...
2019-02-17 00:43:38 +00:00
Clownacy
132f523510
Changed direction key fix
...
The old fix kinda just hardcoded the game to English keyboard layouts.
Scancode bind the keys based on position instead of meaning, which
should work better.
2019-02-16 22:18:26 +00:00
Clownacy
eb16fa45dc
Revert "hell"
...
This reverts commit 07d01143e6
.
2019-02-16 17:11:15 +00:00
Clownacy
b205399825
Merge branch 'master' of https://github.com/cuckydev/Cave-Story-Engine-2
2019-02-16 17:10:58 +00:00
Cucky
c3cd3e9f85
Update README.md
2019-02-16 11:47:30 -05:00
cuckydev
07d01143e6
hell
2019-02-16 11:35:09 -05:00
Clownacy
ef46088671
Removed leftover SDL_rwops includes
2019-02-16 12:50:58 +00:00
Clownacy
b2a024d4b6
Fixed bad free
...
That's what I get for recycling code I guess.
2019-02-15 22:43:19 +00:00
Clownacy
da18e8211d
Merge branch 'master' of https://github.com/cuckydev/Cave-Story-Engine-2
2019-02-15 20:52:48 +00:00
Clownacy
0403f26f66
Two fixes
...
Made InitBack work with .bmp backgrounds, and fixed a file not being
closed in Draw.cpp
2019-02-15 20:52:03 +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
cuckydev
1b0a8e56db
accurater?
2019-02-14 23:21:23 -05:00
Clownacy
8942c6cc48
Gave the music file extensions
2019-02-14 15:42:50 +00:00
Clownacy
3b395c2639
Draw.cpp fix and optimisations
...
For whatever reason, alpha blending is enabled by default on surfaces.
Disabling it should result in faster blits, and also follow DirectDraw's
behaviour more closely.
2019-02-14 14:18:05 +00:00
cuckydev
e1cd4cf8d8
fix
2019-02-13 19:46:45 -05:00
Cucky
cd9df8ec47
Merge pull request #65 from Clownacy/master
...
Shut up some warnings
2019-02-13 15:54:08 -05:00
Clownacy
2453c456af
Update README.md
2019-02-13 19:53:13 +00:00
Clownacy
c844bc9f49
Avoid VLAs
...
'VLAs are bad because stack overflows' yeah yeah yeah except this
doesn't involve the stack at all.
2019-02-13 16:49:45 +00:00
Clownacy
d7813fd900
Fixed some warnings
2019-02-13 15:43:35 +00:00
cuckydev
08d9ca4ad8
fix???
2019-02-12 21:28:44 -05:00
cuckydev
c387c31d04
help
2019-02-12 21:27:14 -05:00
cuckydev
c7da84bb9f
accuracy?
2019-02-12 20:58:42 -05:00
Cucky
c75894e9ef
Merge pull request #63 from Clownacy/master
...
Fixed 3x window upscaling
2019-02-12 16:26:35 -05:00
Clownacy
9dd3eefafb
Updated README
2019-02-12 14:40:48 +00:00
Clownacy
3a08ad5006
Fixed 3x window upscaling
...
SDL's upscaler is stupid, and wound up being off-by one... on an
*integer-factor upscale*
2019-02-12 14:31:38 +00:00
Clownacy
f54e325b9e
Removed junk cursor resource files
2019-02-12 14:31:37 +00:00
Cucky
f302c55978
Merge pull request #62 from Clownacy/master
...
Made TextScr.cpp as ASM-accurate as possible for now, and added a bugfix
2019-02-12 08:36:15 -05:00
Clownacy
2f5472547d
Added a bugfix
2019-02-12 04:38:26 +00:00