0ad/source/ps
elexis 1e07787e76 Revert 64bit number conversions added in c0ca70efd2, don't add the previous long and unsigned long conversions back and use double in the Replay menu.
64bit conversions (including the long ones) are not safe, because not
every number can be converted to the 2^53 JS numbers and pretending to
do so is asking for bugs.
Explicitly use the double type in the Replay menu, because std::time_t
is unspecified and some platforms like Ubuntu yakkety:i386 fail to
build, looking for long.
Double should work for the next 285 million years, becomes consistent
with SavedGame.cpp, is tested by test_ScriptConversions.cpp and doesn't
pretend to cover all 64bit numbers.

Patch By: echotangoecho
Differential Revision: https://code.wildfiregames.com/D205
Refs #3848 D84 D112

This was SVN commit r19367.
2017-04-01 21:06:55 +00:00
..
GameSetup
scripting
tests
XML
ArchiveBuilder.cpp
ArchiveBuilder.h
CacheLoader.cpp
CacheLoader.h
CConsole.cpp
CConsole.h
CLogger.cpp
CLogger.h
Compress.cpp
Compress.h
ConfigDB.cpp
ConfigDB.h
CStr.cpp
CStr.h
CStrIntern.cpp
CStrIntern.h
CStrInternStatic.h
DllLoader.cpp
DllLoader.h
Errors.cpp
Errors.h
FileIo.cpp
FileIo.h
Filesystem.cpp
Filesystem.h
Game.cpp
Game.h
Globals.cpp
Globals.h
GUID.cpp
GUID.h
Hotkey.cpp
Hotkey.h
Joystick.cpp
Joystick.h
KeyName.cpp
KeyName.h
Loader.cpp
Loader.h
LoaderThunks.h
Mod.cpp
Mod.h
Preprocessor.cpp
Preprocessor.h
PreprocessorWrapper.cpp
PreprocessorWrapper.h
Profile.cpp
Profile.h
Profiler2.cpp
Profiler2.h
Profiler2GPU.cpp
Profiler2GPU.h
ProfileViewer.cpp
ProfileViewer.h
Pyrogenesis.cpp
Pyrogenesis.h
Replay.cpp
Replay.h
SavedGame.cpp
SavedGame.h
Shapes.cpp
Shapes.h
Singleton.h
TemplateLoader.cpp
TemplateLoader.h
ThreadUtil.cpp
ThreadUtil.h
TouchInput.cpp
TouchInput.h
UniDoubler.h
UserReport.cpp
UserReport.h
utf16string.h
Util.cpp
Util.h
VideoMode.cpp
VideoMode.h
VisualReplay.cpp
VisualReplay.h
World.cpp
World.h