summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-02-06(svn r1828) New warning flag especially for truelight (:<tron
2005-02-06(svn r1827) Next iteration of the byte -> char transition: some string ↵tron
drawing functions and buffers
2005-02-06(svn r1826) -Feature: a brand new OldLoader so OpenTTD is TTD(Patch) compatible truelight
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
2005-02-06(svn r1825) Further style improvements:tron
- uint16 -> StringID where appropriate - if cascades -> switch - remove redundant ifs - misc. stuff
2005-02-06(svn r1824) -Codechange: made ChangeIndustryProduction a bit more readabletruelight
2005-02-06(svn r1823) Get rid of some ugly cast magic concerning language packstron
2005-02-06(svn r1822) Const correctnesstron
2005-02-06(svn r1821) Move generic string handling functions to string.[ch] and ↵tron
introduce stre{cpy,cat}, see string.h for their semantics
2005-02-06(svn r1820) Style cleanup:tron
- 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
2005-02-06(svn r1819) -Codechange: removed 1 unused function, and 1 unused struct (tnx ↵truelight
to Tron)
2005-02-06(svn r1818) -Add: Dynamic orders (up to 64k orders)truelight
2005-02-06(svn r1817) -Codechange: Moved depot-functions to depot.ctruelight
-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)
2005-02-06(svn r1816) Use char instead of byte for string formattingtron
2005-02-06(svn r1815) Remove some unused declarationstron
2005-02-06(svn r1814) Let ReadFileToMem() return void* (instead of byte*) because we ↵tron
don't know what the caller wants to do with the data
2005-02-06(svn r1813) Declare functions implemented in strings.c in their own shiny ↵tron
new header (though i think some of these function don't belong into strings.c)
2005-02-06(svn r1812) [1117058] Use CT_WATER instead of CT_STEEL when accounting water ↵tron
which gets delivered to a town (worked because CT_STEEL and CT_WATER share the same enum number)
2005-02-05(svn r1811) Use char for string handling in namegen.[ch]tron
2005-02-05(svn r1810) Move town name generation declarations into a header of their owntron
2005-02-05(svn r1809) Remove unused function str_is_below()tron
2005-02-05(svn r1808) Use strcmp() instead of home brewed function str_eq()tron
2005-02-05(svn r1807) Langfile updates (20050205)miham
2005-02-05(svn r1806) Add missing includes (see r1803)tron
2005-02-05(svn r1805) Teach the driver layer a few things about const correctnesstron
2005-02-05(svn r1804) Bring MSVC project files up to date (bociusz)tron
2005-02-05(svn r1803) Move debugging stuff into files of it's owntron
2005-02-05(svn r1802) Fix typos made in r1797tron
2005-02-05(svn r1801) -Fix [Multistop] Fixed a crash that occured when copying orders ↵celestar
due to not checking a pointer to be non-NULL
2005-02-05(svn r1800) Make adding new debug categories to the command line parser easiertron
2005-02-05(svn r1799) -Codechange: [ Multistop ] Added debug class "ms" and more debuggingcelestar
output for multistops
2005-02-04(svn r1798) GetFoo(i)->index is per definition i, so replace the former with ↵tron
the latter
2005-02-04(svn r1797) Clean up TileLoopClearHelper() a bit:tron
- if cascades -> switch - uint -> TileIndex - (uint)-1 -> INVALID_TILE - don't treat non-flags as flags
2005-02-04(svn r1796) Revert r1792, because MorphOS has defaults for CC/CXX, they're ↵tron
just wrong, so setting CC/CXX using ?= simply did nothing
2005-02-04(svn r1795) Change CFLAGS for MorphOS (tokai)tron
2005-02-04(svn r1794) Make the dedicated server compile again under MorphOS (tokai)tron
2005-02-04(svn r1793) Revert one instance of $(shell) back to ``, because MorphOS does ↵tron
The Wrong Thing(tm) when date is used within $(shell)
2005-02-04(svn r1792) Revert r1761 and set fallback values via ?= for CC and CXX as ↵tron
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*
2005-02-04(svn r1791) Remove the remnants of CMD_DESTROY_INDUSTRY, which was removed a ↵tron
long time ago
2005-02-04(svn r1790) Make CmdPlantTree() and related functions more safe and ↵tron
(hopefully) more readable: - check if end tile is on the map - uint -> TileIndex - if cascades -> switch
2005-02-04(svn r1789) -Fix: there is no need to save the index, it is done for ustruelight
2005-02-04(svn r1788) -Add: Made RoadStops dynamic. You can now create up to 64k ↵truelight
roadstops.
2005-02-04(svn r1787) -Add: Dynamic signs (euh.. yeah, this means you can built 64k signs)truelight
2005-02-04(svn r1786) -Fix: unitnumber is increased to 16bit, so now you can have up ↵truelight
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)
2005-02-04(svn r1785) -Fix: space-correctness in road_cmd.c, and one wrong line from last truelight
commit (tnx to DarkVater)
2005-02-04(svn r1784) -Fix: removed ClosestTownFromTile where possible, or replaced it truelight
with _map2-data if possible (Celestar / TrueLight)
2005-02-04(svn r1783) -Add: Dynamic vehicles (now up to 64k of vehicles)truelight
2005-02-04(svn r1782) Remove line which should've been removed in r1779 and caused map ↵tron
generation to hang infinitely
2005-02-03(svn r1781) Fix static declaration after non-static declaration of same symboltron
2005-02-03(svn r1780) Don't clear LIBS and LDFLAGStron
2005-02-03(svn r1779) Make the map generation code slightly more readabletron