diff options
author | smatz <smatz@openttd.org> | 2008-05-07 18:31:29 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-05-07 18:31:29 +0000 |
commit | 3445b8054c81e12dc0d0078135a73eafe10a309f (patch) | |
tree | ea776ead1303bca953cbbccb0a0e78e08c7eaa45 /src/engine_type.h | |
parent | 220bc49731e8f32cf92f31defab1bd5e313f7dc7 (diff) | |
download | openttd-3445b8054c81e12dc0d0078135a73eafe10a309f.tar.xz |
(svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT
Diffstat (limited to 'src/engine_type.h')
-rw-r--r-- | src/engine_type.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine_type.h b/src/engine_type.h index 03bee6fe4..affa722ce 100644 --- a/src/engine_type.h +++ b/src/engine_type.h @@ -14,9 +14,11 @@ #include "player_type.h" #include "strings_type.h" +#include <vector> + typedef uint16 EngineID; typedef uint16 EngineRenewID; -typedef EngineID *EngineList; ///< engine list type placeholder acceptable for C code (see helpers.cpp) +typedef std::vector<EngineID> EngineList; ///< engine list type struct Engine; |