summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-02-10(svn r1853) Move spritecache function declarations into a header of their ↵tron
own and use SpriteID as parameter type where appropriate
2005-02-08(svn r1852) Start cleaning up sprite handling:tron
- Complement the sprite header struct with a variable sized array for the sprite data and rename it to Sprite. - Use the correct type Sprite* instead of casting all the time (this causes some "assignment from incompatible pointer type" warnings, nothing serious, will be resolved soon)
2005-02-08(svn r1851) - Language: added Frisian translation (no strings have been ↵bjarni
translated yet)
2005-02-08(svn r1850) Change the last consumers of str_buffr so they use local static ↵tron
buffers now and remove the global array str_buffr.
2005-02-08(svn r1849) Use the cheat entry enum for CheatEntry.type and remove unused ↵tron
enum values
2005-02-08(svn r1848) Remove the obscure feature of initialising the edit box with the ↵tron
contents of str_buffr - it was unused anyway. Remove it from the chat box too, which inherited it via copy&paste.
2005-02-08(svn r1847) Adjustment for MorphOS to unbreak the build there and removal of ↵tron
some now obsolete preprocessor magic
2005-02-07(svn r1846) - Fix: VS6 project file (bociusz)darkvater
- Fix: VS6 fkcing borkdness should be abolished
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