mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 19:02:19 -05:00
0c7e80a190
* Add brightness control and on/off toggle for tunic LED colors. * Removed toggle, mentioned brightness of 0% for turning off LEDs. * Set up grabbing tunic color values from Cosmetics Editor for cosmetics sync. * Why these stupid differences between Windows and Linux compilers? * Fix Mac build errors? Also try to move the color fetching back into the switch statements to lessen potential computational load. * Real fix? * Move "Customize Game Controls" button under "Controller Configuration" button under Settings -> Controller. Renamed "Controller Configuration" to "Configure Controller" and "Customize Game Controls" to "Customize In-game Controls" * Added LEDColor and LEDColorSource enums for code clarity. Moved controller LED brightness to new LED Colors group in "Customize In-game Controls" menu. Added combobox to choose between vanilla tunics, cosmetics tunics, health, and custom as color sources. Added critical health override checkbox to allow display of red when health is low even when other sources are selected. Port color pickers have not been implemented yet, default color is white. * Moved LED control to OTRControllerCallback and wrapped it in a check to `CanSetLed()`. * Move settings to Port 1 tab in Customize In-game Controls and limited application of colors in `OTRControllerCallback` to port 1. * UI clarity updates. * Removed unnecessary LED color enum. Added custom color picker to port 1 color settings. * Changed Critical Health Override default to true. * Modified logic to not do color fetching and instead default to {0,0,0,0} when brightness is off. * Fix bad cvar string for custom color. * Cleaning up some post-merge artifacts. * Update soh/soh/Enhancements/controls/GameControlEditor.h Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com> * Some name changes. * idea for cleaning up controller callback stuff * Rearranged color source checks to make sure criticalOverride is applied regardless of other settings. --------- Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com> Co-authored-by: briaguya <briaguya@alice> |
||
---|---|---|
.. | ||
boost_custom/container_hash | ||
libc | ||
tables | ||
align_asset_macro.h | ||
alignment.h | ||
alloca.h | ||
command_macros_base.h | ||
fp.h | ||
functions.h | ||
global.h | ||
ichain.h | ||
macro.inc | ||
macros.h | ||
message_data_fmt.h | ||
message_data_static.h | ||
message_data_textbox_types.h | ||
regs.h | ||
segment_symbols.h | ||
sequence.h | ||
sfx.h | ||
unk.h | ||
variables.h | ||
vt.h | ||
z64.h | ||
z64actor.h | ||
z64animation.h | ||
z64audio.h | ||
z64bgcheck.h | ||
z64camera.h | ||
z64collision_check.h | ||
z64cutscene_commands.h | ||
z64cutscene.h | ||
z64dma.h | ||
z64effect.h | ||
z64elf_message.h | ||
z64environment.h | ||
z64interface.h | ||
z64item.h | ||
z64light.h | ||
z64map_mark.h | ||
z64math.h | ||
z64object.h | ||
z64player.h | ||
z64save.h | ||
z64scene.h | ||
z64skin.h | ||
z64transition.h |