Age | Commit message (Collapse) | Author |
|
int/uint/int16/byte/-1 with proper types and constants
|
|
functions that don't change their pointer parameters
- change a lot of byte player types to PlayerID
- beautify header files, same "#endif /* filename */" ending
|
|
|
|
|
|
|
|
character for '\0'. Also for some reason I forgot to validate the p1 param so that might lead to crashes with invalid signes. Fixed as well.
|
|
and you go
to the sign. Very needed for coop. You can find it under World Map.
|
|
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.
|
|
|
|
created them
(Note: The player information is currently not stored in savegames. Upon loading a game the signs will all be gray again)
|
|
appropriate warning flags in the Makefile
|
|
it for
dynamic arrays
|