equal
deleted
inserted
replaced
3 |
3 |
4 #include "openttd.h" |
4 #include "openttd.h" |
5 #include "engine.h" |
5 #include "engine.h" |
6 |
6 |
7 #include <new> |
7 #include <new> |
8 #include "yapf/blob.hpp" |
8 #include "misc/blob.hpp" |
9 |
9 |
10 /* Engine list manipulators - current implementation is only C wrapper around CBlobT<EngineID> (see yapf/blob.hpp) */ |
10 /* Engine list manipulators - current implementation is only C wrapper around CBlobT<EngineID> (see yapf/blob.hpp) */ |
11 |
11 |
12 /* we cannot expose CBlobT directly to C so we must cast EngineList* to CBlobT<EngineID>* always when we are called from C */ |
12 /* we cannot expose CBlobT directly to C so we must cast EngineList* to CBlobT<EngineID>* always when we are called from C */ |
13 #define B (*(CBlobT<EngineID>*)el) |
13 #define B (*(CBlobT<EngineID>*)el) |