Commit graph

272 commits

Author SHA1 Message Date
PeachyPeach
8db6356754
Improving math functions (#813)
* Improving math functions

* Isaac review
2025-05-21 23:50:49 +02:00
Agent X
211ad82937 Further enhance lighting engine 2025-04-05 13:58:28 -04:00
Agent X
60e81e2bd2 Make Git hash only dev or debug 2025-03-31 22:42:30 -04:00
Prince Frizzy
9d1776410c
Fix GIT_HASH and re-add build date. (#691) 2025-03-10 09:20:15 +10:00
Isaac0-dev
0810f01396 no longer need a rom to compile the game
the files:
- sound_data_compressed.ctl
- sound_data_compressed.tbl
- sequences_compressed.bin
are now added as files that are generated by assemble_sound.py, they're compressed, and are decompressed at compile time.
rom assets have been removed from these files, so they are now just metadata for loading the sounds that are extracted at runtime.
2025-03-08 12:43:29 +10:00
Fabrizio Alonso Hernández Hernández
661a1d1d03 Add makefile TARGET_RK3588 option and actions (#671)
* Add makefile TARGET_RK3588 option and actions

* Add support for TARGET_RK3588 in Makefile
2025-02-22 08:44:34 +10:00
Isaac0-dev
2745f932b1 enable aslr 2025-02-13 22:57:29 +10:00
Isaac0-dev
4d063faf27 revert perfect hashing attempt
was implemented wrong anyway
2025-02-13 12:59:14 +10:00
EmeraldLockdown
cddf78cf12 macos fixes (#626) 2025-02-13 07:03:33 +10:00
Isaac0-dev
5598faf7e3 experimental: add perfect hashing for faster smlua lookups 2025-02-12 23:44:54 +10:00
SirCodesALot
14101ce10c rpi coopnet support 2025-02-12 14:03:59 +10:00
John S
884c39950f
Fix building in directories with special characters (#632) 2025-01-15 19:35:26 +10:00
Isaac0-dev
404614cfea fix makefile 2025-01-06 13:46:27 +10:00
Agent X
bc27f126cc comment out new problematic ifeq in Makefile 2024-12-30 18:00:44 -05:00
Agent X
ade98b3c6f Hopefully fix Makefile bug 2024-12-29 16:08:44 -05:00
Radek Krzyśków
0627d6ab48
[Experimental] Reduce the size of Windows builds by cleaning the MinGW debug info (#585)
* Reduce the size of Windows builds by cleaning the debug info

* Update IS_DEV_OR_DEBUG in Makefile
2024-12-29 14:29:26 -05:00
Cooliokid956
cdbc376d1f
Fix socket-only compile error (#552)
Also remove the connection system selectionbox (no need for that, only causes crashes)
2024-12-10 21:12:23 +10:00
Isaac0-dev
39826deadd add a way to find surface types in collision 2024-11-22 08:57:37 +10:00
John S
5300b559d3
Fix weird comment in Makefile (#365) 2024-10-16 17:19:42 +10:00
Isaac0-dev
4aa2a20f72
fixes, clean up and some new features (#259)
- Only inited `smlua_audio_utils` if needed, since there will probably be plenty of people who play without ever using mods with custom audio.
- Fixed the pause anywhere setting - this ended up not being fully accurate to ex-coop, which it was originally intended to be.
- Stopped regenerating dynos collision bin on start up every time therefore giving a slight start up speed boost for some people.
- Added a config file setting that lets people choose to compress dynos bins on startup (disabled by default).
- Fixed a warning that shows on non macs during compiling.
- Properly fixed the chat box focus.
- Made the public lobby rules panel "temporary".
- Added a cleaner loading screen design.
- Added an ex-coop theme easter egg, can only be activated from the config file.
- Cleaned up the Lua traceback logging, now shows the folder and file the error occurred in, rather than the full path.
- Added a way to set `gCheckingSurfaceCollisionsForCamera`, so mods can specify to surface finding functions to ignore `SURFACE_FLAG_NO_CAM_COLLISION` internally.
- Rewrote the way smlua pushes CObjects/CPointers to Lua. Now using the C Lua API entirely to connect to Lua.
	- Fixed a use-after-free bug that could easily crash the game through Lua (explained further in one of my comments below).
- Fixed a common crash in `audio_sanity_check`.
2024-09-12 19:09:01 +10:00
AloXado320
6b4784d0ee
Fix sequences_offsets file reference (#314) 2024-09-10 07:57:47 -04:00
Jordan Russell
de47af0461
Mumble Positional Audio Integration (#247)
* added shared memory for mumble integration
update mumble struct with player and camera data

* osx compile fixes

* renamed methods

* fixed inversed unit vectors

* made mumble camera position mario

* cleaned up spacing

* added separate context for main menu

* added checks to avoid improperly changing contexts
2024-09-01 12:45:43 -04:00
EmeraldLockdown
ba8d4b9c42
Enchantments for cross compiling intel on arm, and intel enchantments (#220) 2024-07-17 15:43:49 -04:00
EmeraldLockdown
035e04ee31
Set min macos ver based on if on intel or arm. Allow var to be edited (#209) 2024-07-14 12:57:48 -04:00
Agent X
33a6256999 Small improvement 2024-07-05 18:57:25 -04:00
Agent X
b27555d614 Update Makefile with macOS fixes
Thanks Emerald!

Co-Authored-By: EmeraldLockdown <86802223+EmeraldLoc@users.noreply.github.com>
2024-07-05 18:14:38 -04:00
Agent X
0991503b6a Fix macOS compilation
Co-Authored-By: EmeraldLockdown <86802223+EmeraldLoc@users.noreply.github.com>
2024-07-02 14:26:00 -04:00
Agent X
a64cc6a77c Add HANDHELD build flag 2024-07-01 12:28:42 -04:00
Agent X
fe114133ff Fix headless compilation and do some formatting 2024-06-30 20:55:47 -04:00
Radek Krzyśków
227a4bbcf3
Using Short Paths (ASCII-compatible) for Exe Dir and User Dir on Windows (#77)
Co-authored-by: Agent X <44549182+AgentXLP@users.noreply.github.com>
2024-06-23 18:38:32 -04:00
Isaac0-dev
a347f77b3c
fix some git merge conflicts that weren't resolved (#55)
and added -latomic to build flags to fix compile warnings while compiling miniaudio
2024-06-01 13:40:58 +10:00
Agent X
ceb7aa4649 Palette system overhaul and preset rewrite 2024-05-21 17:09:59 -04:00
Agent X
b3e49f408b Force compilation to be the US version due to rom asset extractor 2024-05-15 18:07:42 -04:00
Agent X
fd96946962 Remove DirectX 12 2024-03-30 23:57:18 -04:00
EmeraldLockdown
40b1406e29 Remove temp fixes for macOS (#564)
* Remove temp fixes

* Update Makefile
2024-03-25 18:44:42 -04:00
your average coder thingy idk
777c41e50d kablamo (#561) 2024-03-25 18:37:40 -04:00
Isaac0-dev
4473bfffe9
removed bass, replaced with miniaudio (#8) 2024-03-23 16:14:53 -04:00
Isaac0-dev
663e4549d8
extract assets from rom at runtime (#4)
* Proof of concept for loading rom assets at runtime

* Added skybox textures

* Adjusted format

* Load all texture assets from rom

* Adjusted rom asset loading

* Load all Vtx lists from rom

* clean up toad, wario and his cap conflicts

* Load sound samples from rom

* fix toad sounds

* Loaded sequences from rom

* Load collisions from rom

* Object animations are now loaded from the rom

* Load player animations from rom

* Load goddard anims from rom

* whoops

* fix some compile errors

* drag and drop rom checker, everything works now.

* fix errors due to merge conflicts

* fix compile errors on windows, switch to md5

* fix vertex colors during load

Co-Authored-By: Agent X <44549182+agent-11@users.noreply.github.com>

* Load dialogs from rom

* Loaded course/act names from rom

* Loaded ingame text from rom

* rerun autogen & blacklist smlua_text_utils_init

* fix ttc_seg7_vertex_0700B238 colors

---------

Co-authored-by: MysterD <myster@d>
Co-authored-by: Agent X <44549182+agent-11@users.noreply.github.com>
2024-03-23 16:11:30 -04:00
Agent X
40a83f8312 Move dev chat commands to pc dir 2024-03-23 10:10:15 -04:00
Isaac0-dev
f07b74c3d2 cleanup and bug fixes 2024-03-19 19:48:48 +10:00
Agent X
836a7cbdd7 Fix --help and improve console launch param 2024-03-09 11:59:28 -05:00
Agent X
91eb1966a0 [WIP] Update checker 2024-03-07 17:33:43 -05:00
Agent X
8f2288c88a Fix macOS ARM compilation 2024-01-06 09:48:58 -05:00
motoo-tobbler
7c82b37953 MacOS - Overcoming linker failure
modified:   Makefile
2023-12-27 08:14:05 +05:30
Agent X
a3b48fcf6f Update default mods 2023-12-24 16:05:21 -05:00
Agent X
c27da0e382 Add --console, remove WINDOWS_CONSOLE=1 2023-12-24 10:26:44 -05:00
Agent X
a04dd8b297 Fix remove old mod dir script in Makefile 2023-12-21 17:27:13 -05:00
Agent X
8f28eb2e0d Fix bugs and make mod import go to AppData 2023-12-18 16:22:42 -05:00
Isaac0-dev
547928ae16 some changes for rpi (#546)
disable coopnet on rpi until we can get some valid libraries compiled
2023-11-26 21:42:37 -05:00
Agent X
a67395a860 Auto DJUI scale and other improvements 2023-11-26 00:29:59 -05:00