Commit Graph

103 Commits

Author SHA1 Message Date
Kevin Alexis Contreras
5ec6c01a78 Disabled RTC on soh and lus 2022-06-03 14:24:39 -05:00
David Chavez
e1affbdf9a Fix function prototypes and types 2022-06-02 12:43:16 -05:00
Kevin Alexis Contreras
332f8f93fb Merge branch 'zapd_audio_support' into zelda64 2022-06-01 15:12:28 -05:00
Kevin Alexis Contreras
0320107fc0 Merge branch 'zapd_audio_support' into zelda64 2022-06-01 15:11:11 -05:00
Nicholas Estelami
fc7da35054 Replaced StormLib .lib files with source code.
Some modifications to handle backslashes and forward slashes, along with some optimizations to speed up OTR generation.
2022-06-01 16:05:05 -04:00
Nicholas Estelami
6f5ce7d715 Audio decompiled and WIP custom sample support 2022-06-01 13:06:32 -04:00
Kevin Alexis Contreras
0067a69795 Merge develop into zelda64 2022-05-31 17:49:39 -05:00
briaguya
daec428cb3
call SDL_Quit() before exit(0) (linux window closing issue) (#408)
* use _Exit(0) on linux

* use SDL_Quit() instead of _Exit(0)

* remove unnecessary call, add bandaid comment

Co-authored-by: briaguya <briaguya@alice>
2022-05-29 16:45:27 -04:00
PurpleHato
08c161fd13
Enhancement: More options for Kaleido Link (#394)
* Enhancement: More options for Kaleido Link

ADDED:  14 animations to use
ADDED: 2 random mode
ADDED: Link rotation on the menu with DPAD-Left and Right
ADDED: Reset position with DPAD-Up and Down

* ADDED/ Choice to use C-Button or D-pad
2022-05-29 16:40:50 -04:00
Baoulettes
29d4cd27c4
Fix Radiobutton uniqueness issues (#397)
* Fix Radiobox uniqueness issues

* C++ ? and build fix I think

* To match the edit made in .c
2022-05-29 16:38:21 -04:00
Baoulettes
7913398110
EnhancementColor3 tweak SohImGui Clean (#400)
* HUD Logic fix and cleaning

* array revert it was just fo rme to read it better

* Fix tunic logic seem like my cleaning was not good

* I had declared default in CPP

It resulted to overwrite what user would make oof.
Also a ! was missing.

* There, Default here is better.

* magic bar and used bar what switched
while updating EnhancementColor

* hud mod update

* Update SohImGuiImpl.h

* should fix build
2022-05-29 12:57:09 -04:00
Emill
ccab94c765
Implement AnyFPS + option to queue one rendered frame (#401) 2022-05-29 12:16:23 -04:00
louist103
533c216ad3
Cleanup ImGui strings (#359)
* Cleanup

* Emills suggestion

* fixes
2022-05-29 11:47:09 -04:00
earthcrafterman
4669235f62
Spammable kaepora (#354)
* Players can now spam their way through Kaepora Gaebora dialogue

* Turned the Owl Text Inversion into a toggle
Instead of replacing the Kokiri Owl Text at boot, a new Text Entry is added for it

* Attempt to make it compile on Linux

* Added multilingual support

* Commented the code to clear up confusion
2022-05-29 11:46:47 -04:00
Baoulettes
d1357b902d
DEV Tool : Fast Save Loading (#369)
* Add the whole loading system there

* Add Cvar checkbox

* Add support for ID:0 = FileSelect

* Add 0 in range for slider.
2022-05-21 13:32:21 -04:00
Emill
e56af6a7a3
Redesign hooks mechanism (#352)
* Redesign hooks mechanism

* Use reference instead of copy
2022-05-21 13:22:25 -04:00
Ada
2192ae0a25
Adds notification telling people how to activate menubar (#351)
* Adds notification telling people how to activate menubar

* Makes it longer and only show when menu bar isn't active
2022-05-21 13:21:14 -04:00
iheemskerk
0b2c264a60
Add toggle to disable navi call voice audio (#336)
Co-authored-by: genegrey <pulicave@gmail.com>
2022-05-21 13:16:48 -04:00
Baoulettes
0993337721
[Mod]HUD Editor - Color Scheme incl. N64 colors. (#202)
* Update SohImGuiImpl.cpp

* Add int variant of CVar_ Get/Set/Register

* Add variant of CVar_ Get/Set/Register

* Add LoadHUDColors()

* Added temporary menu for custom colors

* vars added

* added section load

* variables save/load

* register boolean for colors radiobox

* Minimap recolor

* Hearts (top left) color, incl. DD variant

* Add A/B/C/Start btn colors and rupee

* A & C button icon and save prompt cursor.

* A & C notes and cursor

* Some notes I forgot tbh was open since hours.

* Shops cursor color with included pulse

* Wrong section was added

* Fixed some logic there and removed an unused if

* Moved a condition to make it better.

* That what happen when you left it open for hours

* Update z_message_PAL.c

* Added color array for A button

* Get/Set/Register Int not needed anymore

* Update Cvar.h

* Update Cvar.cpp

* Removed HUDCOLOR_SECTION moved it to cosmetics

Updated Tunics and navi mod too.

* changed categorie name and updated

* Updated Cosmetics menu and add colors there

* Update GameSettings.cpp

* Update GameSettings.h

* A more generic name

* Update SohImGuiImpl.cpp

* Update bootcommands.c

* update var name

* var name update

* var name update (creative name I know...)

* Updated variables names to match gHudColors

* to lazy to name this one

* gHudColors renaming stuff there too

* guess what, variable renaming.

* Update Tunic/Navi mods with new variable name.

* Updated Links tunic variable names

* Fix condition for Right C button

* Add condition to check if the button is on

* Added system to check if color tunics is turned on.

* Added empty C button colors

* Add ability to move Hearts

* Ability to move minimap (incl. dgn one)

Add Dungeon icon fix requirement. once merged I will fix conflict with this one.

* Compass icon move with the minimap

* Added several button move function

* stone of agony folly the interface too.

* fix minimap alpha

* Fixes notes env color (was showing incorrectly)

* PR repo mass update, cleaning incoming

* Clean_PR stuff

* useless there ...

* Properly load the function.

Imagine creating a pseudo function to load load of colour and you actually forgot to add it, could not be me right , RIGHT ?

* fix conflict and useless edit

* Fix default color for A/B and C btns

* Fix Rupee default color in ImGUI

* Reworked Tunics handling, much better this way

* Fix minimap default color

* C button default color fix

* better behavior and default color fix

* Fixed every default color to match gamecube style

* Fix dungeon entrance icon n.2

it was not using margin and always show icon system

* This need a scene else it show everywhere oof
2022-05-21 13:16:28 -04:00
vaguerant
a3cf852267
Fix vanilla Deku Nut upgrade bug (#333) 2022-05-21 13:15:41 -04:00
PurpleHato
076887e71f
TWEAK: Submenus for the enhancement menu (#343)
* TWEAK: Submenus for the enhancement menu

original PR was #322 closed it because I messed it

* Fix for Assignable Tunics and Boots
2022-05-15 15:51:58 -04:00
Emill
d8d1388ec6
Optimize away memory allocations (#340) 2022-05-15 15:32:05 -04:00
Rozelette
6dbb085a82
Add equipable tunics/boots (#328) 2022-05-15 15:26:54 -04:00
Emill
b9c5b34eba
Fix strict aliasing issues (#342)
Should fix linux build on -O2.
2022-05-15 21:20:32 +02:00
earthcrafterman
3e01b25573
Add a toggle for muting the low HP alarm (#310)
* Removes the code that plays the low health alarm sound effect, by removing that instead of making HealthMeter_IsCritical always return false, Link will still play the tired animation when low on health.

* Made the low health alarm an enhancement toggle
2022-05-15 15:04:04 -04:00
Emil Lenngren
bc65a38a55 Fix VS stuff 2022-05-15 19:01:19 +02:00
Emil Lenngren
92c8ecb726 64-bit early draft - no audio yet 2022-05-15 01:19:02 +02:00
Ada
247360cbf0
Adds tooltip function and tooltips to various ImGui menu items (#306)
* Adds tooltip function and tooltips to various ImGui menu items

* Update SohImGuiImpl.cpp

* Adds more tooltips and changes input scale tooltip

Adds for anti-aliasing settings, cheats, and debug settings
Changes tooltip for input scale to be more clear

* Fixes typos, makes N64 mode more clear, and americanizes it

* Update SohImGuiImpl.cpp

* Standardises D-pad spelling

* Update SohImGuiImpl.cpp

* Fixes typo, changes dungeon entrances tooltip, and fixes tabs

* Clearer wording

* Removes full stop

* Removes spaces from new line

* Removes space after \n

* Makes Linux compile

* Fixes wording
2022-05-14 15:08:17 -04:00
PurpleHato
2e84a351b1 Used Cvars to make it part of the enhancements menu 2022-05-14 14:13:59 -04:00
Emill
45e5e5ca72
Experimental interpolation (#309)
* Experimental 60 fps

* Fix compile error

* Fix compile error

* Fix compile error
2022-05-13 18:43:55 -04:00
KiritoDev
b3d19eee3a
Fixed id and cleanup on finish of notifications (#304)
Co-authored-by: KiritoDv <nohomoboi01@gmail.com>
2022-05-12 20:44:50 -04:00
Emill
3bc0564d9a
Use DX11 by default, if available (#307) 2022-05-12 20:43:07 -04:00
louist103
635fb71b76
Save states (#300) 2022-05-12 13:28:24 -04:00
KiritoDev
5746305157 Fixed compilation errors 2022-05-12 10:31:36 -04:00
KiritoDev
a790638bf5 Fixed texture loads on imgui 2022-05-12 10:31:36 -04:00
Marcelo20XX
fdd613f41e
Add QoL feature: Faster Block Pushing (#275) 2022-05-12 09:08:37 -04:00
Rozelette
9eb5ff6136
Fix GetTextureByID not returning anything on non-DX11 (#297) 2022-05-12 09:06:39 -04:00
PurpleHato
e2c801a2ac
Fixed ImGui developer menu (#298)
Fixes the Auto Windows Opening that could cancel the menu by itself
2022-05-12 09:05:54 -04:00
KiritoDev
4aeed97e3a Removed debug button 2022-05-11 19:22:01 -04:00
KiritoDev
1719986a35 Added notification system 2022-05-11 19:22:01 -04:00
Sirius902
c7e552fc5f Replace remaining occurances of CVar_GetVar with CVar_Get 2022-05-11 15:45:10 -04:00
GaryOderNichts
bf2825e9a5
Fix missing gMtxClear address for pal gc roms (#282) 2022-05-11 15:14:40 -04:00
Sirius902
a5651742ba
Improve CVars a bit (#283)
* Improve CVars a bit

* Just use boolean operators on ptr
2022-05-11 15:12:52 -04:00
KiritoDev
3f74e82a22 Fixed linux compilation 2022-05-11 14:28:29 -04:00
KiritoDev
6d2e1a603f Fixed windows build 2022-05-11 14:28:29 -04:00
GaryOderNichts
108cd8efc8
Fix crash if LoadFile fails (#265) 2022-05-11 13:37:10 -04:00
KiritoDev
fe3e534938
Implemented overlay command and api (#289)
* Added overlay command

* Moved Overlays to GameOverlay

* Added custom text size calculation

* Fixed string cvar load and added fipps font
2022-05-11 13:35:03 -04:00
Random
09432ee7f4
Linux/GCC Support (#28)
* Initial Linux/GCC support commit

* Add instructins for linux in the README

* apply suggestions by @Erotemic and @Emill

* Fix python 3.10 symlink line

* Fix func_80041E80 type mismatch (#3)

Type mismatch functions.h:664

* Makefile: clean OTRExporter/libultraship/ZAPDTR with distclean and fix CXX_FILES

* Makefile: find C/CXX_FILES automatically

* Makefile: remove ugly conditions in find commands

* cleanup _MSC_VER usage

* fix Windows build

* cleanup extraction scripts

* fix Windows build

* Fix Windows path separator issue

* fix rumble support for linux

* use glew-cmake in dockerfile

* add pulseaudio backend

* fix ZAPDTR linkage

* Check for "soh.elf" in directory (#6)

hide second button if `soh.exe` or `soh.elf` is present

* Fix hardcoded segment addresses (#5)

* fix condition

* hack lus -> soh dep for ZAPDTR

Co-authored-by: sholdee <102821812+sholdee@users.noreply.github.com>
Co-authored-by: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com>
Co-authored-by: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>
2022-05-11 13:18:24 -04:00
KiritoDev
2e1a0b5144
Normalized imgui and added texture filter (#271)
* Normalized imgui and added texture filter and fixed develop

* Fixed incorrect separator title
2022-05-11 10:59:56 -04:00
KiritoDev
3d85fa1f3f
Fixes SohImGui compilation (#259) 2022-05-02 20:58:31 -04:00