(svn r11673) -Codechange: move the overflow safe type to a separate file.

This commit is contained in:
rubidium
2007-12-21 08:34:53 +00:00
parent a6b1526c13
commit d5c4ba8246
5 changed files with 151 additions and 144 deletions

View File

@@ -8,6 +8,7 @@
#define VARDEF extern
#endif
#include "macros.h"
#include "helpers.hpp"
struct Oblong {
@@ -68,7 +69,7 @@ typedef uint16 GroupID;
typedef uint16 EngineRenewID;
typedef uint16 DestinationID;
typedef OverflowSafeInt<int64, INT64_MAX, INT64_MIN> OverflowSafeInt64;
#include "core/overflowsafe_type.hpp"
typedef OverflowSafeInt64 Money;
/* DestinationID must be at least as large as every these below, because it can