Commit Graph

83 Commits

Author SHA1 Message Date
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
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
earthcrafterman
5bb7e94cc4
Adds a slider that lets players multiply King Zora's speed by up to 5x. (#238) 2022-05-02 18:27:33 -04:00
KiritoDev
c5f120b6f8
Fixed Lens of truth and sandstorm to be widescreen (#254) 2022-05-02 18:26:32 -04:00
Baoulettes
8c18b4b057
Fix dungeon entrance icon + feature (#252)
* Add Cvar stuff and fix dungeon entrance icons

* Added Cvar toggles

* Move fixes to fix sub menu
2022-05-02 18:25:37 -04:00
Ralphie Morell
43294d66b5
Fix Cheat Menuing (#237)
* readded cheats to menu; fixed bug with freezing time

* removed extraneous dev tools section
2022-05-02 18:24:39 -04:00
Baoulettes
18d2bac409
Languages selection menu (#232)
* Adding Languages section

* Added LanguagesSection

* Register the Cvar

* Added switcher method

* Added Language selection menu + function

* function ref.

* Conflict fixes to be sure nothing else is modded

* space removed

* no need to have conditions since ID are the same
2022-05-02 18:24:12 -04:00
MelonSpeedruns
e646f80f41 Fixed Gyroscopy Settings & Drift 2022-05-01 15:32:38 -04:00
Emil Lenngren
d009c2a539 Workaround Intel OpenGL driver in get pixel depth 2022-04-30 22:20:02 +02:00
Emil Lenngren
8526e3ee2a Add back no-near-clipping which was accidentally removed 2022-04-30 17:43:54 +02:00
Emil Lenngren
589557be9c Reduce input lag by one frame by reading the controller at the correct place 2022-04-30 10:36:58 -04:00
Sirius902
444026038e Fix cvar crash 2022-04-30 01:03:26 -04:00
Nicholas Estelami
c66c874549 Fixed merge issues 2022-04-29 19:26:57 -04:00
Nicholas Estelami
700bce684d Removed redundant parameters in GameSettings 2022-04-29 19:26:57 -04:00
KiritoDev
60cbfd67be Fixed master volume slider 2022-04-27 23:16:13 -04:00
Zion
02930be9ee Update SohImGuiImpl.cpp
Added back EndMenu into the Cheats section. Preventing the dropdown from expanding across the screen.

Co-Authored-By: IShallRiseAgain <49771132+IShallRiseAgain@users.noreply.github.com>
2022-04-27 22:16:12 -04:00
Sirius902
eea5135d62
Rumble cvar and fixes (#184)
* Rumble indefinitely until turned off

* Add rumble cvar

* Register CVar

* Check if controller can rumble to insert rumble pak

* Reduce verbosity of checks

* Remove extraneous const_cast

* Once again remove extraneous const_cast

* Add per-controller settings

* Add nice spacing

* Only display controller entry if pad connected

* Const some stuff
2022-04-26 19:50:24 -04:00
KiritoDev
486f673df5 Fixed develop 2022-04-26 19:05:54 -04:00
Baoulettes
0e6ca5361e
Fix L/R buttons color in Kaleido menu (#172)
* Fix L/R buttons color in Kaleido menu.

I know this is a bug even official game but that definitely a logic bug.
That could be considered are a mods.
This make both button L and R have the same color on Hover and normal.

* Update z_kaleido_scope_PAL.c

* Condition to be on

Added condition to be on only if toggled on

* Cvar registers

* bool addition

* Added the item in menu

* Added bool in bootcommands

By default it is on.

* Hide and make it forced on by default

* Hide menu entry for that fix
2022-04-26 18:36:28 -04:00
IShallRiseAgain
b82871e62f
Added custom color support for Tunic and Navi (#98) 2022-04-26 18:33:18 -04:00
KiritoDev
6991549cde Removed ternary operator 2022-04-25 19:14:46 -04:00
KiritoDev
f5f2205d0f Removed stdio and added documentation 2022-04-25 19:14:46 -04:00