mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-10-31 23:55:06 -04:00
to lazy to name this one
This commit is contained in:
parent
0f215aec50
commit
a8744edcd6
@ -1887,18 +1887,18 @@ void EnOssan_UpdateCursorAnim(EnOssan* this) {
|
||||
this->cursorAnimState = 0;
|
||||
}
|
||||
}
|
||||
if (CVar_GetS32("gN64Colors", 0) != 0) {
|
||||
if (CVar_GetS32("gHudColors", 1) == 0) {
|
||||
this->cursorColorR = ColChanMix(0, 0.0f, t);
|
||||
this->cursorColorG = ColChanMix(80, 80.0f, t);
|
||||
this->cursorColorB = ColChanMix(255, 0.0f, t);
|
||||
} else if (CVar_GetS32("gGameCubeColors", 0) != 0) {
|
||||
} else if (CVar_GetS32("gHudColors", 1) == 1) {
|
||||
this->cursorColorR = ColChanMix(0, 0.0f, t);
|
||||
this->cursorColorG = ColChanMix(255, 80.0f, t);
|
||||
this->cursorColorB = ColChanMix(80, 0.0f, t);
|
||||
} else if (CVar_GetS32("gCustomColors", 0) != 0) {
|
||||
this->cursorColorR = ColChanMix(CVar_GetInt("gCCABtnPrimR", 90), ((CVar_GetInt("gCCABtnPrimR", 90)/255)*100), t);
|
||||
this->cursorColorG = ColChanMix(CVar_GetInt("gCCABtnPrimG", 90), ((CVar_GetInt("gCCABtnPrimG", 90)/255)*100), t);
|
||||
this->cursorColorB = ColChanMix(CVar_GetInt("gCCABtnPrimB", 90), ((CVar_GetInt("gCCABtnPrimB", 90)/255)*100), t);
|
||||
} else if (CVar_GetS32("gHudColors", 1) == 2) {
|
||||
this->cursorColorR = ColChanMix(CVar_GetS32("gCCABtnPrimR", 90), ((CVar_GetS32("gCCABtnPrimR", 90)/255)*100), t);
|
||||
this->cursorColorG = ColChanMix(CVar_GetS32("gCCABtnPrimG", 90), ((CVar_GetS32("gCCABtnPrimG", 90)/255)*100), t);
|
||||
this->cursorColorB = ColChanMix(CVar_GetS32("gCCABtnPrimB", 90), ((CVar_GetS32("gCCABtnPrimB", 90)/255)*100), t);
|
||||
}
|
||||
this->cursorColorA = ColChanMix(255, 0.0f, t);
|
||||
this->cursorAnimTween = t;
|
||||
|
Loading…
Reference in New Issue
Block a user