mm/include
Tom Overton 7c93d5e125
EnInvadepoh (Aliens, UFO, Invasion Handler, etc.) OK and documented (#1614)
* deimplementation complete

* newlines

* match

* data import

* back port cleanup changes

* stuff

* naming and such

* all funcs provisionally named

* more stuff

* merge

* Fix merge issues

* begin cleanup

* Use constants for all face animation data

* Use THIS like almost every actor does

* Change "Light Ball" to "UFO"

* Rename the alien types

* EnInvadePoh -> EnInvadepoh

* Rename the types

* Rename some Twinmold stuff

* ConfusedRomani -> SilentRomani

* Fix stack size issues with EnInvadepoh_Cremia_Init

* Move a struct out of the header to where it belongs

* Some header cleanup and struct names

* Name remaining struct vars

* Some more struct var renames

* Finish reviewing the struct var names

* Rename most of the interactInfo stuff

* Consistency

* Remove unused union

* Define EN_INVADEPOH_LIMB_MAX like EndingHero6 does

* Fix header

* Update functions.txt and variables.txt

* Create macros for accessing spawn time and kill count

* Some defines

* Some minor comments and cleanup

* Rename some functions

* Comments for those three functions

* Draw function cleanups

* Some damaged and dead cleanup

* Death scale stuff

* Good chunk of alien functions

* Invasion state naming

* Weekeventreg naming

* Happy with >20% of functions now

* A couple more functions

* More consistent names for BSS variables

* Some Init cleanup

* Happy with 30% of the functions now

* Finish the abductors

* Some random functions to get the functions I'm happy with >1/3rd

* Use `InitPath` for everything

* UFO functions done, >40% functions I'm happy with

* Do a lot of work on InvasionHandler action funcs

* Finish invasion handler code

* InitVars

* Rename the "closest alien" stuff to "closest alien threat"

* Finish most of the dog functions

* Lots of small stuff here and there

* Finish documenting the dog bug

* Document `EnInvadepoh_Dog_IsCloseToPath`

* `EnInvadepoh_Dog_MoveAlongPath` and other fixes

* Simple comment for `EnInvadepoh_Dog_Move`

* Various path functions, finish dog

* Consistently use "SetMatrixTranslation"

* Change all the angleToPlayer stuff to pitch/yaw

* Some RewardRomani functions

* Finish RewardRomani

* Finish Night1Romani and BarnRomani, >75% of functions done

* Some minor stuff

* Document bug

* Finish all of SilentRomani minus the Idle functions

* Finish EnInvadepoh_SilentRomani_Idle

* Finish Night3Cremia

* Finish Night3Romani

* Finish `EnInvadepoh_Ufo_SpawnSparkles`

* Finish some library functions

* Finish the alien pathing stuff

* Finish Romani path stuff

* Finish all non-InteractInfo stuff

* InteractInfo -> ModelInfo

* Create a `EnInvadepohFaceAnimBase` struct

* Name some of the animation data

* Switch to `Chained`/`ChainedDelay` and do some other cleanup

* Name all of the animation data

* Finish documenting and cleaning up the face animation functions

* Some comments at the top of the file

* Clean up forward declarations

* Clean some stuff up to the ModelInfo functions

* Fix build

* Move the animation data around so all the ModelInfo functions are adjacent

* Review

* Use `CLOCK_TIME_MINUTE` in `EnInvadepoh_Alien_PathComputeProgress`

* Respond to some of Anghelo's review

* Update comment on spawn time macros explaining what indices are usable

* Create a `DEATH_SCALE` define

* `WEEKEVENTREG_RECEIVED_MILK_BOTTLE` -> `WEEKEVENTREG_RECEIVED_ALIENS_BOTTLE`

* Forgot to do the bomber's notebook stuff too

* parallelogram -> rectangle

* Respond to engineer's review

* Slight spacing fix

---------

Co-authored-by: petrie911 <petrie911@users.noreply.github.com>
Co-authored-by: petrie911 <pmontag@Monday.localdomain>
Co-authored-by: angie <angheloalf95@gmail.com>
Co-authored-by: engineer124 <engineer124engineer124@gmail.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2024-04-29 08:19:55 -07:00
..
PR General Cleanup 3 (#1543) 2024-01-29 10:51:59 -03:00
audio Introduce More Audio Headers (#1515) 2024-02-08 14:36:11 -03:00
libc Organize `libc` and `libm` files (#1499) 2023-11-28 13:01:14 +11:00
libc64 Organize `libc64` files (#1492) 2023-11-27 12:01:42 +11:00
tables EnInvadepoh (Aliens, UFO, Invasion Handler, etc.) OK and documented (#1614) 2024-04-29 08:19:55 -07:00
CIC6105.h Cleanup pass for CIC6105.c (#1371) 2023-09-24 19:23:44 +10:00
alignment.h Match `Environment_DrawSkyboxStarsImpl` (z_kankyo OK), introduce `rand.h` (#1476) 2023-11-10 10:28:16 +11:00
attributes.h Yet another libultra cleanup (#1384) 2023-10-26 10:44:27 -03:00
audiomgr.h Irqmgr + scheduler Docs (#1527) 2024-01-20 20:47:00 -03:00
audiothread_cmd.h Enable `-Wint-conversion` warning (#1266) 2023-11-02 10:07:38 +11:00
buffers.h Move the system heap and the framebuffers to their own segments (#1488) 2023-11-26 09:47:21 -03:00
build.h Cleanup pass for CIC6105.c (#1371) 2023-09-24 19:23:44 +10:00
carthandle.h Small boot cleanup (#1475) 2023-11-10 10:08:21 +11:00
color.h Match `Environment_DrawSkyboxStarsImpl` (z_kankyo OK), introduce `rand.h` (#1476) 2023-11-10 10:28:16 +11:00
command_macros_base.h
debug.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
fault.h General Cleanup 2 (#1538) 2024-01-28 21:27:50 -03:00
fault_internal.h Port OoT's docs for `fault.c` and `fault_drawer.c` (#1199) 2023-07-08 14:41:25 -04:00
flg_set.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
functions.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
gamealloc.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
gfx.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
gfxprint.h General Cleanup 3 (#1543) 2024-01-29 10:51:59 -03:00
global.h Yet another header cleanup (#1284) 2023-06-18 16:43:47 +10:00
ichain.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
idle.h Idle + Main bss and cleanup (#1292) 2023-06-26 10:18:50 +10:00
irqmgr.h Irqmgr + scheduler Docs (#1527) 2024-01-20 20:47:00 -03:00
kanread.h Extract Kanji + some adjacent docs (#1536) 2024-01-21 12:47:27 +11:00
listalloc.h PreRender.c OK (#1320) 2023-09-15 19:34:16 -03:00
loadfragment.h Misc Clean (#1602) 2024-04-06 10:23:06 -07:00
macro.inc
macros.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
main.h Irqmgr + scheduler Docs (#1527) 2024-01-20 20:47:00 -03:00
message_data_fmt_nes.h Text Extraction + some Message Docs (#1530) 2024-01-19 21:16:57 -03:00
message_data_fmt_staff.h Text Extraction + some Message Docs (#1530) 2024-01-19 21:16:57 -03:00
message_data_static.h Text Extraction + some Message Docs (#1530) 2024-01-19 21:16:57 -03:00
padmgr.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
padutils.h General Cleanup (#1529) 2024-01-15 10:03:13 +11:00
prevent_bss_reordering.h
prevent_bss_reordering2.h `z64vi*.h` and `sys_cfb.h` headers (#1259) 2023-08-09 19:44:31 -04:00
regs.h Introduce `z64pause_menu.h` header (#1505) 2024-03-31 20:05:02 -07:00
scheduler.h General Cleanup 2 (#1538) 2024-01-28 21:27:50 -03:00
segment_symbols.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
seqcmd.h Audio `sequence.c` OK and documented (#1201) 2023-03-30 19:53:47 +11:00
sequence.h increase audio seq cmd list size (#1610) 2024-04-06 09:24:22 -07:00
sfx.h Cleanup External Audio Headers (#1520) 2023-11-29 14:18:09 -03:00
slowly.h Slowly Cleanup (#1213) 2023-03-20 00:48:49 +11:00
stack.h
stackcheck.h `stackcheck.h` (#1204) 2023-04-18 17:50:34 -04:00
su_mtx.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
sys_cfb.h `z64vi*.h` and `sys_cfb.h` headers (#1259) 2023-08-09 19:44:31 -04:00
sys_cmpdma.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
sys_flashrom.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
sys_initial_check.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
sys_matrix.h
sys_ucode.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
system_heap.h Docs Cleanup (#1153) 2023-05-29 13:04:07 +10:00
tha.h Enable `-Wint-conversion` warning (#1266) 2023-11-02 10:07:38 +11:00
thga.h THA docs (#1177) 2023-03-24 14:38:04 -03:00
ultra64.h Yet another libultra cleanup (#1384) 2023-10-26 10:44:27 -03:00
unk.h
variables.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
viconfig.h General Cleanup (#1529) 2024-01-15 10:03:13 +11:00
vt.h
yaz0.h General Cleanup (#1529) 2024-01-15 10:03:13 +11:00
z64.h Introduce `z64pause_menu.h` header (#1505) 2024-03-31 20:05:02 -07:00
z64DLF.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64actor.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64actor_dlftbls.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64animation.h Player doc: anim wrappers (#1434) 2023-11-18 23:55:04 +11:00
z64animation_legacy.h Yet another header cleanup (#1284) 2023-06-18 16:43:47 +10:00
z64audio.h Introduce More Audio Headers (#1515) 2024-02-08 14:36:11 -03:00
z64bgcheck.h General Cleanup 2 (#1538) 2024-01-28 21:27:50 -03:00
z64bombers_notebook.h General Cleanup 2 (#1538) 2024-01-28 21:27:50 -03:00
z64camera.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64circle_tex.h Clean2 (#1605) 2024-02-20 14:04:23 +11:00
z64collision_check.h Boss01 (Odolwa) OK and documented (#1452) 2023-10-29 08:29:43 +11:00
z64curve.h Update ZAPD (#1533) 2024-01-14 12:34:50 -03:00
z64cutscene.h Update ZAPD (#1533) 2024-01-14 12:34:50 -03:00
z64cutscene_commands.h Update ZAPD (#1533) 2024-01-14 12:34:50 -03:00
z64debug_display.h
z64debug_text.h
z64dma.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64door.h `ovl_En_Door` docs pass (#1603) 2024-04-22 18:34:02 -07:00
z64eff_blure.h Split effect headers and a bit of cleanup (#1482) 2023-11-27 12:24:46 -03:00
z64eff_footmark.h
z64eff_shield_particle.h Split effect headers and a bit of cleanup (#1482) 2023-11-27 12:24:46 -03:00
z64eff_spark.h Split effect headers and a bit of cleanup (#1482) 2023-11-27 12:24:46 -03:00
z64eff_ss_dead.h Split effect headers and a bit of cleanup (#1482) 2023-11-27 12:24:46 -03:00
z64eff_tire_mark.h Split effect headers and a bit of cleanup (#1482) 2023-11-27 12:24:46 -03:00
z64effect.h Split effect headers and a bit of cleanup (#1482) 2023-11-27 12:24:46 -03:00
z64effect_ss.h Split effect headers and a bit of cleanup (#1482) 2023-11-27 12:24:46 -03:00
z64environment.h `z_en_test4.c` Documented (#1498) 2023-11-25 17:34:33 +11:00
z64font.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64frameadvance.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
z64game.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64game_over.h `z64game_over.h` (#1183) 2023-03-24 15:29:54 -03:00
z64horse.h `z_horse.c` OK (#1245) 2023-06-01 15:11:11 -04:00
z64interface.h Yet another header cleanup (#1284) 2023-06-18 16:43:47 +10:00
z64item.h Z_message (2 NON_MATCHINGS) (#1398) 2023-10-04 08:51:45 +11:00
z64jpeg.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
z64lib.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64lifemeter.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64light.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64malloc.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64map.h
z64math.h ObjMure2 OK and documented (#1525) 2024-01-14 15:36:22 -03:00
z64message.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64nmi_buff.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64object.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64ocarina.h Cleanup External Audio Headers (#1520) 2023-11-29 14:18:09 -03:00
z64path.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64pause_menu.h Introduce `z64pause_menu.h` header (#1505) 2024-03-31 20:05:02 -07:00
z64player.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64prerender.h PreRender.c OK (#1320) 2023-09-15 19:34:16 -03:00
z64quake.h `code_80140E80` OK and preliminary documentation, Fbdemo_Wipe4 OK and documented (#1106) 2023-10-26 17:42:24 +11:00
z64rumble.h Move libultra function declarations to libultra headers (#1196) 2023-09-02 15:34:29 -04:00
z64save.h EnInvadepoh (Aliens, UFO, Invasion Handler, etc.) OK and documented (#1614) 2024-04-29 08:19:55 -07:00
z64scene.h More header cleanup (#1604) 2024-04-25 18:16:47 -07:00
z64schedule.h A higher level language for schedule scripts (#1462) 2024-02-01 09:50:32 -03:00
z64shrink_window.h `z64game_over.h` (#1183) 2023-03-24 15:29:54 -03:00
z64skin.h General Cleanup (#1529) 2024-01-15 10:03:13 +11:00
z64skin_matrix.h Yet another header cleanup (#1508) 2023-11-23 13:55:05 +11:00
z64skybox.h Skybox Docs (#1534) 2024-01-14 15:56:19 -03:00
z64snap.h
z64sound_source.h Yet another header cleanup (#1284) 2023-06-18 16:43:47 +10:00
z64speed_meter.h General Cleanup 2 (#1538) 2024-01-28 21:27:50 -03:00
z64subs.h `ovl_En_Door` docs pass (#1603) 2024-04-22 18:34:02 -07:00
z64thread.h Dmadata Migration (#1526) 2024-01-14 13:04:53 -03:00
z64transition.h Clean2 (#1605) 2024-02-20 14:04:23 +11:00
z64view.h `ovl_En_Door` docs pass (#1603) 2024-04-22 18:34:02 -07:00
z64vimode.h `z64vi*.h` and `sys_cfb.h` headers (#1259) 2023-08-09 19:44:31 -04:00
z64vis.h Framebuffer filter docs (#1528) 2024-01-20 21:04:28 -03:00
z64visfbuf.h `code_80140E80` OK and preliminary documentation, Fbdemo_Wipe4 OK and documented (#1106) 2023-10-26 17:42:24 +11:00
z64voice.h General Cleanup 2 (#1538) 2024-01-28 21:27:50 -03:00
z_en_hy_code.h Text Extraction + some Message Docs (#1530) 2024-01-19 21:16:57 -03:00
z_fireobj.h Misc Cleanup 3 (#1268) 2023-06-06 08:57:45 +10:00
z_prenmi.h `z64game.h` (#1250) 2023-06-06 08:54:18 -04:00
z_title_setup.h `z64game.h` (#1250) 2023-06-06 08:54:18 -04:00