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 | 8a422e34df9e3e80e2be42aad63054c96459f2e9 (patch) | |
tree | ea776ead1303bca953cbbccb0a0e78e08c7eaa45 /src/engine_type.h | |
parent | cc107fe0f9af574305256e39fb41f53a36c546dc (diff) | |
download | openttd-8a422e34df9e3e80e2be42aad63054c96459f2e9.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; |