Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
|
|
The Wrong Thing(tm) when date is used within $(shell)
|
|
there seem to be platforms (MorphOS) out there which don't provide some proper defaults.
Use gcc and g++ as defaults, because cc and c++ aren't available either. *sigh*
|
|
long time ago
|
|
(hopefully) more readable:
- check if end tile is on the map
- uint -> TileIndex
- if cascades -> switch
|
|
|
|
roadstops.
|
|
|
|
to 5000
trains in one game (instead of the 240 which was the current value).
Default max allowed vehicles per type is changed:
Trains: 500 (old 80)
Road: 500 (old 80)
Ships: 200 (old 40)
Aicraft: 300 (old 50)
(Tnx to Celestar and Darkvater for checking the patch)
|
|
commit (tnx to DarkVater)
|
|
with _map2-data if possible (Celestar / TrueLight)
|
|
|
|
generation to hang infinitely
|