Commit graph

718 commits

Author SHA1 Message Date
itsmattkc
6843216dfa isle: commit header that i forgot in the previous commit 2023-06-13 21:28:39 -07:00
itsmattkc
1c95cbe40e isle: named last global var 2023-06-13 20:25:42 -07:00
Thomas May
8b58e6fe28 fix merge conflicts 2023-06-14 01:32:43 +01:00
Thomas May
fdbaf454aa Merge remote-tracking branch 'upstream/master' into mxautolocker 2023-06-14 01:31:57 +01:00
Thomas May
7ed9c7df82 save the damn project 2023-06-14 01:30:56 +01:00
Thomas May
14b14f88a5 Make sure we're using MX_TRUE/MX_FALSE 2023-06-14 01:26:24 +01:00
Thomas May
a925aec046 lego1: implement MxTimer + dependencies 2023-06-14 01:22:42 +01:00
MattKC
e2f13161b8
Merge pull request #13 from foxtacles/isle-legonavcontroller
lego1: bootstrap LegoNavController implementation
2023-06-13 17:19:10 -07:00
MattKC
eaca69716e
add matrix link to README.md [skip ci] 2023-06-13 14:27:35 -07:00
MattKC
0827ca8040
Merge pull request #12 from WamWooWam/master
isle: replace other instances of ®️ with \xAE
2023-06-13 11:46:00 -07:00
Christian Semmler
3a4a985fd0
formatting 2023-06-13 20:45:02 +02:00
Christian Semmler
422340f113
lego1: bootstrap LegoNavController implementation 2023-06-13 20:17:20 +02:00
Thomas May
f91779b47a isle: replace other instances of ®️ with \xAE 2023-06-13 16:59:03 +01:00
itsmattkc
06c09a25bc use escape sequence in title string to prevent further unicode issues 2023-06-12 18:42:53 -07:00
MattKC
dec959f194
Merge pull request #11 from foxtacles/isle-mxcriticalsection
lego1: Add MxCriticalSection implementation
2023-06-12 13:12:06 -07:00
itsmattkc
12a90b8730 fixed reg reading bug/inaccuracy 2023-06-12 13:06:10 -07:00
itsmattkc
7a5dc664ac improved accuracy of isle constructor 2023-06-12 13:05:55 -07:00
itsmattkc
fa06782e08 improved accuracy of MxVideoParamFlags
This is probably an MxBool, and probably all of the other functions here also take an MxBool
2023-06-12 13:04:46 -07:00
Christian Semmler
e773dc015b
merge 2023-06-12 21:01:56 +02:00
itsmattkc
e42349f969 msvc project update 2023-06-12 11:51:27 -07:00
itsmattkc
87c61f8cd0 fixed symbol character regression
MSVC420 doesn't support UTF-8, so the (R) symbol must be in Windows-1252 encoding instead. A PR seems to have reverted this back to UTF-8 (a code editor probably did this without even mentioning it)
2023-06-12 11:51:13 -07:00
Christian Semmler
0bfb88837e
use LF line ending 2023-06-12 20:46:44 +02:00
Christian Semmler
fba95658b5
lego1: add MxCriticalSection implementation 2023-06-12 20:43:19 +02:00
MattKC
d4f25fcd23
Merge pull request #10 from foxtacles/fix-file-permissions
Remove execute bits on files
2023-06-12 11:17:55 -07:00
Christian Semmler
7ff3acebb3
remove execute bits on files 2023-06-12 18:05:43 +02:00
itsmattkc
dcf37c5244 isle: fix decomp inaccuracy 2023-06-11 18:04:09 -07:00
itsmattkc
279d626279 import all functions from lego1 exports
This declares a bunch of classes and functions for us, as well as fixes some declarations that were slightly incorrect (e.g. missing "virtual", etc)
2023-06-11 18:03:54 -07:00
MattKC
9520b5a7e9
Merge pull request #5 from stonedDiscord/master
CI runs
2023-06-11 11:17:40 -07:00
MattKC
363ebd2077
Merge pull request #4 from mosswg/match-to-original
Match some functions and values to the original binary
2023-06-11 11:17:13 -07:00
MattKC
73a13f0b67
Merge pull request #6 from foxtacles/wm_syscommand
Use Windows-defined type constants in WM_SYSCOMMAND
2023-06-11 10:43:39 -07:00
stonedDiscord
6b6f32e8d5
actions can't handle it, only cache the download 2023-06-11 19:02:41 +02:00
stonedDiscord
dedc88d7ca
do it in the 2 step way 2023-06-11 18:59:44 +02:00
stonedDiscord
cb25361818
double folder?? 2023-06-11 18:55:47 +02:00
stonedDiscord
1efb87500a
cache dxsdk folder on C 2023-06-11 18:54:16 +02:00
Christian Semmler
01845a94ab Use WM_SYSCOMMAND type constants 2023-06-11 16:12:41 +02:00
stonedDiscord
da227101a0
another windows moment 2023-06-11 14:30:54 +02:00
stonedDiscord
1d1041c06f
make vcvars stick 2023-06-11 14:27:14 +02:00
stonedDiscord
df3bf6cf2e
use 420 nmake 2023-06-11 14:24:19 +02:00
stonedDiscord
b922043edc
screw you windows 2023-06-11 14:20:39 +02:00
stonedDiscord
596335f409
dont fail if dir exists 2023-06-11 14:19:33 +02:00
stonedDiscord
30a91afe6a
wget not found 2023-06-11 14:18:32 +02:00
stonedDiscord
4a961d452c
use the answer file 2023-06-11 14:17:41 +02:00
stonedDiscord
06f907782a
Create setup.iss 2023-06-11 14:16:58 +02:00
stonedDiscord
dbe64d464e
Merge pull request #1 from stonedDiscord/ci
Create build.yml
2023-06-11 14:07:35 +02:00
stonedDiscord
cb8fac8662
Create build.yml 2023-06-11 14:07:15 +02:00
Moss Gallagher
1244a7a57b isle: Match readReg to Original 2023-06-11 03:29:13 -07:00
Moss Gallagher
f81c5f944c isle: Matched WNDCLASS_NAME to Original
In 1.0 WINDOW_TITLE seems to be a define like WNDCLASS_NAME. However, in
1.1 it is a const char* like in the already existing code. It also has a
value of "Lego Island" in 1.0 but a value of "Lego®" in 1.1.
2023-06-11 03:16:44 -07:00
Moss Gallagher
4a1ac277f9 isle: Partially Matched setupVideoFlags to Original
For some reason the decomp version is doing the first xor in
EnableFullScreen with the operands swapped. The source code and
the original binary both have m_flags ^ e but the decomp binary has e ^
m_flags. This gives the same result but it is not a 100% match in the
binary. I'm not sure why the compiler is doing this or how to
change it but the other inaccuracy with the function is fixed.
2023-06-11 02:06:28 -07:00
Moss Gallagher
9580402ab5 isle main: Matched startDirectSound to Original 2023-06-11 02:00:57 -07:00
itsmattkc
689a38fcfc isle: change loadaccelerator comment (i know what this does now) 2023-06-11 01:47:30 -07:00