1888 Commits

Author SHA1 Message Date
Anonymous Maarten
cd32924c47
cmake: use precompiled headers (#133)
* cmake: use precompiled headers

* Apply suggestions from code review
2025-05-19 18:20:28 -07:00
Anonymous Maarten
c0a4cbd34a
Fix mouse clicks in registration book (#134) 2025-05-19 18:05:51 -07:00
Anonymous Maarten
40a21867e8
Document buttonId in RegistrationBook (#1510) 2025-05-19 18:05:35 -07:00
Anonymous Maarten
0b778de731
Let LegoStorage know of memory size (#129) 2025-05-20 02:18:11 +02:00
Christian Semmler
23182618cc
Merge remote-tracking branch 'isle/master' 2025-05-19 17:16:56 -07:00
Anonymous Maarten
0b9c1756c7
Fix inclusion guards of 3 files (#1509)
* Fix inclusion guards of 3 files

* Apply suggestions from code review

Co-authored-by: Christian Semmler <mail@csemmler.com>

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-20 02:15:30 +02:00
Christian Semmler
3192eb551a
Add MxMiniaudio wrapper to fix resource issues (#131)
* Add `MxMiniaudio` wrapper to fix resource issues

* Fix naming

* Updated wrapper

* Use implicit cast
2025-05-20 02:07:20 +02:00
Christian Semmler
d4d77644d1
Fix broken 3D on non-miniwin Win32 (#130) 2025-05-20 01:06:06 +02:00
Erik Schulze
d67318e78b
propagate name changes from commit fce97ea (#1508)
* propagate name changes from commit fce97ea

* remove dependency on omni types

* rename parameter too
2025-05-19 21:25:52 +02:00
Anders Jenbo
70536c50bd
Fix remaning UBSAN issues (#115) 2025-05-19 19:02:24 +02:00
Anders Jenbo
4e2df63d9c
Get the game working on 64bit systems (#113)
* Use int instead of long

* Move static_asserts to the bottom

---------

Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com>
2025-05-19 17:56:12 +02:00
Anders Jenbo
fdde353b1f
minwin: Fix bitmap colors (#125) 2025-05-19 07:16:05 -07:00
Anders Jenbo
7972918472
miniwin: 16bit color key support (#124) 2025-05-19 07:15:12 -07:00
MS
6808669da0
Use argument file for reccmp-aggregate samples (#1507) 2025-05-18 21:47:00 -07:00
Anders Jenbo
a19827e10f
Minor palette corrections (#122) 2025-05-18 20:31:37 -07:00
Erik Schulze
7b34eea690
Use SUCCESS and FAILURE in MxPalette::SetSkyColor (#1506) 2025-05-18 16:36:25 -07:00
Christian Semmler
cd047211cf
Merge pull request #114 from foxtacles/mergei
Merge from isledecomp/isle
2025-05-18 14:58:11 -07:00
Christian Semmler
855e965b71 Pack BITMAPFILEHEADER 2025-05-18 14:28:30 -07:00
Christian Semmler
3023b8a663 Merge remote-tracking branch 'isle/master' into mergei 2025-05-18 14:04:10 -07:00
Anonymous Maarten
2915aa014f
Use sizeof(type) instead of sizeof(variableName) when (de)serializing data (#1505)
* Use sizeof(type) instead of sizeof(variableName) when (de)serializing data

* Less usage of sizeof(variableName) while (de)serializing
2025-05-18 22:56:28 +02:00
Anders Jenbo
3a0366a3d9
Handle unaligned read/write (#82) 2025-05-18 13:27:44 -07:00
Christian Semmler
d5b5148cd5
Fix wrong delete in MxPtrList<LegoROI*> (#111)
* Use delete[] for array types in `MxPtrList::Destroy`

* Use template specialization solution
2025-05-18 12:50:20 -07:00
Anders Jenbo
77cb46f91d
Add support for 8bit color key (#110) 2025-05-18 19:45:09 +02:00
Anders Jenbo
d1e3a69141
Use SDL_Surface instead of SDL_Texture (#103) 2025-05-18 09:36:03 -07:00
Christian Semmler
80f5e15cbf
Merge remote-tracking branch 'isle/master' 2025-05-18 09:24:02 -07:00
Anders Jenbo
5b3d99cb8f
miniwin: Remove some unused bits (#108) 2025-05-18 06:51:41 -07:00
Anders Jenbo
95eed31087
Fix free in minimfc (#107) 2025-05-17 20:45:37 -07:00
Anders Jenbo
c9b41e2db8
Fix delete in legoanimmmpresenter.cpp (#1504) 2025-05-17 19:09:44 -07:00
Anders Jenbo
d00c08cc19
Rename FUN_1009e020 to ClearBackBuffers (#1503)
* Rename FUN_1009e020 to ClearBackBuffers

* Update mxdirectdraw.h
2025-05-17 18:01:29 -07:00
Anders Jenbo
9b8bbc3e76
Fix game startup bits (#102) 2025-05-17 16:39:35 -07:00
Christian Semmler
c8b1e507c7
Merge remote-tracking branch 'isle/master' 2025-05-17 16:20:08 -07:00
Anders Jenbo
44122f2f8a
Implement DirectDrawPalette methods (#106)
* Implement palettes

* Update miniwin/miniwin/src/miniwin_ddsurface.cpp

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>

* Update miniwin/miniwin/src/miniwin_ddpalette.cpp

* Update miniwin/miniwin/src/miniwin_ddraw.cpp

---------

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
2025-05-17 16:17:07 -07:00
Anders Jenbo
3f0fe654ff
Fix delete[] in mxstillpresenter.cpp (#1496)
* Fix delete[] in mxstillpresenter.cpp

Without this the game doesn't  run on Linux :)

* Update LEGO1/omni/src/video/mxstillpresenter.cpp

Co-authored-by: Christian Semmler <mail@csemmler.com>

* Update mxstillpresenter.cpp

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-17 16:14:25 -07:00
Anders Jenbo
45e0e5bdd1
Correct delete[] in mxflcpresenter.cpp (#1501)
* Correct delete[] in mxflcpresenter.cpp

* Update LEGO1/omni/src/video/mxflcpresenter.cpp

Co-authored-by: Christian Semmler <mail@csemmler.com>

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-17 14:22:30 -07:00
Anders Jenbo
bc920a295b
Correct assert in view.cpp (#1500) 2025-05-17 13:26:01 -07:00
Anders Jenbo
d3cd491765
Correct delete[] in legowegedge.cpp (#1499) 2025-05-17 13:25:22 -07:00
Anders Jenbo
2d92aee589
Correct delete[] in mxcontrolpresenter.cpp (#1498) 2025-05-17 13:24:06 -07:00
Christian Semmler
51d88b6cd8
Update README.md [skip ci] 2025-05-17 17:45:38 +02:00
Christian Semmler
fb54b4d1c2
Use dynamically allocated buffer (#105) 2025-05-17 17:14:36 +02:00
Christian Semmler
b90215603b
Update ci.yml 2025-05-16 22:05:03 -07:00
Christian Semmler
eb9493b910
Update ci.yml 2025-05-16 22:01:06 -07:00
Anders Jenbo
00a68c44c6
Fix initilization and overlapping memcpu (#101) 2025-05-16 19:07:05 -07:00
Christian Semmler
5ae47c2b56
Map internal paths to filesystem paths (#100)
* Map internal paths to actual filesystem paths

* Only do this on non-Windows

* Update LEGO1/omni/src/common/mxstring.cpp

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>

* add priority

* Revert for now

---------

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
2025-05-17 03:46:50 +02:00
Anders Jenbo
543edf292a
Implement all D3DRM interfaces (#99)
* Implement (most) IDirect3DRMObject methods

* Implement all interfaces

---------

Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com>
2025-05-17 02:51:43 +02:00
AllMeatball
b1dfbe9925
isleapp: Show error dialog if NOCD.si or ISLE.si fails to load (#95)
* isleapp: Show error dialog if NOCD.si fails to load

* isleapp: Return bool in IsleApp::Tick

foxtacles recommended me to return a boolean for if tick failed
instead of just setting `g_closed` and setting `g_closeResult`
to set the return value of the program exit.

I also think this is the better solution. since a similar solution
was used in LoadConfig.

* isleapp: Better error logs & return false in places

foxtacles recommended to use SDL's logging api to show detailed errors
and using false in two places where it should exit because of failure.

This commit adds these two things.

* isleapp: Add missing error dialog when ISLE.si fails

* isleapp: Add missing error dialog when ISLE.si fails

* isleapp: Remove weird duplicate message box

* Move error dialog to loop

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-16 23:08:45 +02:00
Anonymous Maarten
0c0e494b38
ci: merge all workflows (#97)
* ci: merge all workflows

* Update .github/workflows/ci.yml

Co-authored-by: Anders Jenbo <anders@jenbo.dk>

* ci: correct vcvars

---------

Co-authored-by: Anders Jenbo <anders@jenbo.dk>
2025-05-16 22:28:29 +02:00
Anders Jenbo
d58ce5e9a9
Implement SetWindowPos (#98) 2025-05-16 22:28:02 +02:00
Christian Semmler
4ada014dfd
Merge remote-tracking branch 'isle/master' 2025-05-16 12:42:48 -07:00
Anonymous Maarten
c99f7c36c6
Split miniwin headers and implementation (#96)
* Split miniwin headers and implementation

* Update miniwin/miniwin/src/miniwin_ddsurface.cpp

Co-authored-by: Anders Jenbo <anders@jenbo.dk>

* Update miniwin/miniwin/src/miniwin_ddraw.cpp

Co-authored-by: Anders Jenbo <anders@jenbo.dk>

* Update miniwin/miniwin/src/miniwin_ddsurface.cpp

Co-authored-by: Anders Jenbo <anders@jenbo.dk>

* Update miniwin/miniwin/src/miniwin_ddsurface.cpp

* Update miniwin/miniwin/src/miniwin_ddraw.cpp

Co-authored-by: Anders Jenbo <anders@jenbo.dk>

* Update miniwin/miniwin/src/miniwin_ddraw.cpp

Co-authored-by: Anders Jenbo <anders@jenbo.dk>

---------

Co-authored-by: Anders Jenbo <anders@jenbo.dk>
2025-05-16 21:37:16 +02:00
Anders Jenbo
115fa35d5a
Implement more D3DRM skeleton (#94) 2025-05-16 06:32:39 -07:00