Clownacy
44094b103e
<SDL.h> -> "SDL.h"
...
The SDL devs recommend this:
https://wiki.libsdl.org/FAQDevelopment#Do_I_.23include_.3CSDL.h.3E_or_.3CSDL.2FSDL.h.3E.3F
2019-06-06 18:51:44 +00: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
Clownacy
00ca00f5dd
Weed out some usage of C++ bools
...
Pixel used BOOL, the C89-friendly Windows-specific equivalent
2019-05-14 01:35:04 +01:00
Clownacy
c9d5b3d03a
Made Ending.cpp ASM-accurate
2019-05-13 20:43:43 +01:00
Clownacy
9b82baeb02
Made MiniMap.cpp actually ASM-accurate
2019-05-13 17:50:09 +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
Clownacy
b5699d9760
SDL's docs specifically calls these 'scancodes' not 'scan codes'
2019-05-09 18:45:28 +01:00
Gabriel Ravier
c6bcbeab2f
Revert "corrections" of "colour" to "color", makes style inconsistent though :(
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-08 18:01:15 +02:00
Gabriel Ravier
70818bd58c
Some orthograph corrections
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-08 12:19:15 +02:00
Gabriel Ravier
b19733f47e
Correct formatting in Main.cpp
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-08 09:30:14 +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
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
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
7eae431e3a
Added missing newlines to printfs
2019-03-07 00:19:33 +00:00
Clownacy
923749e41e
Some more fixes for errors MSVC2003 noticed
...
Now I've got the entire project building with MSVC2003, _and_ I can
compare its ASM with Devilution's disassembler tool.
2019-02-22 21:18:39 +00:00
Clownacy
9203105235
Shut up some warnings
2019-02-19 22:57:00 +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
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
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
cuckydev
1b0a8e56db
accurater?
2019-02-14 23:21:23 -05:00
cuckydev
c7da84bb9f
accuracy?
2019-02-12 20:58:42 -05:00
Clownacy
1546e6ed4e
Remove opengl hint
...
I'm just gonna guess that was accidentally included
2019-02-11 14:57:54 +00:00
cuckydev
5aea2ad77b
Fortnite
2019-02-10 20:46:33 -05: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
cuckydev
1e748f9406
fix
2019-02-09 23:07:23 -05:00
cuckydev
767c2972ae
tallscreen fix, replicated MSVC rand
2019-02-09 22:02:18 -05:00
cuckydev
ed4d67b0cb
nope
2019-01-31 10:58:04 -05:00
cuckydev
7a44e6c8e0
Bullets collide with slopes
2019-01-30 16:41:18 -05:00
cuckydev
bea22e72e0
bullet
2019-01-30 16:03:10 -05:00
Clownacy
90ef30bece
Added option for fonts to be loaded from Windows
...
This restores some compatibility with Config.dat's font settings.
2019-01-29 14:20:25 +00:00
cuckydev
10d946aca2
map system doesn't work
2019-01-29 09:17:13 -05: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
Clownacy
409e94a2de
Removed junk res/ICON files, and made the icon filesize smaller
...
Now, the icon is stored as 16x16, but upscaled to 256x256 when it's
loaded.
2019-01-21 05:13:29 +00:00
cuckydev
b1bb48148b
resource and japanese
2019-01-20 15:55:28 -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
cuckydev
c6e3fa8685
working on draw stuff (doesn't compile)
2019-01-12 00:37:07 -05:00
GreenDev
0498f7ce25
Working on input... working on the entry point
2019-01-11 22:04:35 -05:00
cuckydev
b117a7a1bc
Initial Commit
2019-01-10 21:16:55 -05:00