Commit Graph

149 Commits (155f566eb95b57d48141db29c569080b66294525)

Author SHA1 Message Date
MysterD 155f566eb9 Fix up Makefile for coop-compiler 2022-03-21 16:46:31 -07:00
MysterD 72c629300a Prevent tools from building during coop-compiler 2022-03-21 22:42:25 -07:00
MysterD 7d74fc21c5 Fixed Mac compile 2022-03-21 14:02:23 -07:00
Prince Frizzy be8ecb275d Some small cleanup, And re-add generating the coop.map to the Makefile. (#36) 2022-03-18 21:31:04 -07:00
MysterD 290cc8f531 Started rewriting the mod table 2022-03-14 18:18:14 -07:00
MysterD f8025309d8 Fix warnings/compile errors on Linux 2022-03-13 18:45:42 -07:00
Prince Frizzy 43ae67c337 Update to Refresh 13 (#19)
* Refresh 13

Co-authored-by: n64 <n64>
2022-03-13 00:17:10 -08:00
MysterD 484962ff2c Fix Mac compile 2022-03-12 22:38:13 -08:00
MysterD 851b2c5352 Merge branch 'dynos' into unstable 2022-03-10 18:17:59 -08:00
MysterD 316bf8afa0 Moved smlua_XXX_utils.[ch] to src/pc/lua/utils/ 2022-03-09 23:09:33 -08:00
MysterD 4ddb6bbf5f 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 f9954c732d Delete custom sounds on 32-bit, they are currently breaking the build 2022-02-28 22:59:58 -08:00
MysterD 141190f807 Add cpp stuff for coop-compiler 2022-02-28 21:34:30 -08:00
MysterD 2940c18b3c Fix bugs/warnings from static analysis 2022-02-20 20:04:25 -08:00
MysterD eeb57cca62 Reduce optimization level until undefined behavior can be found 2022-02-20 14:53:35 -08:00
MysterD d01cddb651 Merge branch 'unst17' into unstable 2022-02-19 22:06:06 -08:00
MysterD 1f61f2f632 Fix graphical issues that stem from text drawing 2022-02-19 22:03:25 -08:00
Prince Frizzy 48c6c9074b Fixes for Refresh 12 2022-02-19 01:39:38 -05:00
MysterD 29dcaf3b1d Added wario sounds
Have yet to pitch correct them.

Huge thanks to theclashingfritz and anzz1
2022-02-14 23:36:53 -08:00
MysterD e9409f9c11 Added a custom version of PeachyPeach's crash screen for Windows 2022-02-12 13:30:53 -08:00
MysterD 3f6282a5c4 Updated makefile for coop-compiler 2022-02-11 18:38:25 -08:00
MysterD a5b6a43cec Fix OSX's include path for sdl-config 2022-02-10 18:06:59 -08:00
MysterD ff657776ca Updated makefile for coop-compiler 2022-02-10 18:03:44 -08:00
MysterD 913ea4c5c0 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 1094f2dd50 Fixed Mac Lua library 2022-01-23 23:00:44 -08:00
MysterD 6d3efdd0ba Switched from dynamic to static Lua lib 2022-01-23 20:04:53 -08:00
MysterD 6d1f5637cb Merge branch 'unstable' into lua 2022-01-21 19:19:21 -08:00
MysterD cac892f792 Added headless server compile mode 2022-01-21 19:13:41 -08:00
MysterD 2d41f9317d 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 204eae7380 Initial LUA support - MarioState read/write 2022-01-16 08:51:29 -08:00
MysterD 713147b91b Fixed over 100 code warnings 2021-08-19 18:16:16 -07:00
MysterD 855d9ca3e6 Fix Mac + DISCORD_SDK compilation errors 2021-08-02 02:59:45 -07:00
MysterD df53c263e8 DJUI: Replaced old ingame menu with new DJUI menu 2021-07-15 19:37:09 -07:00
MysterD 38e6b5d340 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 b7f4ae735d 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 42736d9d38 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 9d3390f4b2 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 32e97c0c92 Added 32-bit Discord library for Windows 2020-09-25 23:18:56 -07:00
MysterD 67342de794 Add development flag for easier testing 2020-09-19 02:12:49 -07:00
MysterD df6cac3cab 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 663da861cb Fix DirectX builds 2020-09-15 21:48:14 -07:00
MysterD 6ecddd939a Fixed Linux builds 2020-09-14 23:26:55 -07:00
MysterD ece4d2bc93 Make C-lib link statically again, force various compiler options better 2020-09-14 18:29:47 -07:00
MysterD 15601ac856 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 33d52ef31d Added version checking to clients 2020-09-11 16:19:38 -07:00
MysterD c93096c2a6 Force no draw distance on and text saves off 2020-09-04 17:52:48 -07:00
MysterD 3d51e21be9 Add docker-build workarounds and container script 2020-09-04 17:03:35 -07:00
MysterD fc4d4d3d99 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 7c6298acbc 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 e949767243 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