Commit graph

3375 commits

Author SHA1 Message Date
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
Isaac0-dev
0d42098b4e port crash handler to Linux (#363) 2023-05-01 20:49:24 -07:00
Isaac0-dev
dedf75e87a
port crash handler to Linux (#363) 2023-05-01 19:49:42 -07:00
MysterD
a555a40bcf Fix crash in bhv_mario_update() 2023-05-01 17:03:01 -07:00
MysterD
afe1ff937b Merge branch 'dev' into coop 2023-05-01 01:36:58 -07:00
MysterD
f2cfa19da7 Fixed crash in bhv_wiggler_body_part_update() 2023-05-01 01:34:26 -07:00
MysterD
40dd2935af Fix coopnet crash win32 2023-05-01 01:16:27 -07:00
MysterD
21caebb0c9 Fix coopnet crash win64 2023-05-01 00:55:20 -07:00
MysterD
ca57853d18 Improve logging 2023-04-30 23:33:48 -07:00
MysterD
eca9d77419 Fix crash in init_mario_after_warp() 2023-04-30 23:30:15 -07:00
Marioiscool246
7b4b873d39
Add fov adjustment to djui_hud_world_pos_to_screen_pos (#374)
* Add fov adjustment to djui_hud_world_pos_to_screen_pos
sFOVState is now a global (gFOVState)
djui_hud_world_pos_to_screen_pos now returns false if the position is behind the camera

* Fix aspect ratio parentheses

* Rerun autogen

---------

Co-authored-by: Marioiscool246 <marioiscool101@gmail.com>
2023-04-30 22:54:55 -04:00
Prince Frizzy
9b1123dde9
Decrease the sleep times in some spots, We do not need them to be so long. (#373) 2023-04-30 22:12:37 -04:00
MysterD
57e2795682 Bump version number 2023-04-30 18:29:08 -07:00
MysterD
53cf736908 Merge branch 'coop' into dev 2023-04-30 18:07:51 -07:00
MysterD
61e11b1e0f yoink 2023-04-30 18:05:35 -07:00
MysterD
03d2590b3d Merge branch 'dev' into coop 2023-04-30 17:59:54 -07:00
MysterD
d5663f2cb1 Moved dev stuff 2023-04-30 17:58:52 -07:00
MysterD
f586fd0c19 Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-04-30 17:39:49 -07:00
MysterD
01d91ff07d Added profiling to more places to make lag easier to track down 2023-04-30 17:39:45 -07:00
PeachyPeach
b88542f7d9
a few api functions for psc (#372) 2023-04-30 08:46:47 -04:00
MysterD
b2a17a018d Added Dutch (thanks charaster.rar) 2023-04-29 22:44:55 -07:00
MysterD
db939f8efd Fix when compiling without COOPNET 2023-04-29 18:15:41 -07:00
MysterD
bc0a7f948f Makefile adjustments for coop-compiler 2023-04-29 18:14:44 -07:00
djoslin
242740fbf5 Increase max resend attempts for the initial packet 2023-04-29 00:43:34 -07:00
djoslin
7ee00a12a8 Add Mac coopnet support 2023-04-29 00:23:40 -07:00
MysterD
0c23456fd9 Added win32 coopnet builds 2023-04-28 22:34:40 -07:00
MysterD
e4a0d126da Update win64 coopnet 2023-04-28 21:13:51 -07:00
MysterD
ecfcc34f63 Removed color from Hide and Seek 2023-04-28 21:08:53 -07:00
Blockyyy
229664da6e
massive Hide and Seek overhaul (#364)
- Seekers only go faster in water
- No more Act Select
- Pause exits only allowed 30 seconds after entering a level
- Dying no longer makes you seeker unless next to a seeker
- Picks random seeker at the end of a round instead of last seeker
- staying too long in a cannon shoots you out
- can't trigger text or dialog
- Defaults to hit to tag instead of touch to tag
- no levels are banned
- Anti camp removed
- Much more optimized

- Probably other stuff i cannot remember
2023-04-28 21:01:55 -07:00
PeachyPeach
2aa6e1aa08
custom animations no dynos (#371)
Load animations with smlua_anim_util_register_animation and set them with smlua_anim_util_set_animation.
2023-04-28 21:00:17 -07:00
Isaac0-dev
08d31b8255
give mods more control over animations (#369)
* give mods more control over animations

- added HOOK_ON_OBJECT_ANIM_UPDATE
- make some animation values mutable

* add to docs
2023-04-29 01:56:18 +02:00
PeachyPeach
adba0f6de8
Bug fix: level_script_parse (#366)
* Bug fix: level_script_parse

* level_is_vanilla_level
2023-04-29 01:55:29 +02:00
Agent X
c042ffca02
Update Nametags with updated version (#368)
Ported interpolation
2023-04-29 01:54:33 +02:00
MysterD
093bddfedd More arena balance tweaks/bug fixes 2023-04-28 13:25:13 -07:00
MysterD
61bb4ff439 Sync player knockbackTimer 2023-04-28 13:07:58 -07:00
MysterD
d9361989cf Added russian (thanks Fox), updated french (thanks wRadion) 2023-04-28 12:16:30 -07:00
MysterD
e9ecf7a8f4 Made light maps a little less hacky 2023-04-28 00:22:30 -07:00
MysterD
ba4ed58cfa Hacked lightmaps in 2023-04-27 20:46:22 -07:00
MysterD
d84be97157 Fixed do_multiply optimization 2023-04-27 12:28:39 -07:00
MysterD
360a655edd Updated lang files (thanks Skeltan and longjump guy 2023-04-27 01:00:22 -07:00
MysterD
e945eb9572 Added an optimization back in 2023-04-27 00:54:02 -07:00
MysterD
36a7e674e2 Added three more combiners 2023-04-27 00:17:04 -07:00
MysterD
08df8a3c17 Support more color combiners 2023-04-26 23:12:22 -07:00
MysterD
9f269ba7dd Detect 2-cycle and when to apply optimizations 2023-04-26 21:05:32 -07:00
MysterD
8840649887 Started adding support for advanced materials (2cycle) 2023-04-26 20:37:25 -07:00
MysterD
d541d626c4 Make sure gfx_update_loaded_texture() stays in bounds 2023-04-26 16:19:53 -07:00