Commit graph

1155 commits

Author SHA1 Message Date
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
itsmattkc
03fcad0bd2 added some legoomni functions and named some isle global vars 2023-06-10 22:11:05 -07:00
MattKC
d336f65abe
Create README.md 2023-06-10 16:40:51 -07:00
itsmattkc
8ff739c6d3 name some functions in mxticklemanager 2023-05-21 21:45:25 -07:00
itsmattkc
fb72956339 isle: remove temp code 2023-05-21 21:44:54 -07:00
itsmattkc
d4e2fb8d8a reorganized repo, implemented mxcore 2023-05-05 02:54:17 -07:00
itsmattkc
1690784a8b fixed inaccurate mxvideoparamflags 2023-04-29 20:39:27 -07:00
itsmattkc
4b10d951e5 improved accuracy of library headers 2023-04-29 20:39:19 -07:00
itsmattkc
4570487067 improved accuracy of call to LegoOmni::Create 2023-04-29 20:38:44 -07:00
itsmattkc
bc56f56da9 re-enabled temporarily disabled code 2023-04-29 20:38:31 -07:00
itsmattkc
23f2bf5e03 implemented WM_DISPLAYCHANGE code 2023-04-29 20:38:15 -07:00
itsmattkc
812ac70957 remove temporary findwindow hack 2023-04-29 17:28:47 -07:00
itsmattkc
a8db3c1ac4 convert utf-8 text encoding to windows-1252 2023-04-29 14:41:31 -07:00
itsmattkc
c9d1f6c5c8 fix technically improper C++ code 2023-04-29 14:40:27 -07:00