Joshua Peisach
f8b1995a83
LEGO1: MxPalette ( #56 )
...
* MxPalette - add missing member variables, Detach function
* mb
* MxPalette: give bob the builder his constructor
* push progress, gn
* avoid hexadecimal
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com >
* fix MxPalette::GetDefaultPalette
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com >
* aaaaaaaaaaaaaa
* Revert "fix MxPalette::GetDefaultPalette"
This reverts commit 63f2215737
.
* Implement MxPalette::Clone (doesn't match)
* fix MxPalette structure and match ctor/dtor
* Matching progress for MxPalette::GetDefaultPalette
* Implement ApplySystemEntriesToPalette except the memcpy calls
* implement SetSkyColor (doesn't match)
* Use MxTypes instead of generics
* prefer decimal values than hex for m_entries
* Update mxpalette.cpp
* Push MxPalette progress - read comments in code.
* improved MxPalette::operator==, will be 100% when MSVC feels like making it so
* improved MxPalette::SetSkyColor, will be 100% when MSVC feels like making it so
* improved MxPalette::Clone, will be 100% when MSVC feels like making it so
* 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
* Match GetDefaultPalette a bit more
* fix: MxPalette::GetDefaultPalette is now 100% matching
* fix: MxPalette::ApplySystemEntriesToPalette is now 100% matching
* tidy: rename `DC` var in GetDefaultPalette to `hdc`
* fix: MxPalette::SetPalette is now functionally matching
Not assembly matching yet because of MSVC weirdness.
At some point it will probably start matching, because
the structure seems to be accurate.
* fix: MxPalette rgbquad ctor functionally matches
Not quite ASM matching yet because of weird
register allocation mismatches.
* fix: I forgot to commit mxpalette.h...
* tidy: use Mx* primitives instead of builtins
* refactor: remove MxPalette::FromBitmapPalette
* fix: call ApplySystemEntriesToPalette from MxPalette(const RGBQUAD *)
* rename MxPalette::SetPalette to MxPalette::SetEntries
* fix: I once again forgot to commit mxpalette.h...
* feat: add/match MxPalette::Reset [0x100BF490]
* fix: add MVideoManager() to mxomni header
* refactor: change unk50 in MxVideoManager to LPDIRECTDRAW
* feat: add/match MxPalette::CreateNativePalette [0x100BF000]
* fix: MxPalette::SetSkyColor is 100% matching
* Annotate MxPalette members' offsets
* Annotate the global default aplette
* use hex size
* remove unnecessary variable offset listing
* Update LEGO1/mxpalette.cpp
---------
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com >
Co-authored-by: Christian Semmler <mail@csemmler.com >
Co-authored-by: ktkaufman03 <ktkaufman@wpi.edu >
Co-authored-by: MattKC <34096995+itsmattkc@users.noreply.github.com >
2023-07-15 22:51:24 -07:00
..
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-12 14:12:03 -07:00
2023-07-02 00:00:28 -07:00
2023-06-30 11:34:39 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-19 17:18:53 -07:00
2023-06-19 17:18:53 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 10:17:15 -07:00
2023-07-02 10:17:15 -07:00
2023-06-30 11:34:39 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 09:05:45 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-03 10:25:37 -07:00
2023-07-03 10:25:37 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 09:05:45 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 09:05:45 -07:00
2023-06-29 09:05:45 -07:00
2023-06-30 11:34:39 -07:00
2023-06-29 01:10:08 -07:00
2023-06-30 16:24:46 -07:00
2023-06-30 16:24:46 -07:00
2023-07-02 02:07:11 -07:00
2023-07-02 02:07:11 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 09:05:45 -07:00
2023-06-30 11:34:39 -07:00
2023-06-30 11:34:39 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-30 11:34:39 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-30 11:34:39 -07:00
2023-06-30 11:34:39 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-01 23:53:54 -07:00
2023-07-01 23:53:54 -07:00
2023-07-07 09:20:51 -07:00
2023-07-12 14:12:03 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-06-30 16:33:59 -07:00
2023-06-30 16:33:59 -07:00
2023-06-30 16:33:59 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-03 10:24:51 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 00:00:28 -07:00
2023-06-23 09:17:41 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 00:00:28 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-12 14:12:03 -07:00
2023-06-18 20:56:55 -07:00
2023-06-27 19:04:07 -07:00
2023-06-30 11:34:39 -07:00
2023-06-11 18:03:54 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-07 11:00:48 -07:00
2023-07-07 11:00:48 -07:00
2023-07-03 10:24:51 -07:00
2023-06-29 01:10:08 -07:00
2023-07-03 10:24:51 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-03 10:24:51 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 02:07:11 -07:00
2023-07-03 10:24:51 -07:00
2023-06-29 01:10:08 -07:00
2023-07-03 10:24:51 -07:00
2023-06-29 01:10:08 -07:00
2023-07-03 10:24:51 -07:00
2023-07-03 10:24:51 -07:00
2023-07-03 10:24:51 -07:00
2023-06-29 01:10:08 -07:00
2023-07-03 10:24:51 -07:00
2023-06-29 01:10:08 -07:00
2023-07-03 10:24:51 -07:00
2023-06-29 01:10:08 -07:00
2023-07-03 10:24:51 -07:00
2023-06-29 01:10:08 -07:00
2023-07-03 10:24:51 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-03 10:24:51 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-03 10:24:51 -07:00
2023-07-01 23:53:54 -07:00
2023-07-01 23:53:54 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 02:07:11 -07:00
2023-07-02 02:07:11 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 00:00:28 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 00:00:28 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 01:05:49 -07:00
2023-07-15 22:51:24 -07:00
2023-06-27 19:04:07 -07:00
2023-06-27 19:04:07 -07:00
2023-06-23 09:17:41 -07:00
2023-06-27 19:04:07 -07:00
2023-06-18 21:29:25 -07:00
2023-06-18 21:29:25 -07:00
2023-07-15 22:51:24 -07:00
2023-07-15 22:51:24 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-22 09:19:48 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-07 11:00:48 -07:00
2023-07-07 11:00:48 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 00:00:28 -07:00
2023-07-01 23:53:54 -07:00
2023-07-01 23:53:54 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 00:00:28 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 08:48:42 -07:00
2023-07-02 02:07:11 -07:00
2023-07-02 02:07:11 -07:00
2023-07-07 11:00:48 -07:00
2023-06-27 19:57:30 -07:00
2023-07-02 02:07:11 -07:00
2023-07-01 23:53:54 -07:00
2023-07-01 23:53:54 -07:00
2023-07-07 11:00:48 -07:00
2023-07-12 14:12:03 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-07 11:00:48 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-12 14:12:03 -07:00
2023-07-01 23:53:54 -07:00
2023-07-01 23:53:54 -07:00
2023-07-01 23:53:54 -07:00
2023-07-01 23:53:54 -07:00
2023-06-30 11:34:39 -07:00
2023-06-29 01:10:08 -07:00
2023-07-15 22:51:24 -07:00
2023-07-15 22:51:24 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-23 09:17:41 -07:00
2023-06-27 19:04:07 -07:00
2023-07-02 02:07:11 -07:00
2023-07-02 02:07:11 -07:00
2023-07-02 00:00:28 -07:00
2023-07-02 00:00:28 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-30 11:34:39 -07:00
2023-06-12 18:05:43 +02:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-07-02 01:05:49 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-29 01:10:08 -07:00
2023-06-30 11:34:39 -07:00
2023-06-18 14:02:16 +02:00