mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
Cosmetics menu rework (#589)
* - * DPad/some margin fix(left side) * various ImGui stuff and fixes * disabled kaleido menu (non working) * fix win being dumb * same for C btn this time * Fix windows build * Beating hearts fix * Default win size and some placement fix * Fix Dpad Ammo & C notes, Kaleido, white dog * some texts fix and tab move * Add stone of agony, some fixes and build correctly * precise item place with Dpad * Gamecube -> GameCube Co-authored-by: Baoulettes <iMacWin10>
This commit is contained in:
parent
2fbdd056ed
commit
a2d64864dd
25 changed files with 3027 additions and 534 deletions
|
@ -194,6 +194,10 @@ void EffectBlure_Destroy(void* thisx) {
|
|||
s32 EffectBlure_Update(void* thisx) {
|
||||
EffectBlure* this = (EffectBlure*)thisx;
|
||||
s32 i;
|
||||
s16 RedColor;
|
||||
s16 GreenColor;
|
||||
s16 BlueColor;
|
||||
s16 TrailDuration;
|
||||
|
||||
if (this == NULL) {
|
||||
return 0;
|
||||
|
@ -203,6 +207,31 @@ s32 EffectBlure_Update(void* thisx) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (CVar_GetS32("gUseTrailsCol", 0) !=0) {
|
||||
RedColor = CVar_GetS32("gTrailColR",255);
|
||||
GreenColor = CVar_GetS32("gTrailColG",255);
|
||||
BlueColor = CVar_GetS32("gTrailColB",255);
|
||||
TrailDuration = 4.0f*CVar_GetS32("gTrailDurantion",1);
|
||||
} else {
|
||||
RedColor = 255;
|
||||
GreenColor = 255;
|
||||
BlueColor = 255;
|
||||
TrailDuration=4.0f;
|
||||
}
|
||||
this->p1StartColor.r = RedColor;
|
||||
this->p2StartColor.r = RedColor;
|
||||
this->p1EndColor.r = RedColor;
|
||||
this->p2EndColor.r = RedColor;
|
||||
this->p1StartColor.g = GreenColor;
|
||||
this->p2StartColor.g = GreenColor;
|
||||
this->p1EndColor.g = GreenColor;
|
||||
this->p2EndColor.g = GreenColor;
|
||||
this->p1StartColor.b = BlueColor;
|
||||
this->p2StartColor.b = BlueColor;
|
||||
this->p1EndColor.b = BlueColor;
|
||||
this->p2EndColor.b = BlueColor;
|
||||
this->elemDuration = TrailDuration;
|
||||
|
||||
while (true) {
|
||||
if (this->elements[0].state == 0) {
|
||||
for (i = 0; i < 15; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue