mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-25 19:55:54 +01:00
Some more FIXMEs
This commit is contained in:
parent
599f644328
commit
a358a1763f
|
@ -1591,7 +1591,7 @@ INDEX Particles_Regeneration(CEntity *pen, FLOAT tmStart, FLOAT tmStop, FLOAT fY
|
||||||
|
|
||||||
UBYTE ubR = (UBYTE) (192+afStarsPositions[iRnd][1]*64);
|
UBYTE ubR = (UBYTE) (192+afStarsPositions[iRnd][1]*64);
|
||||||
UBYTE ubG = (UBYTE) (192+afStarsPositions[iRnd][2]*64);
|
UBYTE ubG = (UBYTE) (192+afStarsPositions[iRnd][2]*64);
|
||||||
UBYTE ubB = (UBYTE) (192+afStarsPositions[iRnd][3]*64);
|
UBYTE ubB = (UBYTE) (192+afStarsPositions[iRnd][3]*64); // FIXME DG: afStarsPositions[i][3] invalid, what's going on here?
|
||||||
UBYTE ubA = (UBYTE) CalculateRatio( fT, 0.0f, 1.0f, 0.4f, 0.01f)*255;
|
UBYTE ubA = (UBYTE) CalculateRatio( fT, 0.0f, 1.0f, 0.4f, 0.01f)*255;
|
||||||
COLOR colLine = RGBToColor( ubR, ubG, ubB) | ubA;
|
COLOR colLine = RGBToColor( ubR, ubG, ubB) | ubA;
|
||||||
|
|
||||||
|
|
|
@ -227,6 +227,7 @@ void CControls::Load_t( CTFileName fnFile)
|
||||||
achrActionName[ 0] = 0;
|
achrActionName[ 0] = 0;
|
||||||
FLOAT fSensitivity = 50;
|
FLOAT fSensitivity = 50;
|
||||||
FLOAT fDeadZone = 0;
|
FLOAT fDeadZone = 0;
|
||||||
|
// FIXME DG: gcc and clang say the followign has too many arguments for the given format
|
||||||
sscanf( achrLine, "%*[^\"]\"%1024[^\"]\"%*[^\"]\"%1024[^\"]\" %g %g %1024s %1024s",
|
sscanf( achrLine, "%*[^\"]\"%1024[^\"]\"%*[^\"]\"%1024[^\"]\" %g %g %1024s %1024s",
|
||||||
achrActionName, achrAxis, &fSensitivity, &fDeadZone, achrIfInverted, achrIfRelative, achrIfSmooth);
|
achrActionName, achrAxis, &fSensitivity, &fDeadZone, achrIfInverted, achrIfRelative, achrIfSmooth);
|
||||||
// find action axis
|
// find action axis
|
||||||
|
|
|
@ -1187,7 +1187,7 @@ void JoinNetworkGame(void)
|
||||||
_pNetwork->ga_strRequiredMod.ScanF("%250[^\\]\\%s", &strModName, &strModURL);
|
_pNetwork->ga_strRequiredMod.ScanF("%250[^\\]\\%s", &strModName, &strModURL);
|
||||||
_fnmModSelected = CTString(strModName);
|
_fnmModSelected = CTString(strModName);
|
||||||
_strModURLSelected = strModURL;
|
_strModURLSelected = strModURL;
|
||||||
if (_strModURLSelected="") {
|
if (_strModURLSelected="") { // FIXME DG: not == ?
|
||||||
_strModURLSelected = "http://www.croteam.com/mods/Old";
|
_strModURLSelected = "http://www.croteam.com/mods/Old";
|
||||||
}
|
}
|
||||||
_strModServerSelected.PrintF("%s:%s", (const char *) _pGame->gam_strJoinAddress, (const char *) _pShell->GetValue("net_iPort"));
|
_strModServerSelected.PrintF("%s:%s", (const char *) _pGame->gam_strJoinAddress, (const char *) _pShell->GetValue("net_iPort"));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user