Commit Graph

22 Commits

Author SHA1 Message Date
ktkaufman03
0495056bf3
fix: I forgot to commit mxpalette.h... 2023-07-04 20:20:49 -04:00
Joshua Peisach
2b8480adb3 Fixes
- reordered the functions in order of where they are in the hex because recmp.py sometimes kept saying it couldn't find the symbol (??)
- clone returns a pointer, not a ref
- worked a bit on setpalette/applysysentriestopalette
2023-07-04 14:29:06 -04:00
ktkaufman03
1a69a7c299
improved MxPalette::Clone, will be 100% when MSVC feels like making it so 2023-07-03 18:25:44 -04:00
ktkaufman03
3ae57f2162
improved MxPalette::SetSkyColor, will be 100% when MSVC feels like making it so 2023-07-03 18:23:52 -04:00
ktkaufman03
772980db17
improved MxPalette::operator==, will be 100% when MSVC feels like making it so 2023-07-03 18:20:23 -04:00
Joshua Peisach
7e3b925e3e Push MxPalette progress - read comments in code. 2023-07-02 21:26:39 -04:00
Joshua Peisach
799eebc5e9 implement SetSkyColor (doesn't match) 2023-07-01 21:37:16 -04:00
Joshua Peisach
5c0883e0d5 Implement ApplySystemEntriesToPalette except the memcpy calls 2023-07-01 18:45:55 -04:00
Joshua Peisach
959efb55b3
Merge branch 'master' into mxpalette 2023-06-30 17:18:26 -04:00
itsmattkc
4c9e138cbf implement all DLL exports (as TODOs)
Now we can use our own compiled LEGO1.LIB rather than one generated from the original. Also implements a script that tests them to help ensure future commits don't break them.
2023-06-30 11:34:39 -07:00
Christian Semmler
64aa35bfd8
fix MxPalette structure and match ctor/dtor 2023-06-29 23:55:17 +02:00
Joshua Peisach
75e3050963 Implement MxPalette::Clone (doesn't match) 2023-06-29 17:40:13 -04:00
Joshua Peisach
8be8301d70
aaaaaaaaaaaaaa 2023-06-29 17:21:43 -04:00
Joshua Peisach
ef53c965b8
Merge branch 'master' into mxpalette 2023-06-29 17:18:53 -04:00
Cydra
07912eb05a
Class layout for LEGO1 classes (#43)
* Stubbed a bunch of classes and annotated them for later use. Heavily wip and more of pseudocode right now.

* Converted pseudocode into real code!

* Created a bunch more classes and added more information to exisiting ones
Did not error check, this was pushed just for reference

* More classes and implementation details. Still not checked for any errors

* Fixed code and decided on a way to handle virtual table stubs

* Some additional fixes

* More smaller fixes

* Added classes to project and made it compile

* Fixed function adresses that caused the python script to fail

* More classes and virtual function resolves. Builds and compares fine.

* Again more classes and virtual function resolves. Builds and compares fine.

* No clue, I guess forced update for line endings

* Finished up some work, compiles fine. All functions are STUB annotated to not pollute reccmp.py output.

* line ending change

* rename GetClassName/IsClass

Mirroring recent changes from master

* further conform to current master

* update project

* cleanup

* project only updates when you close msdev

---------

Co-authored-by: Cydra <cydra95@gmail.com>
Co-authored-by: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
2023-06-29 01:10:08 -07:00
Joshua Peisach
6e4c290f20 push progress, gn 2023-06-28 20:07:28 -04:00
Joshua Peisach
2b5cad1523 MxPalette: give bob the builder his constructor 2023-06-28 19:26:51 -04:00
Joshua Peisach
e9696eabe5 mb 2023-06-28 19:22:39 -04:00
Joshua Peisach
21a4fe1375 MxPalette - add missing member variables, Detach function 2023-06-28 19:14:07 -04:00
Christian Semmler
64d2b9e02b
lego: implement SetControlMax and related partials (MxVideoManager, MxPalette, MxUnknown100dc6b0) (#42)
* lego: implement LegoNavController::SetControlMax and related

* use MxResult

* fix name
2023-06-24 10:09:46 -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
itsmattkc
d4e2fb8d8a reorganized repo, implemented mxcore 2023-05-05 02:54:17 -07:00