mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- un-deprecated the integer MSTime variant.
Due to undefined downconversion rules from double to int, there is no way to safely downcast the return from MSTimef, meaning the function is completely useless for retrieving integral time stamps. The old version is essential for these cases and must be kept around.
This commit is contained in:
parent
f53a61693b
commit
00b812a5ff
2 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,7 @@ TArray<FString> I_GetGogPaths();
|
|||
TArray<FString> I_GetBethesdaPath();
|
||||
|
||||
// The ini could not be saved at exit
|
||||
bool I_WriteIniFailed ();
|
||||
bool I_WriteIniFailed (const char* filename);
|
||||
|
||||
class FGameTexture;
|
||||
bool I_SetCursor(FGameTexture *);
|
||||
|
|
|
@ -650,6 +650,7 @@ struct Font native
|
|||
|
||||
native static int FindFontColor(Name color);
|
||||
native double GetBottomAlignOffset(int code);
|
||||
native double GetDisplayTopOffset(int code);
|
||||
native static Font FindFont(Name fontname);
|
||||
native static Font GetFont(Name fontname);
|
||||
native BrokenLines BreakLines(String text, int maxlen);
|
||||
|
@ -722,7 +723,7 @@ class Object native
|
|||
private native static Class<Object> BuiltinNameToClass(Name nm, Class<Object> filter);
|
||||
private native static Object BuiltinClassCast(Object inptr, Class<Object> test);
|
||||
|
||||
deprecated("4.8", "Use MSTimeF instead") native static uint MSTime();
|
||||
native static uint MSTime();
|
||||
native static double MSTimeF();
|
||||
native vararg static void ThrowAbortException(String fmt, ...);
|
||||
|
||||
|
|
Loading…
Reference in a new issue