summaryrefslogtreecommitdiff
path: root/src/newgrf_storage.h
diff options
context:
space:
mode:
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;