Commit graph

24 commits

Author SHA1 Message Date
Clownacy
84b2f047d6 More accurate library linkage
For some reason the inherited libraries are linked first in the
original EXE, which I can't replicate without explicitly adding them.
But I'm not doing that yet.
2019-09-01 18:31:53 +01:00
Clownacy
8892dc24b5 ASM-accurate Main.cpp and added the various Windows menus 2019-09-01 18:15:12 +01:00
Clownacy
451945e80c Ripped out SDL2, and begun made WinMain ASM-accurate
Almost there... see #74.
2019-09-01 14:39:16 +01:00
Clownacy
f956eb9264 Mostly ASM-accurate Draw.cpp
See #74
2019-08-31 17:43:45 +01:00
Clownacy
d9043a7c49 Added Dialog.cpp
The filename is a total guess, but Microsoft's own word for these
menus is 'dialog', and these functions appear before the Draw.cpp
functions (the source files are linked alphabetically).
2019-08-31 00:22:07 +01:00
Clownacy
d5ee5f6979 Made Input.cpp ASM-accurate
See #74
2019-08-29 19:27:56 +01:00
Clownacy
470c5d86d5 ASM-accurate Sound.cpp and Organya.cpp (except for one function) 2019-08-28 07:55:42 +01:00
Clownacy
e67c1e3640 Migrated to the native Windows resource file system 2019-08-27 23:59:57 +01:00
Clownacy
84faec1bd1 Resource file overhaul part 1: metadata 2019-08-27 22:33:50 +01:00
Clownacy
ea83d4ba8a Merge branch 'master' into accurate 2019-08-25 20:35:01 +01:00
Clownacy
8f5370ea81 Fix the MSVC2003 build, and add RestoreTextScript to the...
...devilution-comparer list.
2019-08-13 20:03:13 +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
fc9270ec8c Fix MSVC2003 2019-06-20 20:08:20 +01:00
Clownacy
c8630a8669 Removed the stdint.h replacement for MSVC2003 2019-05-13 15:24:34 +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
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