summaryrefslogtreecommitdiff
path: root/src/newgrf_storage.h
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_storage.h
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_storage.h')
-rw-r--r--src/newgrf_storage.h10
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;