Age | Commit message (Collapse) | Author |
|
strgen (Lauri Nurmi)
|
|
|
|
really unneeded from windows builds. And put back 'treat warnings as errors' flag.
|
|
|
|
|
|
for functions and miscellaneous improvements
|
|
below the snow line ([1121680])
|
|
|
|
|
|
|
|
|
|
Now they move in a sane pattern.
|
|
|
|
|
|
just an
error() is called, some more graceful handling should be implemented
later.
|
|
|
|
|
|
use the enum as parameter type for CreateEffectVehicle*()
-Fix: [1116619] Generate the correct smoke type for diesel trains
|
|
project files...just until spritecache is fixed up :)
|
|
|
|
|
|
|
|
its caller
|
|
but should be easier to read and maintain.
|
|
spritecache.c
|
|
everytime when accessing it
|
|
(returning a Sprite*) and GetNonSprite() for "sprites" of type 0xFF (returning byte*)
|
|
own and use SpriteID as parameter type where appropriate
|
|
- Complement the sprite header struct with a variable sized array for the sprite data and rename it to Sprite.
- Use the correct type Sprite* instead of casting all the time (this causes some "assignment from incompatible pointer type" warnings, nothing serious, will be resolved soon)
|
|
translated yet)
|
|
buffers now and remove the global array str_buffr.
|
|
enum values
|
|
contents of str_buffr - it was unused anyway.
Remove it from the chat box too, which inherited it via copy&paste.
|
|
some now obsolete preprocessor magic
|
|
- Fix: VS6 fkcing borkdness should be abolished
|
|
- Fix: fix some VS.NET warnings
- Add missing file to VS.NET project file
|
|
pause by default
|
|
|
|
|
|
|
|
|
|
explicit types as parameters
|
|
|
|
Also assert() that the TileIndex is valid
|
|
|
|
|
|
enter other players' depots. TODO
- Add: asserts to find the v->u.rail.track == 0 problem.
- Add: IsValidDepot(), IsValidTown(), IsValidSign(), IsValidVehicle(), IsValidStation()
- Add: GetTileOwner(), IsTileOwner()
- Codechange: Replaced IsShipDepotTile(), IsTrainDepotTile(), IsRoadDepotTile() by IsTileDepotType().
- Codechange: typedeffed the MAP_OWNERS as Owner. Should be used as variable type.
- Codechange: Replaced a few uint by TileIndex.
|
|
|
|
|
|
to build
a city layout before placing the city, finally that works very nice)
|