Anonymous Maarten
1cfa54d908
isle is not 64-bit yet (I think)
2024-01-10 21:12:56 +01:00
Anonymous Maarten
9d1e46e187
Build in default shell
2024-01-10 21:10:41 +01:00
Anonymous Maarten
6c2e57128e
msys2 needs the msys2 shell
2024-01-10 21:02:52 +01:00
Anonymous Maarten
fc34f7aedb
Set vcvars for msvc
2024-01-10 21:00:13 +01:00
Anonymous Maarten
08c474094e
ci: build isle with msys2 + msvc on GitHub actions
2024-01-10 20:56:40 +01:00
Christian Semmler
16d04bc083
Add size assert for MxFrequencyMeter
2024-01-10 13:01:57 -05:00
Christian Semmler
008a3f9888
Formatting
2024-01-10 12:53:23 -05:00
Christian Semmler
34d69e5583
Fixes
2024-01-10 12:52:12 -05:00
Christian Semmler
d124859c92
Fix constness of method
2024-01-10 12:45:52 -05:00
Christian Semmler
2fafdb0f23
Fix overrides
2024-01-10 12:43:02 -05:00
Anonymous Maarten
cce56f064e
include string.h for strlen
2024-01-10 15:54:45 +01:00
Anonymous Maarten
059f96cd3a
LegoView1 is 16 bytes bigger then LegoView ==> 4 32-bit pointers
2024-01-10 15:54:09 +01:00
Anonymous Maarten
9b11202bb8
Add FIXME comment to LEgo3DView::m_previousRenderTime
2024-01-10 15:53:21 +01:00
Anonymous Maarten
29369adc94
Fix msys2 mingw warning: declaration 'class Tgl::Group' does not declare anything
2024-01-10 15:52:16 +01:00
Anonymous Maarten
a35f7e74cc
msys2 mingw compat (cannot pass reference of rvalue)
2024-01-10 15:34:04 +01:00
Anonymous Maarten
bf34d20cea
Only do decomp assertions when using older MSVC compilers
2024-01-10 15:33:04 +01:00
Anonymous Maarten
0c32f28936
Also enable "compat mode" for newer MSVC compilers
2024-01-10 14:55:49 +01:00
Anonymous Maarten
33c9ee3c9c
Implement empty ViewLODList::Dump method
2024-01-10 14:55:49 +01:00
Anonymous Maarten
162744d01c
Remove copy/pasted APP_ICON from lego1 resource.h header
2024-01-10 14:55:49 +01:00
Anonymous Maarten
f07c1fc245
Tgl::Device::GetDrawnTriangleCount does not exist (FIXME: INCORRECT FIX -> Tgl::Device should be updated instead)
2024-01-10 14:55:49 +01:00
Anonymous Maarten
bc1c10d3ab
LegoCameraController overrids some methods that are not defined in its parent(s)
2024-01-10 14:55:49 +01:00
Anonymous Maarten
d7d7f0cd62
Silence deprecated CRT releated warnings
2024-01-10 14:55:49 +01:00
Anonymous Maarten
d9e3902add
Add /Zc:__cplusplus to define __cplusplus with c++ version number
2024-01-10 14:55:49 +01:00
Anonymous Maarten
c9301d1cef
cmake: detect older MSVC and define ENABLE_DECOMP_ASSERTS to enable decomp asserts
2024-01-10 14:55:49 +01:00
Nathan M Gilbert
5a2be934be
Finish StreamProvider classes ( #420 )
...
* Finish StreamProvider classes
* Fix variable name
* Use FOURCC
* Match FUN_100c7090
* Changes
* Readability
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2024-01-10 12:55:25 +01:00
Christian Semmler
872c62fd39
Match LegoCameraController::LegoCameraController
2024-01-09 10:30:37 -05:00
Christian Semmler
f6ced08b20
Add scalar ddtor annotations
2024-01-09 05:31:00 -05:00
Misha
58085df6b0
Implement most of LegoCameraController ( #419 )
...
* Implement LegoCameraController subclasses
* Update legopovcontroller.cpp
* fixes
* Update legocameracontroller.cpp
* fix naming conventions
* Update legopointofviewcontroller.h
* Update legopointofviewcontroller.h
* Fixes
* Match LegoPointOfViewController::Create
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2024-01-09 10:43:21 +01:00
Christian Semmler
58ea45f4cc
Name various functions and other members ( #418 )
...
* Name various functions and other members
* Rename var
2024-01-08 19:07:13 +01:00
Christian Semmler
79465d358d
Fix MxWavePresenter::StartingTickle
2024-01-07 22:28:16 -05:00
Christian Semmler
855e548516
Make comparison more obvious
2024-01-07 21:23:09 -05:00
Christian Semmler
569d8ace96
Fix actions not ending
2024-01-07 20:55:32 -05:00
Christian Semmler
091ecd5935
Move some classes to LegoOmni ( #417 )
2024-01-08 12:45:07 +01:00
Christian Semmler
c47206617d
Reorganize sources and files ( #414 )
...
* Reorganize sources
* Refactor
* Remove relative paths
* Renames
* Fix gitignore
* Remove stuff
* Try fixing format script
* Fix format
* Fix format
* Fix naming script
* Test format
* Fix format
2024-01-08 10:58:49 +01:00
Ramen2X
6a85e62406
refresh readme ( #415 ) [skip ci]
...
* readme refresh
* correct 64-bit registry path in readme
2024-01-07 19:52:17 -05:00
Anonymous Maarten
78ee66336a
cmake: fix default ninja + add clang-format target ( #75 )
...
* Add job pools with 1 job to disable parallel builds of lego1 and isle
* cmake: add clang-format target
2024-01-07 17:31:31 -05:00
Misha
4c0de81b6a
Update legoactioncontrolpresenter.cpp ( #416 )
2024-01-07 17:03:04 -05:00
Anonymous Maarten
fbe7f8bbb0
Fix all mingw errors & warnings ( #411 )
...
* Use COMPAT_MODE macro to fix errors with mingw gcc 12.2
* MxOmni::m_timerRunning is a MxBool
* MxDirect3D::m_unk0x88c is a MxBool
* MxBackgroundAudioManager::m_unk0x13c is a MxS32
* Fix warning: deleting 'void*' is undefined [-Wdelete-incomplete]
* Fix inline function 'void TglImpl::RendererImpl::Destroy()' used but never defined
* Fix warning: inline function 'MxStreamerSubClass1::MxStreamerSubClass1(undefined4)' used but never defined
* Use `FALSE` for m_timerRunning
* Format
* Format
* Remove comment
* Limit scope for variables in compat mode
* clang-format
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2024-01-07 18:30:45 +01:00
Christian Semmler
bb7e4df11b
Move MxDirectDraw and MxDirect3D to mxdirectx ( #413 )
2024-01-07 18:07:22 +01:00
Christian Semmler
8db36722d8
Implement/match Lego3DView and parent classes ( #412 )
...
* Implement/match TglSurface
* Implement/match LegoView/1
* Lego3DView
* Fixes
* Lego3DManager
* Remove garbage
* Remove garbage
* Use shorthand calls
2024-01-07 03:29:32 +01:00
Anonymous Maarten
dc3500f631
Fixes for building isle with mingw on Linux ( #410 )
...
* Add LEGO1.DLL resources
* Rename smack files to lowercase
This fixes casing issues with mingw on Linux
Also use double quotes for #error
* cmake: dxguid must come after dinput
* cmake: create LEGO1.DLL instead of libLEGO1.DLL, when using mingw
* act3actor.h was not including mxcore.h, and using incorrect override
* g_mcoreCount seem to be signed integers
* LegoCameraController: return references to static data in stub functions
* Include string.h, stdlib.h and stdio.h for use of libc functions
* Override MxAtomId::operator!=
* Fix use of STL's std::map + std::vector
* Fix template functions for mingw
* iterator object is used after the for loop
* IDirectDrawSurface::BltFast's first 2 arguments are x/y coordinates, not pointers
* Add stub ViewLODListManager::Lookup
* Fixes
* Format
* Remove unnecessary COMPAT_CONST use
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2024-01-06 18:56:15 +01:00
Christian Semmler
dac2a517c3
Implement/match LegoVideoManager::Tickle ( #409 )
...
* Implement LegoVideoManager::Tickle
* Match
* Remove duplicate annotations
* Add missing annotations
* Rename list functions
* Fix
* Rename some symbols
2024-01-06 18:06:50 +01:00
Christian Semmler
27269647f8
Implement/match LegoVideoManager::ConfigureD3DRM ( #408 )
...
* Implement/match LegoVideoManager::ConfigureD3DRM
* Fix name
* Remove unnecessary forward decl
2024-01-05 20:38:34 +01:00
Misha
9651ece809
Improve accuracy of MxOmni::CreatePresenter ( #407 )
...
* Improve accuracy of MxOmni::CreatePresenter
* Update mxactionnotificationparam.cpp
* Match to 100%
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2024-01-05 18:31:19 +01:00
Misha
9a5e1cb853
legomodelpresenter vtable ( #406 )
...
* legomodelpresenter vtable
* Update legomodelpresenter.cpp
* Update legomodelpresenter.cpp
2024-01-04 20:01:04 -05:00
MS
ce68a7b1f4
Reccmp comparison engine refactor ( #405 )
...
* Reccmp comparison engine refactor
* Remove redundant references to 'entry' symbol
2024-01-04 18:12:55 -05:00
Christian Semmler
eeb980fa0f
Let game boot again ( #404 )
2024-01-04 22:46:16 +01:00
Christian Semmler
5aef35d9c7
Fix member visibility
2024-01-04 06:35:28 -05:00
Christian Semmler
54ed98b9d6
Implement/match MxDirect3D::D3DSetMode ( #403 )
...
* Implement/match MxDirect3D::D3DSetMode
* Match
2024-01-04 22:16:16 +01:00
Misha
a899b06f5a
implement MxDirect3D::GetZBufferDepth ( #402 )
...
* GetZBufferDepth
* Match
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2024-01-04 21:35:52 +01:00