Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 compiling | darkvater | |
- 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 r1834 | tron | |
2005-02-07 | (svn r1841) -Fix: [ 1117538 ] non-stop orders are no longer accidently skipped | celestar | |
2005-02-07 | (svn r1840) Repel str_buffr and use local buffers where possible | tron | |
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 roads | tron | |
2005-02-07 | (svn r1837) GetTileOwner returns Owner, not bool | tron | |
Also assert() that the TileIndex is valid | |||
2005-02-07 | (svn r1836) Clean up some strange constructs concerning socket options | tron | |
2005-02-07 | (svn r1835) Reduce the visibility of network_core.h | tron | |
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 rest | tron | |
2005-02-06 | (svn r1832) Next byte -> char iteration: custom names | tron | |
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 readable | truelight | |
2005-02-06 | (svn r1823) Get rid of some ugly cast magic concerning language packs | tron | |
2005-02-06 | (svn r1822) Const correctness | tron | |
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.c | truelight | |
-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 formatting | tron | |
2005-02-06 | (svn r1815) Remove some unused declarations | tron | |
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 own | tron | |
2005-02-05 | (svn r1809) Remove unused function str_is_below() | tron | |