1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-28 19:25:27 +00:00
oot/include
Dragorn421 83163f4d4b
Fix misc GCC compatibility issues (#1463)
* Fix osGetMemSize being optimized to `return 8MB` by gcc

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Co-authored-by: ariahiro64 <45049787+ariahiro64@users.noreply.github.com>

* Workaround f32 to s16 cast for binang being UB if binang doesn't fit s16

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Co-authored-by: ariahiro64 <45049787+ariahiro64@users.noreply.github.com>

* osGetMemSize fixup

* include z64math in z64camera

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Co-authored-by: ariahiro64 <45049787+ariahiro64@users.noreply.github.com>
2022-12-12 20:55:57 -05:00
..
libc Improve rcp.h, remove HW_REG macro (#1425) 2022-11-13 02:16:01 -05:00
tables Cleanup post good scene names (#1452) 2022-12-05 13:37:40 -05:00
ultra64 Improvements to Video Interface related functions and data (#1332) 2022-11-13 18:07:27 -05:00
alignment.h TwoHeadArena and TwoHeadGfxArena docs (#1349) 2022-11-13 18:29:50 -05:00
alloca.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
boot.h Improve the state of handwritten assembly files (#865) 2022-05-01 01:03:22 +02:00
color.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
command_macros_base.h Misc. doc/cleanup 5 (#1096) 2022-01-12 15:48:04 -05:00
fault.h More documentation for padmgr.c (#1336) 2022-09-03 02:52:13 +02:00
fp.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
functions.h Cleanup post good scene names (#1452) 2022-12-05 13:37:40 -05:00
global.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
ichain.h Use __builtin_offsetof for non IDO builds (#1140) 2022-02-13 00:05:11 -05:00
irqmgr.h More documentation for padmgr.c (#1336) 2022-09-03 02:52:13 +02:00
macro.inc First proper commit. 2020-03-17 00:31:30 -04:00
macros.h Skelanime/Animation header cleanup (#1434) 2022-11-30 18:46:12 +01:00
mempak.h Mempak doc (#1382) 2022-11-16 02:32:07 -05:00
message_data_fmt.h Whitespace (#1112) 2022-01-23 18:09:02 -05:00
message_data_static.h Fix TEXTBOX_POS issue (#1329) 2022-07-27 16:24:58 -04:00
padmgr.h Rumble doc (#1375) 2022-09-27 12:40:26 -04:00
quake.h Quake Documentation Pass (#1402) 2022-10-15 02:16:37 -04:00
regs.h Document HREG debugging system (#1351) 2022-11-26 15:22:01 -05:00
rumble.h Rumble doc (#1375) 2022-09-27 12:40:26 -04:00
sched.h Improvements to Video Interface related functions and data (#1332) 2022-11-13 18:07:27 -05:00
segment_symbols.h Implement the scene table with defines (#1128) 2022-02-01 14:36:09 -05:00
seqcmd.h Document code_800F9280.c -> audio_seqcmd.c i.e. (Audio_QueueSeqCmd) (#1234) 2022-10-07 13:29:33 +02:00
sequence.h Document code_800F9280.c -> audio_seqcmd.c i.e. (Audio_QueueSeqCmd) (#1234) 2022-10-07 13:29:33 +02:00
sfx.h Document Surface Material (#1447) 2022-11-26 18:11:06 -05:00
terminal.h Rename vt.h to terminal.h (#1339) 2022-11-01 19:17:11 -04:00
tha.h TwoHeadArena and TwoHeadGfxArena docs (#1349) 2022-11-13 18:29:50 -05:00
thga.h TwoHeadArena and TwoHeadGfxArena docs (#1349) 2022-11-13 18:29:50 -05:00
ultra64.h Improve rcp.h, remove HW_REG macro (#1425) 2022-11-13 02:16:01 -05:00
unk.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
variables.h Add skybox .h and cleanup, SkyboxDraw_ -> Skybox_ (#1435) 2022-11-26 17:53:41 -05:00
z64.h Skelanime/Animation header cleanup (#1434) 2022-11-30 18:46:12 +01:00
z64actor.h Document NPC talking and player tracking (#1426) 2022-11-25 12:52:28 -05:00
z64animation.h Skelanime/Animation header cleanup (#1434) 2022-11-30 18:46:12 +01:00
z64animation_legacy.h Skelanime/Animation header cleanup (#1434) 2022-11-30 18:46:12 +01:00
z64audio.h Fix misc 17 (#1392) 2022-10-13 04:06:49 -04:00
z64bgcheck.h Document Surface Material (#1447) 2022-11-26 18:11:06 -05:00
z64camera.h Fix misc GCC compatibility issues (#1463) 2022-12-12 20:55:57 -05:00
z64collision_check.h Fix misc 18 (#1423) 2022-11-13 23:47:25 +01:00
z64curve.h Improve rcp.h, remove HW_REG macro (#1425) 2022-11-13 02:16:01 -05:00
z64cutscene.h Enable more IDO warnings and apply fixes (#1264) 2022-06-12 19:24:45 -04:00
z64cutscene_commands.h Document flag for swinging bottle (#1272) 2022-06-12 18:58:13 -04:00
z64dma.h More documentation for z_std_dma.c (#1415) 2022-11-16 21:57:02 -05:00
z64effect.h Use intptr types in more code files (#1385) 2022-10-02 11:38:09 -04:00
z64environment.h Add skybox .h and cleanup, SkyboxDraw_ -> Skybox_ (#1435) 2022-11-26 17:53:41 -05:00
z64interface.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64item.h More documentation for z_std_dma.c (#1415) 2022-11-16 21:57:02 -05:00
z64light.h Some doc on env light settings (#1307) 2022-11-01 19:00:38 -04:00
z64map_mark.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64math.h Fix misc GCC compatibility issues (#1463) 2022-12-12 20:55:57 -05:00
z64object.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64ocarina.h Fix misc 18 (#1423) 2022-11-13 23:47:25 +01:00
z64player.h Document Surface Material (#1447) 2022-11-26 18:11:06 -05:00
z64quest_hint_commands.h Document elf_message scripting system (#1398) 2022-10-15 13:24:13 -04:00
z64save.h Document Hud Mode (#1323) 2022-11-22 04:01:44 +01:00
z64scene.h Cleanup post good scene names (#1452) 2022-12-05 13:37:40 -05:00
z64skin.h PlayState Rename (#1231) 2022-05-21 14:23:43 -04:00
z64skybox.h Add skybox .h and cleanup, SkyboxDraw_ -> Skybox_ (#1435) 2022-11-26 17:53:41 -05:00
z64transition.h Fix misc 11 (#1209) 2022-05-04 21:25:26 +02:00