Age | Commit message (Collapse) | Author |
|
- 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
|
|
|
|
|
|
|
|
introduce stre{cpy,cat}, see string.h for their semantics
|
|
- indentation
- 0 -> '\0' in string handling
- whitespaces
- space after for, switch, etc.
- don't treat non-boolean values as boolean
- space before and after binary operators
- bracing style
|
|
to Tron)
|
|
|
|
-Codechange: Added wrappers around depot-access (GetDepot no exists)
-Codechange: Made depot-functions a bit more logic (no longer
GetDepotByTile crashes your game when you request it on a non-depot tile)
-Add: made depots dynamic (yes, 64k depots are possible now)
|
|
|
|
|
|
don't know what the caller wants to do with the data
|
|
new header (though i think some of these function don't belong into strings.c)
|
|
which gets delivered to a town (worked because CT_STEEL and CT_WATER share the same enum number)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
due to not checking a pointer to be non-NULL
|
|
|
|
output for multistops
|
|
the latter
|
|
- if cascades -> switch
- uint -> TileIndex
- (uint)-1 -> INVALID_TILE
- don't treat non-flags as flags
|
|
just wrong, so setting CC/CXX using ?= simply did nothing
|