1814 Commits

Author SHA1 Message Date
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
Anders Jenbo
46ae3fbe89
Order enums the same way in both places (#1495)
To match LEGO1/mxdirectx/mxdirectdraw.cpp so it's not so confusing to compare uage
2025-05-15 21:11:06 -07:00
Anders Jenbo
4ccd2501d0
Build on Mac (#93) 2025-05-15 20:58:59 -07:00
Anders Jenbo
9ae96cbff6
Implement a functional DirectDraw (#81) 2025-05-15 20:45:53 -07:00
Anders Jenbo
ab83cd51c1
Implement DirectDrawImpl::EnumDevices() (#92) 2025-05-15 20:00:47 -07:00
Anders Jenbo
f5cb2d4732
Use consts in callbacks (#1494) 2025-05-15 19:22:40 -07:00
Anders Jenbo
96c962f857
Additional strict type checking in DirectX implementation (#91) 2025-05-15 23:18:21 +02:00
Christian Semmler
68f209b18c
Merge remote-tracking branch 'isle/master' 2025-05-14 22:11:52 -07:00
Anders Jenbo
4c754b376c
Enums in mxdisplaysurface.cpp (#1493)
* Enums in mxdisplaysurface.cpp

* Update mxdisplaysurface.cpp
2025-05-14 22:08:50 -07:00
Anders Jenbo
d52af9f4e3
Enum in legovideomanager.cpp (#1492) 2025-05-14 22:03:52 -07:00
Anders Jenbo
ad5ccd4e8b
Enums in mxtransitionmanager.cpp (#1491) 2025-05-14 22:03:33 -07:00
Anders Jenbo
dabd404111
Correct enums in mxdirectdraw.cpp (#1490) 2025-05-14 22:03:16 -07:00
Anders Jenbo
f99da0cea7
Correct enums in legotextureinfo.cpp (#1489) 2025-05-14 22:02:35 -07:00
Anders Jenbo
a055567fa3
Correct CooperativeLevel endum (#1488) 2025-05-14 21:59:16 -07:00
Anders Jenbo
db7781473a
miniwin: Clean up headers and make bitflags and enums strict (#90) 2025-05-14 19:51:41 -07:00
Anders Jenbo
b304232bde
Proper EnumDisplayModes implementation (#88) 2025-05-14 17:52:52 -07:00
Anders Jenbo
c6107bdb5b
Fix config app (#89) 2025-05-14 17:52:37 -07:00
Christian Semmler
7fa7643bfb
Merge remote-tracking branch 'isle/master' 2025-05-14 17:01:20 -07:00
Anders Jenbo
dbbf373748
Correct dwCaps bit flags (#1487)
* Correct dwCaps bit flags

* Update legotextureinfo.cpp
2025-05-15 02:01:10 +02:00
Christian Semmler
662385e60a
Merge branch 'master' of github.com:isledecomp/isle-portable 2025-05-14 16:40:16 -07:00
Christian Semmler
aec7426665
Merge remote-tracking branch 'isle/master' 2025-05-14 16:40:05 -07:00
Anders Jenbo
fce97ea06f
Correct check for lighting support (#1486) 2025-05-15 01:39:55 +02:00
AllMeatball
da056ee45f
isleapp: Add icon upon window creation (#85)
* isleapp/res: Add icon.h

* isleapp: Set icon on non-windows systems

* isleapp: Fix formating to match with .clang-format

* isleapp: Remove _WIN32 ifdefs

This is closer to the original code. I thought it would let Windows
set the icon itself not set the icon upon window creation.

* isleapp: Load internal .BMP instead of raw pixels

This should fix the endianess problem I mentioned in the PR.

* isleapp: Only load icon from IOStream if it's valid

* isleapp: Disable format checking in ISLE/res/

* ISLE/res/resource.h: Prevent recursive inclusion

* ISLE: Remove isle.h from resource.h

also rename isle.h to isle_bmp.h

* isleapp: Fix formatting
2025-05-15 01:18:41 +02:00
Christian Semmler
735e3c6763
Merge remote-tracking branch 'isle/master' 2025-05-14 12:54:42 -07:00
Anders Jenbo
88651404cb
Correct dwCaps enum in detectdx5.cpp (#1484) 2025-05-14 21:54:35 +02:00