Commit graph

941 commits

Author SHA1 Message Date
Clownacy
f24ecd2e39 New screenshot 2019-09-01 19:00:42 +01:00
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
77430014e4 Add cursors and icons
I guess this ASM-accurate side-project is "complete" now...
2019-09-01 18:22:52 +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
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
070e4b1455 Populate Dialog.h 2019-08-31 00:57:40 +01:00
Clownacy
da46ff8746 Merge branch 'master' into accurate 2019-08-31 00:26:34 +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
766f24188f Correct a header name
Windows isn't case-sensitive, but MinGW-w64 on Linux is.
2019-08-30 19:30:35 +00:00
Clownacy
2f56effc51 Accurate main function variable names 2019-08-29 20:19:31 +01:00
Clownacy
36291ebf36 Cleanup
Doesn't affect the generated ASM
2019-08-29 19:36:39 +01:00
Clownacy
d5ee5f6979 Made Input.cpp ASM-accurate
See #74
2019-08-29 19:27:56 +01:00
Clownacy
0af39741d4 Merge branch 'master' into accurate 2019-08-29 00:22:18 +01:00
Clownacy
9f81f9e080 Move MakeSurface_Generic to the correct place in Draw.cpp 2019-08-29 00:21:43 +01:00
Clownacy
142511a52c Cleanup 2019-08-29 00:05:41 +01:00
Clownacy
bbf2f197b5 Merge branch 'master' into accurate 2019-08-29 00:01:36 +01:00
Clownacy
a0b2e69a1f Rearranged some functions to match the original EXE 2019-08-29 00:00:57 +01:00
Clownacy
17ae81823c Fixes 2019-08-29 00:00:17 +01:00
Clownacy
34986ff049 Restore some commented-out code 2019-08-28 23:40:07 +01:00
Clownacy
6e30d329e6 Made Generic.cpp mostly ASM-accurate
See #74
2019-08-28 23:22:57 +01:00
Clownacy
0b697e557c Made Back.cpp almost ASM-accurate
See #74
2019-08-28 22:02:49 +01:00
Clownacy
8bce9ffc7a Cleanup 2019-08-28 17:40:43 +01:00
Clownacy
e738541afd Note an inaccuracy 2019-08-28 07:56:51 +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
6e68d605ee Merge branch 'master' into accurate 2019-08-27 16:11:57 +01:00
Clownacy
b6322d5e0f Make LoadBitmap take a pixel buffer instead of an SDL_RWops 2019-08-27 16:10:37 +01:00
Clownacy
c71996c203 Merge branch 'master' into accurate 2019-08-25 22:18:27 +01:00
Clownacy
66364275c2 Fix NONPORTABLE builds 2019-08-25 22:17:01 +01:00
Clownacy
868802baf1 Merge branch 'master' into accurate 2019-08-25 21:44:35 +01:00
Clownacy
43f7087ffb Shut up a warning in the SDLTexture renderer backend 2019-08-25 21:30:44 +01:00
Clownacy
b814890d09 Convert TextScr.cpp to UTF-8
I should probably mention, the other reason I'm converting these to
UTF-8 is because SDL2 doesn't take Shift-JIS strings.
2019-08-25 21:23:01 +01:00
Clownacy
3ab2b11204 Convert Game.cpp to UTF-8 2019-08-25 21:07:03 +01:00
Clownacy
bee35b5750 Convert Profile.cpp to UTF-8
The MessageBoxA strings are ShiftJIS-encoded, but to avoid compiler
warnings (from Clang, namely), I'm using those weird '\x' things.
2019-08-25 20:47:54 +01:00
Clownacy
ea83d4ba8a Merge branch 'master' into accurate 2019-08-25 20:35:01 +01:00
Clownacy
aaff887578 Remove old dummied-out line 2019-08-25 17:18:20 +00:00
Clownacy
739134e68a Shut up a runtime error in the OpenGL renderer 2019-08-25 16:50:06 +00:00
Clownacy
4bc80a288d More cleanup 2019-08-25 16:49:52 +00:00
Clownacy
6f71f2405d Code cleanup 2019-08-23 00:30:33 +00:00
Clownacy
32c55a66fd KeyControl tweaks
Style change, and compatibility improvement ('int' can be 16-bit, but
the KeyBind enums exceed that. 'long' is guaranteed to be 32-bit, and
won't affect ASM-accuracy since MSVC2003 treats int and long
identically)
2019-08-21 18:38:59 +00:00
Clownacy
b7d01aae3f Overhauled the Music ID enum
This should be ASM-accurate, since SurfaceID was
2019-08-21 18:26:20 +00:00
Clownacy
3e34136f69 Overhauled the NPC_flags, and applied them everywhere
No more raw values floating about in the decompiled code.
Been wanting to do this for ages.
2019-08-21 17:59:06 +00:00
Clownacy
ce8b5651bc Give the FONT_PIXEL_MODE enums a type 2019-08-21 16:25:02 +00:00
Clownacy
64598dc2a5 Rename Surface_Ids to SurfaceID
For code style consistency (this isn't a vanilla enum name - I don't
think there even was an enum for this in the original source code)
2019-08-21 16:18:55 +00:00
Clownacy
940034dc22 Define GLEW_STATIC when creating a static build 2019-08-20 12:43:48 +00:00
Clownacy
eaae225c70 Remove deprecated GLSL function usage 2019-08-20 12:41:32 +00:00
Clownacy
a69a4cd608 Print more OpenGL debug messages 2019-08-20 12:40:37 +00:00