Clownacy
2a9e8bd8cc
Autodetect Raspberry Pi in CMake file
...
...instead of expecting the user to manually-define it
2019-04-18 20:04:49 +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
7e038bc24a
Fix backwards-incompatible CMake nonsense
2019-04-16 18:57:55 +01:00
Clownacy
9effc5e0fe
Lowered CMake minimum requirement to 3.7.2
...
Tested on Raspbian
2019-04-16 17:42:42 +00:00
Clownacy
e2ed9ad950
Okay, forget all that. Generating an output folder was stupid.
2019-04-14 18:25:12 +01:00
Clownacy
2c8ccc5a0b
Actually, only generate the output folder during cmake's config stage
2019-04-14 04:14:45 +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
3cbe18b9c5
Rewrite stdint.h so it's not dependant on SDL2
2019-04-13 21:27:43 +01:00
Clownacy
4d9bc0a65f
Remove the WINDOWS CMake option, and just detect Windows instead
...
Also remove the STATIC option from MSVC because why wouldn't you
2019-04-13 21:25:46 +01:00
Clownacy
bde0c979ff
More CMake improvements (also FreeType is a static lib now)
...
The official(?) binaries weren't statically-linked, and being compiled
with MSVC2017 probably meant they weren't compatible with old OSes
anyway.
So now, the 32-bit one's compiled with MSVC2003. The other's still
MSVC2017 though. While I was at it, I made them both static. *Also*
while I was at it, I made sure subpixel-rendering was enabled.
2019-04-13 20:30:20 +01:00
Clownacy
ea6f67f87c
CMake fixes
2019-04-13 18:04:17 +01:00
Clownacy
3e67b54d6f
Make MSVC static linkage optional
2019-04-11 21:33:21 +01:00
Clownacy
5002e68be7
Disable the Windows console window explicitly on all backends
...
Not just MSVC
2019-04-11 02:10:31 +01:00
Clownacy
e866d7bd9b
cmake tweaks
2019-04-11 01:15:50 +01:00
Clownacy
c63646e798
Got cmake file working on Arch
...
cmake why you so bad
2019-04-10 17:00:42 +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
f249f8c604
Added link-time optimisation to cmake file
2019-04-10 01:42:17 +01:00
Clownacy
2b7bda3b4a
Some pairity between cmake and Makefile
2019-04-10 01:22:32 +01:00
Clownacy
e54c13e22f
More cmake improvements
...
Added static build, notably
2019-04-10 01:12:23 +01:00
Clownacy
5261e6063d
Add Windows icon support to cmake project
2019-04-09 22:29:06 +01:00
Clownacy
7b2fae78ac
Fix a strange GCC build error in MapName.cpp
2019-04-09 22:28:52 +01:00
Clownacy
01297eab42
Add build options to the cmake project, and updated the README to note
...
the new Visual Studio 2003 directory location
2019-04-09 22:06:36 +01:00
Clownacy
d0e3fe115e
Removed the MSVC2003-built FreeType library
...
For some reason, the MSVC2015 version from FreeType's website works with
MSVC2003 now.
2019-04-09 21:48:10 +01:00
Clownacy
39da44e899
Added cmake build setup
2019-04-09 21:38:25 +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
f043b9caaf
Merge branch 'master' of https://github.com/cuckydev/Cave-Story-Engine-2
2019-04-08 13:50:50 +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
Cucky
612979a3a6
Merge pull request #75 from Clownacy/master
...
A load of fixes, some accuracy, and added our own Shift-JIS->UTF-8 converter
2019-03-22 14:19:46 -04:00
Clownacy
8abb8adda0
Make the readme a bit more clear
2019-03-22 11:24:36 +00:00
Clownacy
1b7b8922f3
Added pkg-config to the list of dependencies
...
I swear me and Cucky talked about this already, yet for some reason I
never added it.
2019-03-21 18:56:55 +00:00
Clownacy
b81e4a11ab
Updated the MSVC2003 copy of Freetype to 2.10.0
...
Found a way to build the library that doesn't involve a command line and
a MinGW make utility, so I switched to that instead. Also, this new
method produces _dynamic_ libraries, so that's a bonus.
2019-03-21 18:53:57 +00:00
Clownacy
6cbc7fdf4a
Updated .gitignore
2019-03-21 13:48:01 +00:00
Clownacy
9c46957227
...Actually make the RASPBERRY_PI option do something
2019-03-18 21:16:46 +00:00
Clownacy
9f60b08807
Added RASPBERRY_PI flag to README.md
2019-03-18 20:56:54 +00:00