Commit Graph

469 Commits

Author SHA1 Message Date
disinvite
8c815418d2 FUNCTION to SYNTHETIC where needed 2023-12-01 17:49:11 -05:00
disinvite
a8387cd50d Count tab stops for indented functions to reduce MISSED_END_OF_FUNCTION noise 2023-12-01 17:40:13 -05:00
disinvite
1ba8a93bec fix test from previous 2023-12-01 17:39:38 -05:00
disinvite
93ed16e74a To eliminate noise, require the 0x prefix on offset for marker match 2023-12-01 17:17:09 -05:00
disinvite
5a4c9234a9 Allow prepending space for exact marker match 2023-12-01 15:12:33 -05:00
disinvite
75802101ac Merge from parser2 branch 2023-12-01 15:10:32 -05:00
Christian Semmler
47a6ea2de7 Merge branch 'master' into decomp-adjustments 2023-12-01 07:06:15 -05:00
Christian Semmler
4f5b70013f Implement MxStillPresenter::LoadFrame (#306) 2023-12-01 05:59:32 -05:00
Christian Semmler
835630bfb1 More globals 2023-11-30 09:39:07 -05:00
Christian Semmler
47b19f91e5 Globals in ISLE 2023-11-30 09:37:34 -05:00
Christian Semmler
f45f248456 Annotate globals 2023-11-30 09:34:28 -05:00
Christian Semmler
4920ea9a9e Adjustments based on new suggestions 2023-11-30 09:25:32 -05:00
Christian Semmler
9ccc42b0ec Fix OFFSET 2023-11-29 07:39:50 -05:00
Christian Semmler
106aff0bbd Merge branch 'master' into decomp-adjustments 2023-11-29 07:37:54 -05:00
Joshua Peisach
f7dcdf9894 MxFlcPresenter vtable70, m_unk64 (#304)
* MxFlcPresenter: vtable70

* begin work on MxFlcPresenter's m_unk64

* Add another function that makes use of the FLIC header

* Remove space

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-11-29 13:35:32 +01:00
Christian Semmler
66da37e660 Remove junk 2023-11-28 09:31:57 -05:00
Christian Semmler
a7915b9e93 Merge branch 'decomp-adjustments' of https://github.com/foxtacles/isle into decomp-adjustments 2023-11-28 09:31:14 -05:00
Christian Semmler
afa0d4f296 Fix order 2023-11-28 09:30:38 -05:00
Christian Semmler
78173990c7 Fix order 2023-11-28 09:30:35 -05:00
Christian Semmler
f3c45fbd6f Fix accidental clang-formatting 2023-11-28 09:05:47 -05:00
Christian Semmler
0bf6b28aa6 Fix a comment 2023-11-28 09:01:45 -05:00
Christian Semmler
1ba3b7f0a7 Adjustments to "decomp" language 2023-11-28 09:00:57 -05:00
MS
3d48cdede1 STL lists for stream classes (#307) 2023-11-28 14:26:39 +01:00
Christian Semmler
10062d2b28 Return type of PutData is MxResult (#305)
* Return type of PutData is MxResult

* Remove out.html
2023-11-26 15:03:40 +01:00
Christian Semmler
2fa70d233f Update README.md [skip ci] 2023-11-26 14:57:19 +01:00
Christian Semmler
d46f2e094b Bootstrap MxStillPresenter (#303) 2023-11-25 20:08:10 +01:00
Christian Semmler
4ac5fd7f0f Empty commit (to fix CI) 2023-11-25 14:04:07 -05:00
Thomas Phillips
b14116cc93 Python Linting and Code Formatting (#298)
* Create common print_diff function

* Add pylint and black

* Fix linting, move classes to utils

* Add black/pylint to github actions

* Fix linting

* Move Bin and SymInfo into their own files

* Split out format

* Tidy up workdlows and pip, add readme

* Lint tests, add tests to readme
2023-11-25 13:27:42 -05:00
Christian Semmler
fb0d1ccb62 Implement/match MxLoopingMIDIPresenter (#302)
* Implement/match MxLoopingMIDIPresenter

* Move declarations
2023-11-25 13:26:44 -05:00
Christian Semmler
5aa548c449 Replace FALSE with NULL 2023-11-25 07:22:23 -05:00
Christian Semmler
7db2b2e6b7 Implement/match MxMidiPresenter (#301) 2023-11-24 12:21:26 -05:00
Christian Semmler
db77350169 (clang-format) Add EmptyLineBeforeAccessModifier (#300) 2023-11-24 12:10:09 -05:00
Christian Semmler
1d3ce6b0aa Implement/match remaining MxWavePresenter functions (#294)
* Implement/match remaining MxWavePresenter functions

* Name m_unk65

* Match WriteToSoundBuffer

* Remove header

* Match StreamingTickle

* Name more variables

* Give names to some things
2023-11-24 12:09:53 -05:00
Joshua Peisach
a577b393bf LegoRace initial layout (#299)
* LegoRace initial layout

* fix function ordering

* Fix it all

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-11-24 13:11:32 +01:00
MS
14f05ea823 MXIOINFO code style (#297) 2023-11-22 02:54:08 -05:00
MS
abcc3afb31 Fix reccmp html output for template functions (#296) 2023-11-22 02:52:57 -05:00
Misha
343b0ff3cb LegoActionControlPresenter functions (#295)
* LegoActionControlPresenter

* fix formatting

* fix format

* Fixes

* Fix order

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-11-21 11:35:03 +01:00
MS
1ae3b07dc2 Checkorder tool to keep functions in original binary order (#228)
* First commit of order tool

* More flexible match on module name. Bugfix on blank_or_comment

* Report inexact offset comments in verbose mode. Bugfix for exact regex

* Refactor checkorder into reusable isledecomp module

* Find bad comments in one pass, add awareness of TEMPLATE

* Refactor of state machine to prepare for reccmp integration

* Use isledecomp lib in reccmp

* Build isledecomp in GH actions, fix mypy complaint

* Ensure unit test cpp files will be ignored by reccmp

* Allow multiple offset markers, pep8 cleanup

* Remove unused variable

* Code style, remove unneeded module and TODO

* Final renaming and type hints

* Fix checkorder issues, add GH action and enforce (#2)

* Fix checkorder issues

* Add GH action

* Test error case

* Works

* Fixes

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-11-21 09:44:45 +01:00
Christian Semmler
714d36b57d Bootstrap MxWavePresenter, implement/match some functions (#286)
* Bootstrap MxWavePresenter, implement/match some functions

* Fix

* Use constant for 0x7f

* Update mxwavepresenter.cpp

* Update mxwavepresenter.h
2023-11-19 12:10:49 -05:00
Christian Semmler
6441391092 Implement/match MxEventPresenter (#285) 2023-11-19 12:10:32 -05:00
Christian Semmler
e0c168367a Fix ROI acronym explanation 2023-11-19 09:49:36 -05:00
Nathan M Gilbert
7fc1f8019f Implement ViewROI and base classes (#287)
* Implement ViewROI and base classes

* Clean up Orientable header

* Move tgl to tgl subdirectory, and use target_include_directories

* Move classes to submodules

* Fix some missed references

* Fix/match UpdateWorldData

* Renaming / removing MxTypes / refactoring

* Consistent naming for Matrix

* Adjust format action

* Add Vector3/Vector4 to Data vector

* Add TGL comment

* Add a comment about Matrix4Impl

* Add ROI comment

---------

Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com>
Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-11-19 15:38:07 +01:00
Christian Semmler
17b0eeddb4 Update CONTRIBUTING.md 2023-11-19 14:17:01 +01:00
Thomas Phillips
dff410d87a Use templates instead of replacing (#292)
* Use templates instead of replacing

* Use Renderer to avoid loading templates ourselves

---------

Co-authored-by: Thomas Phillips <thomas@teknique.com>
2023-11-19 13:55:01 +01:00
Joshua Peisach
0b0a9a6d6f MxFlcPresenter: vtable70 (#291)
* MxFlcPresenter: vtable70

* Fix function

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-11-19 13:28:06 +01:00
MS
0bb3ea6a03 MxList refactor (#290)
* MxList refactor

* Reorder LegoPathControllerList::Destroy

* MxPtrList custom destructor and more offsets

Co-authored-by: Christian Semmler <mail@csemmler.com>

* Fix member offset comments in collection classes

* Fix template annotations

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-11-19 13:23:30 +01:00
Nathan M Gilbert
93eb4dc82d Create (#289)
* Align name of Create method with known source
Fix name in Score for reccmp

* Also update MxEntity::Vtable0x14
2023-11-18 10:08:49 -05:00
Joshua Peisach
eee80250c0 LegoPalettePresenter - destroy function and destructor (#288)
* LegoPalettePresenter - destroy function and destructor

* Update legopalettepresenter.h

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2023-11-17 15:01:27 -05:00
Christian Semmler
d8bf4aebf4 Implement/match most of MxVideoPresenter (#280)
* Bootstrap MxMediaPresenter

* Implement/match MxMediaPresenter::Tickle and related

* Implement AppendChunk and Enable

* Implement/match most of MxVideoPresenter

* Add missing offset
2023-11-14 12:25:14 -08:00
Christian Semmler
c626f18b03 Prepare MxMidiPresenter vtable and refactoring (#278) 2023-11-14 12:10:43 -08:00