Clownacy
9cbaa0be00
Merge branch 'accurate' into portable
2020-01-08 13:16:21 +00:00
Clownacy
36f203ca16
More-accurate Back.cpp variable arrangement
2020-01-07 05:11:43 +00:00
Clownacy
84626ea710
Merge branch 'accurate' into portable
2020-01-07 04:55:16 +00:00
Clownacy
58d7a45392
Empty Tags.h
...
There's no evidence Tags.h contained these variables (if anything, it
appears that Pixel manually declared them in every file that used
them).
gg Pixel
2020-01-06 21:20:17 +00:00
Clownacy
0ec5d85d56
Merge branch 'accurate' into portable
2019-11-17 18:30:44 +00:00
Clownacy
5914ce01ef
Clean-up Back.cpp
2019-11-17 16:31:34 +00:00
Clownacy
18ed6aa9e1
Merge branch 'accurate' into portable
2019-09-20 16:01:05 +00:00
Clownacy
602315fa39
Deobfuscate a value without affecting ASM
...
Doing 'fx / 32 / 0x200' produces different assembly.
2019-09-15 18:46:52 +01:00
Clownacy
0510e017e1
Merge branch 'accurate' into portable
2019-09-10 02:03:58 +00:00
Clownacy
2cb7bfbd3d
Tiny cleanup
2019-09-10 01:59:26 +00:00
Clownacy
385d7e5844
Clean up Back.cpp a little
2019-09-10 01:04:09 +01:00
Clownacy
5b5d5ae729
Revert "Restore the Windows-style path separators"
...
This reverts commit 42e1b36fd8
.
2019-09-05 14:19:17 +01:00
Clownacy
84c3cd825e
Merge branch 'accurate' into portable
2019-09-05 14:18:42 +01:00
Clownacy
42e1b36fd8
Restore the Windows-style path separators
2019-09-05 14:05:27 +01:00
Clownacy
4e50046d4b
Remove WINDOWS and NONPORTABLE
...
Now that the portable stuff gets its own branch, these are unneeded
2019-09-04 02:14:15 +01:00
Clownacy
73e18b4610
Removed the WINDOWS and NONPORTABLE stuff
...
Now that all the ASM-accurate stuff is in its own branch, we don't
need these anymore.
2019-09-04 00:54:11 +01:00
Clownacy
5ea356a3bd
Weed out a lot of the Windows dependency
...
Storytime: Cucky's original SDL2 port work involved using SDL2's
threading API to emulate the original WinAPI threading.
I can't be assed with that stuff, so I used the same trick Cucky did
for the Wii port, and hooked Organya up to the SDL2 audio callback.
This actually opens up the possibility for perfectly-synchronised
Organya playback. By that I mean, instead of needing a super
low-latency audio callback, I can have the callback synchronise its
audio mixing with Organya itself. I haven't done it yet, I plan to
soon.
2019-09-04 00:28:23 +01:00
Clownacy
35344c5f4f
Fixes
...
What is it with Pixel's official code, and relying on non-standard
stuff? Even his PxTone library had portability issues.
2019-09-02 02:02:25 +01:00
Clownacy
03e513365b
PATH_LENGTH is actually Windows's MAX_PATH
...
When MAX_PATH isn't available, use FILENAME_MAX. This might be a bad
idea.
2019-08-31 01:44:53 +01:00
Clownacy
0b697e557c
Made Back.cpp almost ASM-accurate
...
See #74
2019-08-28 22:02:49 +01:00
Clownacy
c80b593a3f
Some #include fixes
...
Finally figured out how to get include-what-you-use working
2019-06-06 18:44:28 +00:00
Clownacy
d2b5872c95
Weeded out some bool usage
...
Cave Story was written in C89. No bools. I've left in Sound.cpp's
though, since that's written in C++98 currently.
2019-05-24 10:07:30 +01:00
Gabriel Ravier
bf4aa6b6c0
Did some formatting and grammatical/orthographic corrections
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-10 09:46:05 +02:00
Clownacy
cb730ff9d7
Merge branch 'master' of https://github.com/Clownacy/Cave-Story-Engine-2
2019-05-07 16:42:41 +01:00
Clownacy
08de04bad7
Some accuracy-related things for Back.cpp
2019-05-07 16:35:41 +01:00
Gabriel Ravier
4f208b3b8e
Make comment style consistent
...
Just added a space if there was no space after "//"
Also I changed my regex to "((//|\;)[^ ]|(for|while|if|while|do|void|int|bool)\(|(for|while|if|while|do)\ \(.*\)\;)"
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-07 12:44:32 +02:00
Gabriel Ravier
960fa6f456
Removed all trailing spaces and added newline at EOF (when not present)
...
Also changed a "linux" to "Linux"
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-07 11:55:42 +02:00
Clownacy
111313ec77
Fixed the Core's water not displaying properly
...
Also made PutFront ASM-accurate (with the exception of the black bars
stuff)
2019-03-04 00:34:02 +00:00
Clownacy
532661b0cf
Made Map.cpp and some of NpcAct020.cpp ASM-accurate
...
Also added a new constant 'NONPORTABLE', for enabling bits of code that
are non-portable, but needed for accuracy
2019-02-24 14:35:35 +00:00
Clownacy
01ddc5e923
Fixed some warning MSVC2003 was giving in /W3 mode
2019-02-23 21:45:57 +00:00
Clownacy
3eca2d7cf3
Add all GetCortBoxColor calls back (also I found a vanilla bug)
2019-02-21 20:56:27 +00:00
Clownacy
995a4f7a79
Work around a portability issue for now
...
We'll maybe need a new compiler flag or something. I don't like leaving
something like this enabled by default.
2019-02-20 19:55:45 +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
0bb9760d87
Rearranged #includes
2019-02-18 21:30:22 +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
ef46088671
Removed leftover SDL_rwops includes
2019-02-16 12:50:58 +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
d7813fd900
Fixed some warnings
2019-02-13 15:43:35 +00:00
cuckydev
3d0f3635a7
fixed back
2019-02-10 10:25:42 -05:00
cuckydev
92b798610c
Added some thingy
2019-02-10 09:29:51 -05:00
cuckydev
767c2972ae
tallscreen fix, replicated MSVC rand
2019-02-09 22:02:18 -05:00
cuckydev
4bbc2fa779
wide fix credit stuf
2019-02-09 13:23:51 -05:00
cuckydev
57f4729ba2
fixed artery bars
2019-02-07 16:36:53 -05:00
cuckydev
9e62a6d814
added core npc stuff
2019-02-06 22:26:42 -05:00
cuckydev
d6da832f88
did some widescreen fixes and fixed baby polish
2019-02-05 21:21:43 -05:00
cuckydev
cbc5542cca
added some stuff
2019-01-24 22:19:56 -05:00
cuckydev
f43a3c1130
Org and sound
2019-01-19 21:23:04 -05:00