Commit graph

2949 commits

Author SHA1 Message Date
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
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