summaryrefslogtreecommitdiff
path: root/src/newgrf_spritegroup.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-06-12 20:40:21 +0000
committerterkhen <terkhen@openttd.org>2011-06-12 20:40:21 +0000
commit0749c65d74e7368643e3c4f4f70768993e8b7f41 (patch)
tree70a2f6ff9ab5982b1366cc77c75afe4cf6c08a3a /src/newgrf_spritegroup.cpp
parentdc6218aa49101b3c0e20bd7e3da7ed05b7883b78 (diff)
downloadopenttd-0749c65d74e7368643e3c4f4f70768993e8b7f41.tar.xz
(svn r22564) -Codechange: Rename Get and Store persistent storage functions to GetValue and StoreValue.
Diffstat (limited to 'src/newgrf_spritegroup.cpp')
-rw-r--r--src/newgrf_spritegroup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_spritegroup.cpp b/src/newgrf_spritegroup.cpp
index 1750dc389..a327a3be1 100644
--- a/src/newgrf_spritegroup.cpp
+++ b/src/newgrf_spritegroup.cpp
@@ -53,7 +53,7 @@ static inline uint32 GetVariable(const ResolverObject *object, byte variable, by
case 0x5F: return (object->GetRandomBits(object) << 8) | object->GetTriggers(object);
- case 0x7D: return _temp_store.Get(parameter);
+ case 0x7D: return _temp_store.GetValue(parameter);
case 0x7F:
if (object == NULL || object->grffile == NULL) return 0;
@@ -111,7 +111,7 @@ static U EvalAdjustT(const DeterministicSpriteGroupAdjust *adjust, ResolverObjec
case DSGA_OP_AND: return last_value & value;
case DSGA_OP_OR: return last_value | value;
case DSGA_OP_XOR: return last_value ^ value;
- case DSGA_OP_STO: _temp_store.Store((U)value, (S)last_value); return last_value;
+ case DSGA_OP_STO: _temp_store.StoreValue((U)value, (S)last_value); return last_value;
case DSGA_OP_RST: return value;
case DSGA_OP_STOP: if (object->StorePSA != NULL) object->StorePSA(object, (U)value, (S)last_value); return last_value;
case DSGA_OP_ROR: return RotateRight(last_value, value);