Commit graph

39 commits

Author SHA1 Message Date
Clownacy
97acb292bb Made Game.cpp ASM-accurate
Working towards #74.
2019-06-30 03:03:25 +01:00
Clownacy
2c23de27d5 Made KeyControl.cpp ASM-accurate
Didn't realise this file was so tiny. Anyway, working towards #74.
2019-06-29 21:16:43 +01:00
Clownacy
fc9270ec8c Fix MSVC2003 2019-06-20 20:08:20 +01:00
Clownacy
d5dd2c9575 Made TextScr.cpp almost ASM-accurate
TextScriptProc is all that's left, but it's being a pain, so I'm
commiting this now, and dealing with the straggler later.
2019-05-13 23:51:11 +01:00
Clownacy
e1d3898d59 Made SelStage.cpp ASM-accurate 2019-05-13 21:31:14 +01:00
Clownacy
c9d5b3d03a Made Ending.cpp ASM-accurate 2019-05-13 20:43:43 +01:00
Clownacy
d3af5e372f Made ArmsItem.cpp ASM-accurate 2019-05-13 19:00:48 +01:00
Clownacy
c8630a8669 Removed the stdint.h replacement for MSVC2003 2019-05-13 15:24:34 +01:00
Clownacy
f04872b91b Made MyChar.cpp ASM-accurate
See #74
2019-05-13 14:17:03 +01:00
Clownacy
d4d82d0ba8 Made MycHit.cpp ASM-accurate 2019-05-13 12:19:04 +01:00
Clownacy
3bccba6236 Made NpcHit.cpp ASM-accurate 2019-05-13 02:46:07 +01:00
Clownacy
fb87b8dd57 Made NpChar.cpp almost ASM-accurate
For some damn reason I can't replicate SetBulletObject stack frame
layout.
2019-05-12 23:47:31 +01:00
Clownacy
69a2697a0a Made MycParam.cpp ASM-accurate 2019-05-11 01:20:11 +01:00
Clownacy
f3d073affe Made Profile.cpp mostly ASM-accurate
The original code used MessageBoxA, but we haven't ported any of the
WinAPI stuff yet, so there's no hWnd available.
2019-05-10 20:40:58 +01:00
Clownacy
260d245e4c Made NpcTbl.cpp ASM-accurate 2019-05-07 20:59:25 +01:00
Clownacy
a5dcebec01 Added some functions to the Devilution list 2019-05-07 16:42:19 +01:00
Clownacy
f8d4ae7014 Made Stage.cpp ASM-accurate 2019-05-07 13:52:50 +01:00
Clownacy
666269029d Made Config.cpp ASM-accurate 2019-05-07 13:18:32 +01:00
Clownacy
c9ac9d446d Made Shoot.cpp ASM-accurate 2019-05-06 18:09:19 +01:00
Clownacy
75e062c775 Made Caret.cpp ASM-accurate 2019-05-06 17:23:18 +01:00
Clownacy
0eaca9966c Made Bullet.cpp ASM-accurate 2019-05-06 16:49:52 +01:00
Clownacy
a8c4955b75 Made BulHit.cpp ASM-accurate 2019-05-06 00:00:10 +01:00
Clownacy
dea995ffe6 Made Boss.cpp ASM-accurate 2019-05-05 19:16:09 +01:00
Clownacy
9168a29f28 Remove unused SDL2 lib 2019-04-29 15:33:57 +01:00
Clownacy
75af33b7ed Remove unused MSVC files
Now that CMake compiles these dependencies directly, there's no need
to keep pre-built libraries around, except for MSVC2003.
2019-04-29 15:06:02 +01:00
Clownacy
39da44e899 Added cmake build setup 2019-04-09 21:38:25 +01: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
c7f5cb71e0 Make MSVC2003 optimise Font.cpp, and enable more warnings
Font.cpp wasn't a part of the original source code, so we don't need to
leave it unoptimised for accuracy. The font renderer is pretty
performance-intensive right now, so the optimisation should help with
that a little.
2019-03-11 03:22:27 +00:00
Clownacy
cecc3ce966 Give CSE2 its full name in the Visual Studio 2003 project file 2019-03-11 03:10:28 +00:00
Clownacy
66249dce2c Added Japanese builds to the Visual Studio 2003 project file 2019-03-11 03:07:49 +00:00
Clownacy
7e360769ca Correct MSVC2003 Freetype build instructions 2019-03-10 23:01:46 +00:00
Clownacy
cc914bdab0 More readme improvements 2019-03-09 12:35:22 +00:00
Clownacy
e885abf3dd Added missing SDL2 DLLs 2019-03-09 12:21:24 +00:00
Clownacy
63ad7b8dd9 Fixed typos 2019-03-09 12:20:29 +00:00
Clownacy
fcb61025e3 Add missing MSVC2003 libs
Goddammit
2019-03-09 11:45:10 +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
a58f5e2f77 Enabled annotated assembly output for MSVC2003 Release builds 2019-02-23 23:54:48 +00:00
Clownacy
06589ab5ea Remove leftover gitignore entry, and make MSVC2003 build define WINDOWS
This enables stuff like separate windows/taskbar icons, and system font
loading
2019-02-23 23:08:19 +00:00
Clownacy
4530bb6847 Added MSVC2003 project and dependencies
For those not in the know, Visual Studio 2003 was what Pixel used to
compile Cave Story. Getting this to compile in its original environment
goes a long way to ensuring this decompilation's accuracy, since it
allows us to check if the code creates the exact same assembly.

Since the decompilation doesn't include the original DirectX/WinAPI
backends yet, compatible SDL2 and Freetype .lib files are provided.
2019-02-23 22:46:30 +00:00