145 // AllocateNameUnique also tests if the name used is not used anywere else |
145 // AllocateNameUnique also tests if the name used is not used anywere else |
146 // and if it is used, it returns an error. |
146 // and if it is used, it returns an error. |
147 #define AllocateNameUnique(name, skip) RealAllocateName(name, skip, true) |
147 #define AllocateNameUnique(name, skip) RealAllocateName(name, skip, true) |
148 #define AllocateName(name, skip) RealAllocateName(name, skip, false) |
148 #define AllocateName(name, skip) RealAllocateName(name, skip, false) |
149 StringID RealAllocateName(const char *name, byte skip, bool check_double); |
149 StringID RealAllocateName(const char *name, byte skip, bool check_double); |
|
150 void ConvertNameArray(void); |
150 |
151 |
151 /* misc functions */ |
152 /* misc functions */ |
152 void MarkTileDirty(int x, int y); |
153 void MarkTileDirty(int x, int y); |
153 void MarkTileDirtyByTile(TileIndex tile); |
154 void MarkTileDirtyByTile(TileIndex tile); |
154 void InvalidateWindow(WindowClass cls, WindowNumber number); |
155 void InvalidateWindow(WindowClass cls, WindowNumber number); |