Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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)
|
|
|
|
Makefile-flag)
|
|
|
|
drawing functions and buffers
|
|
again.. kind of anyway. Still needs work for the extra chunks
TTDPatch provides, and which we use too, but not in the same way..
- Also, no longer BE is a problem, reading is BE/LE safe.
- Tnx to Bjarni for the BE testing, Tron for the help on the BE,
Darkvater for helping out, and Mek for providing me with the correct
information regarding TTDPatch savegames
|
|
- uint16 -> StringID where appropriate
- if cascades -> switch
- remove redundant ifs
- misc. stuff
|
|
|
|
|