cadmic
e6bc4bd8cb
Add names to all typedef'd structs, unions, and enums ( #2028 )
...
* Add names to all typedef'd structs, unions, and enums
* wtf vs code
* Use a better regex
2024-08-12 03:07:48 -04:00
fig02
078e21f6c6
InitVars
-> Profile
(#2011 )
...
* rename ActorInit
* rename actorInit
* rename initInfo
* EffectSs Profile
* _InitVars -> _Profile
* format, loose ends
* revert tutorial
2024-08-02 17:50:02 -04:00
cadmic
0cbcebfded
Match some overlay effects files ( #1705 )
2024-02-03 17:36:35 -05:00
cadmic
cd917b0cb8
Create debug macros for common functions ( #1597 )
...
* Create debug macros for common functions
* Revert NDEBUG change
* MALLOCR -> MALLOC_R
* DEBUG -> OOT_DEBUG
* Use the same name for debug and non-debug matrix functions
* Fix file/line argument order
* Revert g[s]DPNoOp[Tag]
* Use SystemArena_MallocDebug directly in GameAlloc_MallocDebug
* MTXF_TO_MTX -> MATRIX_TO_MTX
2024-01-09 07:59:03 -05:00
Dragorn421
57ce0cf8d9
Doc/Cleanup pass on object handling ( #1227 )
...
* `Object_InitBank` -> `Object_InitContext`
* Add and use `OBJECT_SPACE_SIZE_BASE`
* Remove `OBJECT_EXCHANGE_BANK_MAX` -> use `ARRAY_COUNT()` instead
* "object status" -> "object load entry"
* Misc. cleanup/renames
* Partial docs and way too much batch renaming and cleanup for a single commit
* ctrl shift h
* format
* format clang-11.1
* fix regressions
* Improve a `@bug` comment
* Move `OBJECT_SPACE_SIZE_BASE` from header to near `Object_InitContext`
* "objectID" -> "objectId"
* Revert iterator index to `i` in `Actor_KillActorsWithUnloadedObject`
* "object load entry index" -> "object entry"
* `Object_UpdateLoadEntries` -> `Object_UpdateEntries`
* Run format.sh
* "object entry" -> "object slot" (except internal usage)
* Proper `Object_SpawnPersistent` doc
Co-authored-by: fig02 <fig02srl@gmail.com>
* fixup one comment "object bank index" -> "object slot"
* Amend `Object_SpawnPersistent` comment to mention running out of free slots
* `Actor_KillActorsWithUnloadedObject` -> `Actor_KillAllWithMissingObject`
* Remove useless mention of what uses `Object_SpawnPersistent`
* Fix mistake on `Object_SpawnPersistent` doing sync dma, not async
* run formatter
* `Object_InitContext` -> `Object_Init`
* `waitObjectSlot` -> `requiredObjectSlot`
* `Object_Init` -> `func_80097DD8`
* one objectIndex -> objectSlot
* Remove `OBJECT_SPACE_SIZE_BASE`
* light fix on the merge (rm OBJECT_EXCHANGE_BANK_MAX)
* `func_80097DD8` -> `Object_InitContext`
---------
Co-authored-by: fig02 <fig02srl@gmail.com>
2023-09-19 14:10:12 -04:00
engineer124
35887e25ee
Minor Misc Cleanup 2 ( #1422 )
...
* misc cleanup
* more cleanup
* more cleanup
* PR Suggestions
* cleanup cond
2023-02-26 21:48:42 +01:00
Roman971
f5a7c5612b
Use intptr types in more code files ( #1385 )
...
* Use intptr types for segments and a few system files
* Use intptr types for more dma rom addresses
* Use intptr types in data referring to rom files
* Update and cleanup a few message casts
* Change sys_cfb functions and debugHeapStart to use pointers
* Update graph.c for the sys_cfb return type change
2022-10-02 11:38:09 -04:00
Roman971
b0bfa9eb69
Fix asset file includes to always start with assets/ ( #1260 )
...
* Fix asset includes to consistently start with assets/
* Fix header paths in asset xmls to start with assets/
* Remove -Iassets from compiler options
2022-06-06 15:37:25 -04:00
Dragorn421
1a41694d58
Add enum for setup dls and name z_rcp.c
functions ( #1196 )
...
* Introduce `SetupDL` enum
* wip
* wip
* Remove comments on each setupdl index
* Name setup dl functions by setupdl index
* `Gfx_SetupDl` -> `Gfx_SetupDL`
* Run formatter
* globalctx -> play
* fix regressions
* `Gfx_SetupDL` -> `Gfx_SetupDL_` (add separating underscore)
* `CallSetupDL` -> `SetupDL`
2022-06-03 18:25:48 -04:00
fig02
2e6279bc8e
PlayState Rename ( #1231 )
...
* global context -> play
* fix PlayState* PlayState
2022-05-21 14:23:43 -04:00
EllipticEllipsis
eadc477187
New relocation-generating program ( #1016 )
...
* Update makefiles
* git subrepo clone git@github.com:EllipticEllipsis/fado.git tools/fado
subrepo:
subdir: "tools/fado"
merged: "46c4d751a"
upstream:
origin: "git@github.com:EllipticEllipsis/fado.git"
branch: "master"
commit: "46c4d751a"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "2f68596"
* git subrepo pull tools/fado
subrepo:
subdir: "tools/fado"
merged: "88114ebce"
upstream:
origin: "git@github.com:EllipticEllipsis/fado.git"
branch: "master"
commit: "88114ebce"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "2f68596"
* A few ideas for computing dependencies
* Remove reserved identifiers from spec.h and util.h
and add required headers
* Fix a couple more headers
* Program for reloc prerequisites
* git subrepo pull tools/fado
subrepo:
subdir: "tools/fado"
merged: "36a905f72"
upstream:
origin: "git@github.com:EllipticEllipsis/fado.git"
branch: "master"
commit: "36a905f72"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "2f68596"
* Update makefile to make dependency files and use overlay's name
* git subrepo pull tools/fado
subrepo:
subdir: "tools/fado"
merged: "43c339a59"
upstream:
origin: "git@github.com:EllipticEllipsis/fado.git"
branch: "master"
commit: "43c339a59"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "2f68596"
* Change awk to grep, delete ZAPD files, gitignore elf
* Delete all the cfg files
* Fix memory leaks
* Rename and add coloured errors
* Makefile tweaks
- preprocess spec before grep
- split order prerequisites via phony target to reduce dependency edges
- remove `resources` target
- remove separate overlays targets
- use `$(SPEC)` throughout
- change to using filenames of relocs for overlay names via `$*`
- Rearrange targets to better reflect their categories
* Update gitignore
* Review
* Add a check for the reloc file name
* get_segment_by_name
* get_stmt_id_by_stmt_name
* Cleaning up
* algorithm change
* function rename
* Fix typos
Co-authored-by: angie <angheloalf95@gmail.com>
2022-02-06 14:40:26 -05:00
Dragorn421
b1d3844325
Document undocumented matrix functions ( #955 )
...
* Document `func_800D1694` as `Matrix_TranslateRotateYXZ`
* Document `func_800D1FD4` as `Matrix_ReplaceRotation`
* Cleanup `Matrix_RotateAxis`
* Document `func_800A7EC0` as `SkinMatrix_SetRotateAxis`
* Document `func_800D2A34` and `func_800D2A98` as `Matrix_SetTranslateScaleMtx`(`F`)
* Document mostly unused functions at the end of `sys_matrix.c`
* Add in-use renamed functions to `namefixer.py`
* Add `Matrix_SetTranslateScaleMtx2` to `namefixer.py`
* Run formatter
* Fix namefixer.py mistake from #952
* Format clang-11.1
* Fix `Matrix_TranslateRotateYXZ` wrongly documented, it actually is `Matrix_SetTranslateRotateYXZ`
* VS Code is stellar at refactoring (no)
* Run formatter
* Come on VS Code
* Improve `Matrix_ReplaceRotation` docs
* Fix typo
* Fix namefixer.py
2022-01-11 00:28:01 +01:00
Dragorn421
8ff1f242fa
Replace some more constants with proper asset symbols ( #1053 )
2021-12-02 16:19:19 -05:00
engineer124
eabc918817
Name the coordinate transformation matrices ( #1042 )
2021-11-30 18:52:16 -05:00
louist103
e3f1ccd902
Fix all headers to comply with C standard ( #957 )
...
* Fix all headers to comply with C standard
* fix a file in libultra
* Update include/stdbool.h
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
* Update stdbool.h
* Update z64animation.h
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2021-09-15 19:24:19 -04:00
Dragorn421
5e071a014d
Symbol cleanup ( #897 )
...
* symbol cleanup
* run formatter
* run formatter
* remove duplicate z_demo_ik symbols
* run formatter
2021-08-22 11:52:02 -04:00
fig02
3c5fe66dcd
Use macros for oGfxCtx accesses ( #465 )
...
* fix colliderinit typo
* fix initchain
* reloc
* add defines
* add defines
* missed some on merge
* rename gfxCtx and add comment
* remove space
2020-10-29 17:31:09 -04:00
Random
174af7384d
libultra cleanup ( #215 )
...
* cleanup libultra
* fixes
- use quotes instead of <> for includes
- add macros for zelda specific thread priorities
- fix Makefile
- properly format the remaining pfs structs
* fix button macros + add CHECK_BTN_ANY/CHECK_BTN_ALL
* remove ULTRA_ABS
* fix includes
* update z_player.c/z_lib.c + run format.sh
* merge upstream/master
* fix include in En_Goroiwa
* fix includes
2020-10-03 11:22:44 -04:00
fig02
82968a7381
All Effect Overlays and z_effect_soft_sprite_old_init.c OK ( #396 )
...
* fix colliderinit typo
* dead sound done
* deadsound documentation
* blast done
* progress
* spk init
* progress
* spark done
* ss bomb ok
* bomb done
* cleanup
* progress
* progress
* almost done with bomb2
* clean up gossip stone
* more
* cleanup and format
* remove unused asm file
* nonmatching reloc
* done i think
* mistakes
* fix headers
* idk how that got in here
* EffectSsStick OK
* progress
* fix conflicting name
* progress
* splash OK
* uname fields
* progress
* lightning OK
* remove unwanted files
* kirakira ok
* kirakira done
* magma OK
* remove files
* ss_g_fire OK
* name funcs
* progress
* progress
* magma2 and kakera OK
* eff_ss_dead_dd OK
* fcircle OK
* stone1 OK
* sibuki2 OK
* dt_bubble OK
* deaddb OK
* sibuki OK
* dead_ds OK
* ice_smoke OK
* hitmark OK
* hahen OK
* k_fire OK
* en_fire OK
* starting colors
* color changes 1
* color switch done
* init file data migrated
* data cleanup
* ice_piece OK
* en_ice OK
* progress
* progress
* docs progress
* fix blast color names
* documentation pass 1
* progress
* cleanup pass 2
* touchups
* added to functions.h
* small changes
* fix functions.h
* renaming progress
* name progress
* color enum
* more cleanups
* enice changes
* final cleanups
* remove unwanted file
* lightning -> shock
* pr suggestions
* fix comment
* remove unwanted comments
2020-09-29 20:18:46 -04:00
maekclena
d44dd61cd6
ovl_Effect_Ss_Extra ( #339 )
...
* ovl_Effect_Ss_Extra
* EffectSsExtra_Spawn
* Typo
* PR review
* PR review
2020-09-04 17:22:12 -04:00
Ethan Roseman
e672778b0e
Fx bootstrap ( #278 )
...
* script
* update
* dun?
2020-07-19 19:42:59 -04:00
Roman971
e36015837b
Rename effects ss C files to z_eff_ss_* instead of z_effect_ss_* ( #109 )
...
Just rectifying effect files to their correct original names, which was planned for a while.
2020-05-02 00:05:44 -04:00
Roman971
8cfe7cce9f
Format all src C files
2020-03-22 22:20:03 +01:00
Jack Walker
087f561f77
First proper commit.
2020-03-17 00:31:30 -04:00