summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-02-07(svn r1845) - Revert r1835 since it totally screws network compilingdarkvater
- Fix: fix some VS.NET warnings - Add missing file to VS.NET project file
2005-02-07(svn r1844) -Fix: small protection in oldloader.c, and put the savegame on ↵truelight
pause by default
2005-02-07(svn r1843) - Codechange: [NPF] Removed some unused code.matthijs
2005-02-07(svn r1842) Fix another typo made in r1834tron
2005-02-07(svn r1841) -Fix: [ 1117538 ] non-stop orders are no longer accidently skippedcelestar
2005-02-07(svn r1840) Repel str_buffr and use local buffers where possibletron
2005-02-07(svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more ↵tron
explicit types as parameters
2005-02-07(svn r1838) Ship depots are on water, not roadstron
2005-02-07(svn r1837) GetTileOwner returns Owner, not booltron
Also assert() that the TileIndex is valid
2005-02-07(svn r1836) Clean up some strange constructs concerning socket optionstron
2005-02-07(svn r1835) Reduce the visibility of network_core.htron
2005-02-06(svn r1834) - Fix: NPF does not check the owner of its target, busses try to ↵matthijs
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.
2005-02-06(svn r1833) byte -> char transition: the resttron
2005-02-06(svn r1832) Next byte -> char iteration: custom namestron
2005-02-06(svn r1831) -Fix: Scenario Editor now handles human-made roads better (try ↵truelight
to build a city layout before placing the city, finally that works very nice)
2005-02-06(svn r1830) -Codechange: small stuff to make the file more beautiful (tnx Tron)truelight
2005-02-06(svn r1829) -Fix: fixed some compiler warnings (tnx to Tron for the ↵truelight
Makefile-flag)
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