Commit Graph

2970 Commits (af01a214ee74df24c4c97024efa54c0d962e9dec)

Author SHA1 Message Date
MysterD af01a214ee Fix autogen for AnimationTable 2023-05-10 22:29:39 -07:00
MysterD 8ed8fc31d2 Fix another ~200+ crashes that could happen from mods 2023-05-10 21:28:13 -07:00
MysterD d30b1e61a6 Add a container to animation tables so that we can track their length and stay in bounds 2023-05-10 20:57:35 -07:00
MysterD e666719baf Rename func_80321080 -> stop_secondary_music 2023-05-10 15:39:15 -07:00
MysterD b22230db5d Merge branch 'dev' of github.com:sm64ex-coop-dev/sm64ex-coop into dev 2023-05-10 15:21:00 -07:00
Prince Frizzy d368e4e844
Name more audio code and variables, Document some others. (#386) 2023-05-10 14:31:58 -07:00
PeachyPeach 52e4bac21a
fixed disable acts (#390) 2023-05-10 17:07:29 -04:00
MysterD b863cc80c8 Prevent several possible crashes and hangs, limit more struct fields to read-only 2023-05-10 13:25:41 -07:00
Agent X 89fa4fbe5b
Nametags update (#385)
* Slight Nametags update

Made Nametags not render if behind camera

* Optimizations and commands rework

* Update nametags.lua
2023-05-10 15:42:43 -04:00
PeachyPeach 3ab4c944ac
better kick/punch/trip, gp and flying detection (#388) 2023-05-09 15:38:29 -04:00
MysterD cb499491f4 Fix crash in network_receive_lua_sync_table 2023-05-07 22:46:00 -07:00
MysterD 34db74660c Fixed crash in cutscene_bowser_arena_end() 2023-05-07 16:02:46 -07:00
MysterD ae76ad7c00 Fixed crash in uv_update_scroll() 2023-05-07 16:01:41 -07:00
MysterD 8f938e25ca Fixed crash in import_texture_*() 2023-05-07 16:00:52 -07:00
MysterD 0aac200258 Fixed crash in packet_ordered_check_for_processing 2023-05-07 15:56:56 -07:00
MysterD 03a7c1f086 Fix crashes in various obj functions 2023-05-07 15:55:11 -07:00
MysterD d52ee8588d Fixed crash in DynOS_UpdateCmd 2023-05-07 15:49:26 -07:00
MysterD 5c2474814b Fix crash in DynOS_Actor_AddCustom 2023-05-07 15:48:19 -07:00
MysterD f3e1392a51 Possible config corruption fix 2023-05-07 13:22:08 -07:00
MysterD 8eefbccc81 Make djui_hud_get_screen_width() more readable 2023-05-06 00:16:37 -07:00
Agent X 9901c89a33
Fixed forced 4:3 (#384)
Just reverting a 'fix' to my code someone else made.
2023-05-06 00:13:54 -07:00
MysterD 1ee3fd1d13 Fixed ~240 possible crashes 2023-05-05 23:59:58 -07:00
MysterD f06a422ff9 Add hack to disable 2cycle if using a texture that doesn't exist 2023-05-05 01:47:42 -07:00
MysterD 352f72a1ac Remove tile checks from gfx_pc 2023-05-04 14:55:18 -07:00
Agent X febba0e109
Remove printf from gfx_pc.c (#383)
I don't think this is needed anymore
2023-05-04 14:53:05 -07:00
Isaac0-dev 657feb5d7b
fix some crashes and bugs (#381)
- fix crash in bhv_lll_bowser_puzzle_piece_update (thanks to djoslin)
- fix crash in platform_on_track_act_init
- fix chat commands not working on dev builds
- log when the crash handler is called
- if a custom level tries to set an invalid background, change it to BACKGROUND_OCEAN_SKY
2023-05-04 13:26:50 -07:00
MysterD 5a19d84423 Allowed user to override forced camera centering when sliding/flying 2023-05-04 12:55:59 -07:00
MysterD dde4eb4cb5 Bump version 2023-05-04 12:11:49 -07:00
MysterD 1e8a7c709b Merge branch '2cycle' into dev 2023-05-04 12:09:04 -07:00
MysterD 94b979a98f Cleanup 2cycle stuff 2023-05-04 12:08:53 -07:00
MysterD 7623753e68 Handle shader overflow cases 2023-05-04 11:59:36 -07:00
MysterD 5eae02936b Whoops 2023-05-04 01:43:51 -07:00
MysterD f82f5149f4 Disable accurate interpolation on 32 bit 2023-05-04 01:29:08 -07:00
MysterD 14e80106c4 Fix 32 bit builds 2023-05-04 01:06:49 -07:00
MysterD 8a7778bbff Increase default resolution by a little bit 2023-05-03 21:42:17 -07:00
MysterD 607590fcaf Add 2cycle/lightmap support to dx12 2023-05-03 21:41:39 -07:00
MysterD a191884c28 Port 2cycle/lightmap code to dx11 2023-05-03 21:07:22 -07:00
MysterD ab2cbb2dbc Get GL_LEGACY working again (poorly) 2023-05-03 13:21:34 -07:00
MysterD 0bb7adfd2d Fix crash in bhv_lll_bowser_puzzle_piece_update() 2023-05-03 13:13:11 -07:00
Prince Frizzy 117379eba4
Fix default painting warps. (#380) 2023-05-03 06:26:19 -04:00
MysterD c711f9f7c9 Actually fix crash in init_mario_after_warp() 2023-05-03 01:38:08 -07:00
MysterD d60349663e Fixed warnings, changed version/game strings 2023-05-03 01:12:13 -07:00
MysterD 0a4dfd17a4 Re-ran autogen 2023-05-03 01:01:36 -07:00
MysterD 5b108e50e6 Merge branch 'coop' into dev 2023-05-03 01:01:18 -07:00
MysterD 5b5089dece Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-05-03 00:59:27 -07:00
Skeltan 2bd2089ed3
Added Toad default palette + other palette tweaks (#370) 2023-05-03 00:58:19 -07:00
Agent X 52d70e33a5
Expose some painting functions to Lua (#357)
* Expose some painting functions to Lua

get_painting_warp_node
initiate_painting_warp

* Change initiate_painting_warp u8 to s16

In initiate_painting_warp, pass in -1 to not override the painting index.

* Add sanity checks to get_painting_warp_node

* Add requested changes
2023-05-03 00:54:57 -07:00
Prince Frizzy ee3a7018ab
Adds support for compiling other regions (#378)
* Initial support for compiling with EU.

* Fix EU text.

* JP now compiles, TODO: Fix Autogen to fix JP and fix text in djui.

* audio: Prevent crash in EU.

* audio: Sync EU audio to 60 Hz instead of 50 Hz

* Add logging and remove sanity check to hopefully track EU crash.

* Various improvements for EU

Improve some memory debugging
Improve sound debugging
Initalize some variables in load.c for the sound system
Synchronize the EU cutscenes with the US version.

* Fix credits music playing in EU, Document some EU audio code.

* Autogen now supports version excluded object fields and functions. Reran autogen in accordance.

* Fix some potentional shifting issues due to version differences.

* Decrease the sleep times in some spots, We do not need them to be so long. (#373)

* Add the region to the version string.

---------

Co-authored-by: djoslin0 <djoslin0@users.noreply.github.com>
2023-05-03 00:54:25 -07:00
PeachyPeach b1662a3338
Hide and Seek `is_player_seeker` and `set_player_seeker` (#379)
* HnS globals

* no need for global index
2023-05-03 00:51:50 -07:00
Prince Frizzy 677f4591dc
Multiple Sound Support (#377)
* Initial support for the game playing multiple sounds at once.

* Make better use of our channels and use the remaining channels.
2023-05-03 00:51:27 -07:00