------------------------------------------------------------------------ r1861 | tron | 2005-02-11 17:12:11 +0000 (Fri, 11 Feb 2005) | 1 line Constify Get(Non)Sprite() ------------------------------------------------------------------------ r1860 | tron | 2005-02-11 15:18:09 +0000 (Fri, 11 Feb 2005) | 1 line The sprite header endianness issue was solved in r1855 ------------------------------------------------------------------------ r1859 | tron | 2005-02-11 14:33:43 +0000 (Fri, 11 Feb 2005) | 1 line Miscellaneous style changes ------------------------------------------------------------------------ r1858 | tron | 2005-02-11 13:46:25 +0000 (Fri, 11 Feb 2005) | 1 line Let ReadSprite() handle the subtleties of loading a sprite, not its caller ------------------------------------------------------------------------ r1857 | tron | 2005-02-11 13:35:27 +0000 (Fri, 11 Feb 2005) | 2 lines Rewrite parts of the sprite heap. It's functionally equivalent but should be easier to read and maintain. ------------------------------------------------------------------------ r1856 | tron | 2005-02-10 22:26:28 +0000 (Thu, 10 Feb 2005) | 1 line Make GfxInitSpriteMem() static, because it's only used withing spritecache.c ------------------------------------------------------------------------ r1855 | tron | 2005-02-10 12:26:41 +0000 (Thu, 10 Feb 2005) | 1 line Handle endianness of sprite headers when loading a sprite, not everytime when accessing it ------------------------------------------------------------------------ r1854 | tron | 2005-02-10 12:14:38 +0000 (Thu, 10 Feb 2005) | 1 line Split GetSpritePtr() into GetSprite() for regular sprites (returning a Sprite*) and GetNonSprite() for "sprites" of type 0xFF (returning byte*) ------------------------------------------------------------------------ r1853 | tron | 2005-02-10 05:43:30 +0000 (Thu, 10 Feb 2005) | 1 line Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate ------------------------------------------------------------------------ r1852 | tron | 2005-02-08 22:22:42 +0000 (Tue, 08 Feb 2005) | 4 lines Start cleaning up sprite handling: - 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) ------------------------------------------------------------------------ r1851 | bjarni | 2005-02-08 18:07:27 +0000 (Tue, 08 Feb 2005) | 1 line - Language: added Frisian translation (no strings have been translated yet) ------------------------------------------------------------------------ r1850 | tron | 2005-02-08 17:31:13 +0000 (Tue, 08 Feb 2005) | 2 lines Change the last consumers of str_buffr so they use local static buffers now and remove the global array str_buffr. ------------------------------------------------------------------------ r1849 | tron | 2005-02-08 16:53:28 +0000 (Tue, 08 Feb 2005) | 1 line Use the cheat entry enum for CheatEntry.type and remove unused enum values ------------------------------------------------------------------------ r1848 | tron | 2005-02-08 16:37:28 +0000 (Tue, 08 Feb 2005) | 3 lines Remove the obscure feature of initialising the edit box with the contents of str_buffr - it was unused anyway. Remove it from the chat box too, which inherited it via copy&paste. ------------------------------------------------------------------------ r1847 | tron | 2005-02-08 15:42:28 +0000 (Tue, 08 Feb 2005) | 1 line Adjustment for MorphOS to unbreak the build there and removal of some now obsolete preprocessor magic ------------------------------------------------------------------------ r1846 | darkvater | 2005-02-07 20:36:41 +0000 (Mon, 07 Feb 2005) | 2 lines - Fix: VS6 project file (bociusz) - Fix: VS6 fkcing borkdness should be abolished ------------------------------------------------------------------------ r1845 | darkvater | 2005-02-07 19:45:08 +0000 (Mon, 07 Feb 2005) | 3 lines - Revert r1835 since it totally screws network compiling - Fix: fix some VS.NET warnings - Add missing file to VS.NET project file ------------------------------------------------------------------------ r1844 | truelight | 2005-02-07 19:23:38 +0000 (Mon, 07 Feb 2005) | 2 lines -Fix: small protection in oldloader.c, and put the savegame on pause by default ------------------------------------------------------------------------ r1843 | matthijs | 2005-02-07 19:01:56 +0000 (Mon, 07 Feb 2005) | 2 lines - Codechange: [NPF] Removed some unused code. ------------------------------------------------------------------------ r1842 | tron | 2005-02-07 18:51:46 +0000 (Mon, 07 Feb 2005) | 1 line Fix another typo made in r1834 ------------------------------------------------------------------------ r1841 | celestar | 2005-02-07 12:47:29 +0000 (Mon, 07 Feb 2005) | 1 line -Fix: [ 1117538 ] non-stop orders are no longer accidently skipped ------------------------------------------------------------------------ r1840 | tron | 2005-02-07 12:32:35 +0000 (Mon, 07 Feb 2005) | 1 line Repel str_buffr and use local buffers where possible ------------------------------------------------------------------------ r1839 | tron | 2005-02-07 10:41:45 +0000 (Mon, 07 Feb 2005) | 1 line Move GetTileSlope() and GetTileZ() into tile.[ch] and use more explicit types as parameters ------------------------------------------------------------------------ r1838 | tron | 2005-02-07 10:37:12 +0000 (Mon, 07 Feb 2005) | 1 line Ship depots are on water, not roads ------------------------------------------------------------------------ r1837 | tron | 2005-02-07 10:09:28 +0000 (Mon, 07 Feb 2005) | 3 lines GetTileOwner returns Owner, not bool Also assert() that the TileIndex is valid ------------------------------------------------------------------------ r1836 | tron | 2005-02-07 09:56:16 +0000 (Mon, 07 Feb 2005) | 1 line Clean up some strange constructs concerning socket options ------------------------------------------------------------------------ r1835 | tron | 2005-02-07 09:54:37 +0000 (Mon, 07 Feb 2005) | 1 line Reduce the visibility of network_core.h ------------------------------------------------------------------------ r1834 | matthijs | 2005-02-06 22:36:08 +0000 (Sun, 06 Feb 2005) | 8 lines - Fix: NPF does not check the owner of its target, busses try to 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. ------------------------------------------------------------------------ r1833 | tron | 2005-02-06 22:25:27 +0000 (Sun, 06 Feb 2005) | 1 line byte -> char transition: the rest ------------------------------------------------------------------------ r1832 | tron | 2005-02-06 20:53:31 +0000 (Sun, 06 Feb 2005) | 1 line Next byte -> char iteration: custom names ------------------------------------------------------------------------ r1831 | truelight | 2005-02-06 20:29:32 +0000 (Sun, 06 Feb 2005) | 3 lines -Fix: Scenario Editor now handles human-made roads better (try to build a city layout before placing the city, finally that works very nice) ------------------------------------------------------------------------ r1830 | truelight | 2005-02-06 19:22:54 +0000 (Sun, 06 Feb 2005) | 2 lines -Codechange: small stuff to make the file more beautiful (tnx Tron) ------------------------------------------------------------------------ r1829 | truelight | 2005-02-06 18:41:15 +0000 (Sun, 06 Feb 2005) | 2 lines -Fix: fixed some compiler warnings (tnx to Tron for the Makefile-flag) ------------------------------------------------------------------------ r1828 | tron | 2005-02-06 18:38:42 +0000 (Sun, 06 Feb 2005) | 1 line New warning flag especially for truelight (:< ------------------------------------------------------------------------ r1827 | tron | 2005-02-06 18:30:45 +0000 (Sun, 06 Feb 2005) | 1 line Next iteration of the byte -> char transition: some string drawing functions and buffers ------------------------------------------------------------------------ r1826 | truelight | 2005-02-06 18:28:35 +0000 (Sun, 06 Feb 2005) | 8 lines -Feature: a brand new OldLoader so OpenTTD is TTD(Patch) compatible 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 ------------------------------------------------------------------------ r1825 | tron | 2005-02-06 16:56:04 +0000 (Sun, 06 Feb 2005) | 6 lines Further style improvements: - uint16 -> StringID where appropriate - if cascades -> switch - remove redundant ifs - misc. stuff ------------------------------------------------------------------------ r1824 | truelight | 2005-02-06 15:07:29 +0000 (Sun, 06 Feb 2005) | 2 lines -Codechange: made ChangeIndustryProduction a bit more readable ------------------------------------------------------------------------ r1823 | tron | 2005-02-06 14:47:56 +0000 (Sun, 06 Feb 2005) | 1 line Get rid of some ugly cast magic concerning language packs ------------------------------------------------------------------------ r1822 | tron | 2005-02-06 14:27:50 +0000 (Sun, 06 Feb 2005) | 1 line Const correctness ------------------------------------------------------------------------ r1821 | tron | 2005-02-06 13:41:02 +0000 (Sun, 06 Feb 2005) | 1 line Move generic string handling functions to string.[ch] and introduce stre{cpy,cat}, see string.h for their semantics ------------------------------------------------------------------------ r1820 | tron | 2005-02-06 11:23:41 +0000 (Sun, 06 Feb 2005) | 9 lines Style cleanup: - 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 ------------------------------------------------------------------------ r1819 | truelight | 2005-02-06 10:39:18 +0000 (Sun, 06 Feb 2005) | 2 lines -Codechange: removed 1 unused function, and 1 unused struct (tnx to Tron) ------------------------------------------------------------------------ r1818 | truelight | 2005-02-06 10:24:57 +0000 (Sun, 06 Feb 2005) | 2 lines -Add: Dynamic orders (up to 64k orders) ------------------------------------------------------------------------ r1817 | truelight | 2005-02-06 10:18:47 +0000 (Sun, 06 Feb 2005) | 6 lines -Codechange: Moved depot-functions to depot.c -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) ------------------------------------------------------------------------ r1816 | tron | 2005-02-06 09:52:06 +0000 (Sun, 06 Feb 2005) | 1 line Use char instead of byte for string formatting ------------------------------------------------------------------------ r1815 | tron | 2005-02-06 08:55:51 +0000 (Sun, 06 Feb 2005) | 1 line Remove some unused declarations ------------------------------------------------------------------------ r1814 | tron | 2005-02-06 08:38:09 +0000 (Sun, 06 Feb 2005) | 1 line Let ReadFileToMem() return void* (instead of byte*) because we don't know what the caller wants to do with the data ------------------------------------------------------------------------ r1813 | tron | 2005-02-06 08:18:00 +0000 (Sun, 06 Feb 2005) | 1 line Declare functions implemented in strings.c in their own shiny new header (though i think some of these function don't belong into strings.c) ------------------------------------------------------------------------ r1812 | tron | 2005-02-06 07:49:41 +0000 (Sun, 06 Feb 2005) | 1 line [1117058] Use CT_WATER instead of CT_STEEL when accounting water which gets delivered to a town (worked because CT_STEEL and CT_WATER share the same enum number) ------------------------------------------------------------------------ r1811 | tron | 2005-02-05 23:07:35 +0000 (Sat, 05 Feb 2005) | 1 line Use char for string handling in namegen.[ch] ------------------------------------------------------------------------ r1810 | tron | 2005-02-05 23:03:12 +0000 (Sat, 05 Feb 2005) | 1 line Move town name generation declarations into a header of their own ------------------------------------------------------------------------ r1809 | tron | 2005-02-05 22:52:08 +0000 (Sat, 05 Feb 2005) | 1 line Remove unused function str_is_below() ------------------------------------------------------------------------ r1808 | tron | 2005-02-05 22:50:33 +0000 (Sat, 05 Feb 2005) | 1 line Use strcmp() instead of home brewed function str_eq() ------------------------------------------------------------------------ r1807 | miham | 2005-02-05 22:25:07 +0000 (Sat, 05 Feb 2005) | 1 line Langfile updates (20050205) ------------------------------------------------------------------------ r1806 | tron | 2005-02-05 21:57:01 +0000 (Sat, 05 Feb 2005) | 1 line Add missing includes (see r1803) ------------------------------------------------------------------------ r1805 | tron | 2005-02-05 18:05:42 +0000 (Sat, 05 Feb 2005) | 1 line Teach the driver layer a few things about const correctness ------------------------------------------------------------------------ r1804 | tron | 2005-02-05 16:12:07 +0000 (Sat, 05 Feb 2005) | 1 line Bring MSVC project files up to date (bociusz) ------------------------------------------------------------------------ r1803 | tron | 2005-02-05 15:58:59 +0000 (Sat, 05 Feb 2005) | 1 line Move debugging stuff into files of it's own ------------------------------------------------------------------------ r1802 | tron | 2005-02-05 15:49:57 +0000 (Sat, 05 Feb 2005) | 1 line Fix typos made in r1797 ------------------------------------------------------------------------ r1801 | celestar | 2005-02-05 15:05:52 +0000 (Sat, 05 Feb 2005) | 1 line -Fix [Multistop] Fixed a crash that occured when copying orders due to not checking a pointer to be non-NULL ------------------------------------------------------------------------ r1800 | tron | 2005-02-05 14:18:25 +0000 (Sat, 05 Feb 2005) | 1 line Make adding new debug categories to the command line parser easier ------------------------------------------------------------------------ r1799 | celestar | 2005-02-05 12:10:09 +0000 (Sat, 05 Feb 2005) | 3 lines -Codechange: [ Multistop ] Added debug class "ms" and more debugging output for multistops ------------------------------------------------------------------------ r1798 | tron | 2005-02-04 20:40:04 +0000 (Fri, 04 Feb 2005) | 1 line GetFoo(i)->index is per definition i, so replace the former with the latter ------------------------------------------------------------------------ r1797 | tron | 2005-02-04 20:17:15 +0000 (Fri, 04 Feb 2005) | 6 lines Clean up TileLoopClearHelper() a bit: - if cascades -> switch - uint -> TileIndex - (uint)-1 -> INVALID_TILE - don't treat non-flags as flags ------------------------------------------------------------------------ r1796 | tron | 2005-02-04 19:53:53 +0000 (Fri, 04 Feb 2005) | 1 line Revert r1792, because MorphOS has defaults for CC/CXX, they're just wrong, so setting CC/CXX using ?= simply did nothing ------------------------------------------------------------------------ r1795 | tron | 2005-02-04 19:51:43 +0000 (Fri, 04 Feb 2005) | 1 line Change CFLAGS for MorphOS (tokai) ------------------------------------------------------------------------ r1794 | tron | 2005-02-04 19:38:04 +0000 (Fri, 04 Feb 2005) | 1 line Make the dedicated server compile again under MorphOS (tokai) ------------------------------------------------------------------------