diff options
author | terkhen <terkhen@openttd.org> | 2011-06-12 20:40:21 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2011-06-12 20:40:21 +0000 |
commit | 0749c65d74e7368643e3c4f4f70768993e8b7f41 (patch) | |
tree | 70a2f6ff9ab5982b1366cc77c75afe4cf6c08a3a /src/newgrf_storage.h | |
parent | dc6218aa49101b3c0e20bd7e3da7ed05b7883b78 (diff) | |
download | openttd-0749c65d74e7368643e3c4f4f70768993e8b7f41.tar.xz |
(svn r22564) -Codechange: Rename Get and Store persistent storage functions to GetValue and StoreValue.
Diffstat (limited to 'src/newgrf_storage.h')
-rw-r--r-- | src/newgrf_storage.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/newgrf_storage.h b/src/newgrf_storage.h index a7f5788c4..dc8f86799 100644 --- a/src/newgrf_storage.h +++ b/src/newgrf_storage.h @@ -36,7 +36,7 @@ struct BaseStorageArray * @param pos the position to write at * @param value the value to write */ - virtual void Store(uint pos, int32 value) = 0; + virtual void StoreValue(uint pos, int32 value) = 0; }; /** @@ -75,7 +75,7 @@ struct PersistentStorageArray : BaseStorageArray { * @param pos the position to write at * @param value the value to write */ - void Store(uint pos, int32 value) + void StoreValue(uint pos, int32 value) { /* Out of the scope of the array */ if (pos >= SIZE) return; @@ -102,7 +102,7 @@ struct PersistentStorageArray : BaseStorageArray { * @param pos the position to get the data from * @return the data from that position */ - TYPE Get(uint pos) const + TYPE GetValue(uint pos) const { /* Out of the scope of the array */ if (pos >= SIZE) return 0; @@ -147,7 +147,7 @@ struct TemporaryStorageArray : BaseStorageArray { * @param pos the position to write at * @param value the value to write */ - void Store(uint pos, int32 value) + void StoreValue(uint pos, int32 value) { /* Out of the scope of the array */ if (pos >= SIZE) return; @@ -161,7 +161,7 @@ struct TemporaryStorageArray : BaseStorageArray { * @param pos the position to get the data from * @return the data from that position */ - TYPE Get(uint pos) const + TYPE GetValue(uint pos) const { /* Out of the scope of the array */ if (pos >= SIZE) return 0; |