2091 Commits

Author SHA1 Message Date
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
Christian Semmler
18f24d1795
Merge remote-tracking branch 'isle/master' 2025-05-14 12:43:45 -07:00
Anders Jenbo
561825f6a0
Apply some enums to CONFIG (#1483) 2025-05-14 21:40:12 +02:00
Anders Jenbo
c9030c94fd
Fix warnings (#83) 2025-05-14 07:29:26 -07:00
Anders Jenbo
7c6cec2f54
Fix 32bit build 64bit MSVC (#84) 2025-05-14 07:29:00 -07:00
Christian Semmler
396bf6b562
Fix wrong deletes in MxBitmap (#1482) 2025-05-13 18:42:12 -07:00
Christian Semmler
5a0b976994
Use WM_QUIT consistently (#80)
* Use `WM_CLOSE` consistently

* Use `WM_QUIT`
2025-05-14 03:19:10 +02:00
Anders Jenbo
1f64e88d34
Add UBSan (#78) 2025-05-14 02:40:03 +02:00
Anders Jenbo
d68142a8f2
Move MFC supporting functions to minimfc (#77) 2025-05-14 02:27:34 +02:00
Anders Jenbo
0e2ea5edc4
miinwin: Get to the CD check (#76) 2025-05-13 16:52:27 -07:00
Christian Semmler
27affb7531
Merge remote-tracking branch 'isle/master' 2025-05-13 15:38:30 -07:00
Christian Semmler
934d90fc96
Fix wrong use of delete vs delete[] (#1481) 2025-05-14 00:37:53 +02:00
Anonymous Maarten
537cde485a
Remove d3drm-wine (#75)
* remove d3drm-wine

* Update miniwin/miniwin/src/miniwin_ddraw.cpp

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

* Run clang-format

* Update miniwin/miniwin/src/miniwin.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-13 19:18:20 +00:00
MS
810c0b0654
Fix some MSVC annotations for LEGO1 (#1480) 2025-05-13 14:18:08 -04:00
Anders Jenbo
83f092d8df
minwin: Add implementations for some minor function (#74) 2025-05-13 10:21:31 +02:00
AllMeatball
c48935a64b
Create config with sane defaults if not already present (#71)
* Create config with sane defaults if not present

* isleapp: Use binary mode for iniFP

Windows treats newlines differently then on *nix systems. Using binary mode makes this consistent.

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

* isleapp: Remove extern "C"

It seems like it's fine including these libraries without extern "C"

* isleapp: Use boolean return in LoadConfig

This to check if the config loaded correctly or not.
Seems to be a good solution to the file loading issue.

Maybe there's a better solution
SetupWindow failing because of a config erroring seems a bit odd.

* isleapp: Remove that dumb use after free.

I forgot you don't specify a filename you specify a *file pointer*

* isleapp: Fix iniFP to be in proper scope

This also fixes the missing parameter in `iniparser_dump_ini`

* .gitignore: Exclude the kate .cache folder

* isleapp: Match prototype of LoadConfig in header

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

* isleapp: Don't create new config if manually set

---------

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
2025-05-12 17:25:16 -07:00
Anders Jenbo
dc8b044b50
miniwin: Init graphics API (#73) 2025-05-12 17:23:48 -07:00
Christian Semmler
8849d32d36
Update README.md [skip ci] 2025-05-13 00:06:53 +02:00
Christian Semmler
c921773d4e
Merge remote-tracking branch 'isle/master' 2025-05-12 14:17:33 -07:00
Anders Jenbo
08b2dab108
Make things build on Linux (#69) 2025-05-12 23:10:53 +02:00
Anders Jenbo
7e98f0e11c
Rename FUN_1009d0d0 into GetBestDevice (#1478) 2025-05-12 22:34:37 +02:00
Anders Jenbo
7aac7353ff
Improve SIMD detection (#72) 2025-05-12 22:26:23 +02:00
Christian Semmler
a1c4897e5e
Merge pull request #70 from foxtacles/mergeisle8
Merge from isledecomp/isle
2025-05-12 08:48:16 -07:00
Christian Semmler
b1623302c9 Merge remote-tracking branch 'isle/master' into mergeisle8 2025-05-12 08:39:16 -07:00