Commit Graph

148 Commits (e371ff272b73026c7e026206d31347116df0e7e7)

Author SHA1 Message Date
MysterD ed6cbc2d40 Prevent tools from building during coop-compiler 2022-03-21 22:42:25 -07:00
MysterD 2673b1140c Fixed Mac compile 2022-03-21 14:02:23 -07:00
Prince Frizzy 579fa40524
Some small cleanup, And re-add generating the coop.map to the Makefile. (#36) 2022-03-18 21:31:04 -07:00
MysterD 0a3d0b2033 Started rewriting the mod table 2022-03-14 18:18:14 -07:00
MysterD 11f532b9e0 Fix warnings/compile errors on Linux 2022-03-13 18:45:42 -07:00
Prince Frizzy 75bb9b7912
Update to Refresh 13 (#19)
* Refresh 13

Co-authored-by: n64 <n64>
2022-03-13 00:17:10 -08:00
MysterD 4b41c3fd39 Fix Mac compile 2022-03-12 22:38:13 -08:00
MysterD e81808c314 Merge branch 'dynos' into unstable 2022-03-10 18:17:59 -08:00
MysterD 89d44f6501 Moved smlua_XXX_utils.[ch] to src/pc/lua/utils/ 2022-03-09 23:09:33 -08:00
MysterD b3ed387711 Added DynOS v1.1 without the dynamic options
- Added support for coop-specific actors
- Added support for coop-specific geo functions
- Added support for coop-specific model functions
2022-03-09 18:01:03 -08:00
MysterD e0fb9d7bac Delete custom sounds on 32-bit, they are currently breaking the build 2022-02-28 22:59:58 -08:00
MysterD 2f15b4664c Add cpp stuff for coop-compiler 2022-02-28 21:34:30 -08:00
MysterD 69fb69dfce Fix bugs/warnings from static analysis 2022-02-20 20:04:25 -08:00
MysterD 13ecef0b0a Reduce optimization level until undefined behavior can be found 2022-02-20 14:53:35 -08:00
MysterD ebbe1ef16c Merge branch 'unst17' into unstable 2022-02-19 22:06:06 -08:00
MysterD 334de77139 Fix graphical issues that stem from text drawing 2022-02-19 22:03:25 -08:00
Prince Frizzy 32b0c91935
Fixes for Refresh 12 2022-02-19 01:39:38 -05:00
MysterD c818b7930a Added wario sounds
Have yet to pitch correct them.

Huge thanks to theclashingfritz and anzz1
2022-02-14 23:36:53 -08:00
MysterD 6925db864c Added a custom version of PeachyPeach's crash screen for Windows 2022-02-12 13:30:53 -08:00
MysterD 7fc4b68033 Updated makefile for coop-compiler 2022-02-11 18:38:25 -08:00
MysterD 56d18a5f95 Fix OSX's include path for sdl-config 2022-02-10 18:06:59 -08:00
MysterD 2c95b8bff3 Updated makefile for coop-compiler 2022-02-10 18:03:44 -08:00
MysterD 809dfd6373 Reading headers from lua files
Fix up warnings on Linux
Disabled mod checkboxes when an incompatible one is enabled
Display descriptions when hovering over a mod
2022-01-27 23:53:58 -08:00
MysterD 47a129573f Fixed Mac Lua library 2022-01-23 23:00:44 -08:00
MysterD d09abc7bcd Switched from dynamic to static Lua lib 2022-01-23 20:04:53 -08:00
MysterD 34e903b89a Merge branch 'unstable' into lua 2022-01-21 19:19:21 -08:00
MysterD addd16721f Added headless server compile mode 2022-01-21 19:13:41 -08:00
MysterD 0aa1e04f93 More lua improvements
Added mods folder for lua scripts
Created constants.lua so scripts could use constants internal to the C code
Created event hooks
Separated out lua functions into multiple files
2022-01-16 18:07:45 -08:00
MysterD 1a47707be8 Initial LUA support - MarioState read/write 2022-01-16 08:51:29 -08:00
MysterD 7294e127f5 Fixed over 100 code warnings 2021-08-19 18:16:16 -07:00
MysterD 8642479d82 Fix Mac + DISCORD_SDK compilation errors 2021-08-02 02:59:45 -07:00
MysterD 7e1a05a40b DJUI: Replaced old ingame menu with new DJUI menu 2021-07-15 19:37:09 -07:00
MysterD 038c1135b3 Initial DJUI commit
The birth of a custom user interface system.

Has the ability to draw things to the screen at native resolution
regardless of window size.

Components can be nested within one another to an arbitrary depth.

Text rendering is completely rewritten.

Text and images can be clipped by their parent container.
2021-06-18 15:23:59 -07:00
anzz1 d1739648e1
Added Luigi sounds (#77)
* added a new audio bank 10 for luigi sounds
* made some audio memory buffers larger to fix sound cuts
* added option to enable/disable luigi sounds in the sound options menu
* added Andrat's "90's Classic Luigi Voice Pack" as default luigi sounds

Co-authored-by: anzz1 <>
2020-10-16 11:54:59 -07:00
anzz1 7971dbfa3f
Makefile update (#80)
* build with TEXTURE_FIX=1 as default
* disallow building with jp,eu,sh rom versions
2020-10-16 03:00:48 -07:00
MysterD ed06b57649 Added mod registration system
Allows mods to register themselves so that mismatches don't occur. This
does not automagically detect when someone modified the game, so the
mods will have to insert a function like this into their patch:

static void __attribute__((constructor)) _register_this_mod() {
    network_register_mod("mod name here");
}
2020-10-04 16:41:55 -07:00
MysterD 469fa2ff33 Added 32-bit Discord library for Windows 2020-09-25 23:18:56 -07:00
MysterD 5472f3d13a Add development flag for easier testing 2020-09-19 02:12:49 -07:00
MysterD 4a7b9736b4 Added compile-time flag to disable Discord SDK
In order to support ARM/Mac, discord must be disabled.
To disable compile with:
make DISCORD_SDK=0

Fixes #62
2020-09-19 00:53:56 -07:00
MysterD a0d5deceff Fix DirectX builds 2020-09-15 21:48:14 -07:00
MysterD a675f4efd5 Fixed Linux builds 2020-09-14 23:26:55 -07:00
MysterD 5fe5ffda45 Make C-lib link statically again, force various compiler options better 2020-09-14 18:29:47 -07:00
MysterD 3e1b193ea8 Add Discord Game SDK networking system
Allows players to host without forwarding their ports or using a program
like Hamachi.
2020-09-13 03:27:35 -07:00
MysterD 04c21d91bc Added version checking to clients 2020-09-11 16:19:38 -07:00
MysterD 05674f3d69 Force no draw distance on and text saves off 2020-09-04 17:52:48 -07:00
MysterD 1bb0c90741 Add docker-build workarounds and container script 2020-09-04 17:03:35 -07:00
MysterD 9512fde4a5 Added custom packets for mods-of-this-mod
Now a patch can choose to register callbacks for sending and receiving
packets. It's a bit tricky to use but at least it won't collide with
normal packets or other mod packets.
2020-09-04 02:04:37 -07:00
MysterD d5005c9f37 Served time for crimes against C
Due to my compile & launch scripts, I was silently ignoring warnings
this whole time. I've fixed my process, and gone back to fixed all of
the warnings I could (even outside of my code).
2020-09-04 01:58:54 -07:00
MysterD 621533fae8 Add coop-specific define
Added -DCOOP to identify that this is a coop build so that one patch can
be applied to EX and/or COOP. They can choose to ifdef entity synchronization
out.
2020-09-03 21:49:58 -07:00
MysterD c88ff19190 Prevent infinite looping of Mario action transitions
There have been several times where the unpredictable behavior of
a remote player where execute_mario_action() would get caught in
an infinite loop. Now we attempt to detect an infinite hang and
escape from it. The sequence of actions will be recorded into an
errorlog.txt file. In debug mode this infinite hang will cause an
assertion to fail, crashing the game. In normal mode the game will
break out of it and hopefully carry on normally after new packets
come in.

I believe this addresses github issue #12 but I can't be sure.
2020-09-01 22:06:36 -07:00