summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-02-13(svn r1867) Include tables/sprites.h only in files which need ittron
2005-02-13(svn r1866) -Fix: Intercepted generated maps with 0 towns on it. Currently ↵celestar
just an error() is called, some more graceful handling should be implemented later.
2005-02-13(svn r1865) Fix some warningstron
2005-02-13(svn r1864) Automatic langfile updatesmiham
2005-02-12(svn r1863) Give the effect vehicle type enums more descriptive names and ↵tron
use the enum as parameter type for CreateEffectVehicle*() -Fix: [1116619] Generate the correct smoke type for diesel trains
2005-02-12(svn r1862) - Settings: No longer treat warnings as errors for VS.Net ↵darkvater
project files...just until spritecache is fixed up :)
2005-02-11(svn r1861) Constify Get(Non)Sprite()tron
2005-02-11(svn r1860) The sprite header endianness issue was solved in r1855tron
2005-02-11(svn r1859) Miscellaneous style changestron
2005-02-11(svn r1858) Let ReadSprite() handle the subtleties of loading a sprite, not ↵tron
its caller
2005-02-11(svn r1857) Rewrite parts of the sprite heap. It's functionally equivalent ↵tron
but should be easier to read and maintain.
2005-02-10(svn r1856) Make GfxInitSpriteMem() static, because it's only used withing ↵tron
spritecache.c
2005-02-10(svn r1855) Handle endianness of sprite headers when loading a sprite, not ↵tron
everytime when accessing it
2005-02-10(svn r1854) Split GetSpritePtr() into GetSprite() for regular sprites ↵tron
(returning a Sprite*) and GetNonSprite() for "sprites" of type 0xFF (returning byte*)
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