Commit Graph

5 Commits

Author SHA1 Message Date
Alex Bates 10e9021a77 use nullptr instead of NULL
Replaces all instances of NULL with nullptr, and adds code defining it to types.h.

C23 standardized the nullptr keyword. In general, we should prefer the standard spelling of things. C++ also uses nullptr.

NULL is defined as 0 by libultra. nullptr is (void*)0, which can cause additional (correct) warnings. We can generally fix these by typing integers as pointers correctly.
2025-06-15 17:37:48 +01:00
z64a 63b0e737ee
npc-enemy-flags (#1212) 2024-10-07 23:15:38 -04:00
z64a 5e2487fde2
dx camera upstreams (#1207) 2024-09-23 14:42:15 -04:00
Josh Diamond 562ccb68ad
rename fuzzy leech anim (#1174)
* fix pm_sprites caching

Co-authored-by: Alex Bates <alex@bates64.com>

* name fuzzy leech anim

---------

Co-authored-by: Alex Bates <alex@bates64.com>
2024-02-18 07:55:01 +00:00
Alex Bates 9574baebaf
Make EVT macros easier to read and write (#1154)
* fix rename.py

* update doxygen EVT_CALL->Call

* support passing files to rename.py

* remove EVT macro prefix and make them PascalCase

* rename PlayEffect function to PlayEffect_impl so it doesn't conflict with macro

* dead_PlayEffect_impl
2024-01-21 13:04:47 +00:00