Commit graph

23 commits

Author SHA1 Message Date
Clownacy
4154b8c1bd Minor cleanup to IsEnableBitmap 2019-11-17 18:25:23 +00:00
Clownacy
262fcfbaa3 Clean-up Generic.cpp
Also applied some windows.h constants over raw values
2019-11-15 19:44:44 +00:00
Gabriel Ravier
5b18283e5f Documentation : Made some comments clearer
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:37:10 +01:00
Gabriel Ravier
fa304081fe Documentation : Add note about irreproductability of __DATE
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:08 +01:00
Clownacy
8114f88dd1 Shut up some build warnings 2019-09-06 15:21:43 +00:00
Clownacy
3bac7674f4 Correct some WinAPI usage
All the broken stuff just happened to work on 32-bit, but would cause
MinGW-w64 to explode if you tried building as 64-bit.

I guess thanks to Microsoft keeping the basic C int types the same
size in 64-bit as they were in 32-bit, this branch compiles as 64-bit
just fine, despite Cave Story's many int-size dependencies.
2019-09-05 15:03:34 +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
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
ea489f9063 Added a bugfix for OpenVolumeConfiguration
Now it works on newer versions of Windows
2019-09-01 20:20:54 +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
142511a52c Cleanup 2019-08-29 00:05:41 +01:00
Clownacy
6e30d329e6 Made Generic.cpp mostly ASM-accurate
See #74
2019-08-28 23:22:57 +01:00
Clownacy
974865e2d2 Add some Windows-only Generic.cpp functions
These things are annoying. I really need to split this repo into
accurate and portable branches soon.
2019-07-03 11:22:40 +01:00
Clownacy
c9d5b3d03a Made Ending.cpp ASM-accurate 2019-05-13 20:43:43 +01:00
Clownacy
676ee004fe Removed the dependency on stdint.h
This doesn't exist in MSVC2003, and nothing in the Linux port's debug
symbols indicate Pixel used it.
2019-05-13 15:18:33 +01:00
Gabriel Ravier
3d94702bea Fix parentheses and comments in Game.cpp, Generic.cpp
Also fixed formatting for a break (two spaces instead of a tab)

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-08 09:03:56 +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
0bb9760d87 Rearranged #includes 2019-02-18 21:30:22 +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
cad4518d30 Fixed some portability issues (tested on a Pi) 2019-02-11 14:42:24 +00:00
cuckydev
66f545af41 gave credits its music code, changed language related stuff, bleh bleh blah blah bluh bluh blyh 2019-01-22 20:01:35 -05:00
cuckydev
f43a3c1130 Org and sound 2019-01-19 21:23:04 -05:00
cuckydev
c84f49f1dc wip 2019-01-16 22:48:21 -05:00