1
0
Fork 0

Commit Graph

  • d449145799 (svn r1872) -Fix: Fixed an inline problem which caused MSVC6 to not compile :/ celestar 2005-02-13 21:51:47 +0000
  • 9e847075fa (svn r1871) Daily langfile updates #2. miham 2005-02-13 12:33:57 +0000
  • fac25561bc (svn r1870) Added new language: lithuanian miham 2005-02-13 11:55:35 +0000
  • 1ef2ad611f (svn r1869) Fix some bugs in the bulldozer movement implementation. Now they move in a sane pattern. tron 2005-02-13 11:31:35 +0000
  • 9f7074a706 (svn r1868) Improve readability of the bulldozer movement code tron 2005-02-13 11:27:41 +0000
  • 204d08140a (svn r1867) Include tables/sprites.h only in files which need it tron 2005-02-13 11:18:02 +0000
  • 77d26759e3 (svn r1866) -Fix: Intercepted generated maps with 0 towns on it. Currently just an error() is called, some more graceful handling should be implemented later. celestar 2005-02-13 09:42:49 +0000
  • 58c46bed40 (svn r1865) Fix some warnings tron 2005-02-13 08:12:03 +0000
  • ac6857ee28 (svn r1864) Automatic langfile updates miham 2005-02-13 07:44:32 +0000
  • 6b83a05ada (svn r1863) Give the effect vehicle type enums more descriptive names and use the enum as parameter type for CreateEffectVehicle*() -Fix: [1116619] Generate the correct smoke type for diesel trains tron 2005-02-12 15:53:32 +0000
  • ac758b6875 (svn r1862) - Settings: No longer treat warnings as errors for VS.Net project files...just until spritecache is fixed up :) darkvater 2005-02-12 00:20:46 +0000
  • 9c99c7d11a (svn r1861) Constify Get(Non)Sprite() tron 2005-02-11 17:12:11 +0000
  • 3a93a250b7 (svn r1860) The sprite header endianness issue was solved in r1855 tron 2005-02-11 15:18:09 +0000
  • f03b8859ed (svn r1859) Miscellaneous style changes tron 2005-02-11 14:33:43 +0000
  • 5c946cdbd8 (svn r1858) Let ReadSprite() handle the subtleties of loading a sprite, not its caller tron 2005-02-11 13:46:25 +0000
  • 1b617b28fc (svn r1857) Rewrite parts of the sprite heap. It's functionally equivalent but should be easier to read and maintain. tron 2005-02-11 13:35:27 +0000
  • 33cf096b03 (svn r1856) Make GfxInitSpriteMem() static, because it's only used withing spritecache.c tron 2005-02-10 22:26:28 +0000
  • 9031e0369e (svn r1855) Handle endianness of sprite headers when loading a sprite, not everytime when accessing it tron 2005-02-10 12:26:41 +0000
  • 94c75f33bb (svn r1854) Split GetSpritePtr() into GetSprite() for regular sprites (returning a Sprite*) and GetNonSprite() for "sprites" of type 0xFF (returning byte*) tron 2005-02-10 12:14:38 +0000
  • 2a151d9354 (svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate tron 2005-02-10 05:43:30 +0000
  • 092e72d60d (svn r1852) 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) tron 2005-02-08 22:22:42 +0000
  • 297223cc21 (svn r1851) - Language: added Frisian translation (no strings have been translated yet) bjarni 2005-02-08 18:07:27 +0000
  • 4b2e34e0aa (svn r1850) Change the last consumers of str_buffr so they use local static buffers now and remove the global array str_buffr. tron 2005-02-08 17:31:13 +0000
  • 8aee833024 (svn r1849) Use the cheat entry enum for CheatEntry.type and remove unused enum values tron 2005-02-08 16:53:28 +0000
  • d1fb165ad2 (svn r1848) 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. tron 2005-02-08 16:37:28 +0000
  • 1afad51ee2 (svn r1847) Adjustment for MorphOS to unbreak the build there and removal of some now obsolete preprocessor magic tron 2005-02-08 15:42:28 +0000
  • 0525b08612 (svn r1846) - Fix: VS6 project file (bociusz) - Fix: VS6 fkcing borkdness should be abolished darkvater 2005-02-07 20:36:41 +0000
  • 8867c00d68 (svn r1845) - Revert r1835 since it totally screws network compiling - Fix: fix some VS.NET warnings - Add missing file to VS.NET project file darkvater 2005-02-07 19:45:08 +0000
  • c1a2be0d05 (svn r1844) -Fix: small protection in oldloader.c, and put the savegame on pause by default truelight 2005-02-07 19:23:38 +0000
  • 5df36d4ead (svn r1843) - Codechange: [NPF] Removed some unused code. matthijs 2005-02-07 19:01:56 +0000
  • be840ccd00 (svn r1842) Fix another typo made in r1834 tron 2005-02-07 18:51:46 +0000
  • f758bd769b (svn r1841) -Fix: [ 1117538 ] non-stop orders are no longer accidently skipped celestar 2005-02-07 12:47:29 +0000
  • b1baa4ed8b (svn r1840) Repel str_buffr and use local buffers where possible tron 2005-02-07 12:32:35 +0000
  • f8d97a5f61 (svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more explicit types as parameters tron 2005-02-07 10:41:45 +0000
  • ad837c2069 (svn r1838) Ship depots are on water, not roads tron 2005-02-07 10:37:12 +0000
  • 9198522307 (svn r1837) GetTileOwner returns Owner, not bool Also assert() that the TileIndex is valid tron 2005-02-07 10:09:28 +0000
  • 552d84884f (svn r1836) Clean up some strange constructs concerning socket options tron 2005-02-07 09:56:16 +0000
  • 7c38b7bc01 (svn r1835) Reduce the visibility of network_core.h tron 2005-02-07 09:54:37 +0000
  • c5c5c9b17c (svn r1834) - 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. matthijs 2005-02-06 22:36:08 +0000
  • eed181245d (svn r1833) byte -> char transition: the rest tron 2005-02-06 22:25:27 +0000
  • 27dc506a03 (svn r1832) Next byte -> char iteration: custom names tron 2005-02-06 20:53:31 +0000
  • cc8fc19d4a (svn r1831) -Fix: Scenario Editor now handles human-made roads better (try to build a city layout before placing the city, finally that works very nice) truelight 2005-02-06 20:29:32 +0000
  • 2bd8df54e1 (svn r1830) -Codechange: small stuff to make the file more beautiful (tnx Tron) truelight 2005-02-06 19:22:54 +0000
  • bedc63d75d (svn r1829) -Fix: fixed some compiler warnings (tnx to Tron for the Makefile-flag) truelight 2005-02-06 18:41:15 +0000
  • d48261aa23 (svn r1828) New warning flag especially for truelight (:< tron 2005-02-06 18:38:42 +0000
  • 2fb453a4a5 (svn r1827) Next iteration of the byte -> char transition: some string drawing functions and buffers tron 2005-02-06 18:30:45 +0000
  • eb28e8b322 (svn r1826) -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 truelight 2005-02-06 18:28:35 +0000
  • c513c4da96 (svn r1825) Further style improvements: - uint16 -> StringID where appropriate - if cascades -> switch - remove redundant ifs - misc. stuff tron 2005-02-06 16:56:04 +0000
  • b0d6d59be5 (svn r1824) -Codechange: made ChangeIndustryProduction a bit more readable truelight 2005-02-06 15:07:29 +0000
  • 92d1b6060c (svn r1823) Get rid of some ugly cast magic concerning language packs tron 2005-02-06 14:47:56 +0000
  • d11cc22536 (svn r1822) Const correctness tron 2005-02-06 14:27:50 +0000
  • b2ae5b197e (svn r1821) Move generic string handling functions to string.[ch] and introduce stre{cpy,cat}, see string.h for their semantics tron 2005-02-06 13:41:02 +0000
  • 498ccae27a (svn r1820) 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 tron 2005-02-06 11:23:41 +0000
  • ccf3c71903 (svn r1819) -Codechange: removed 1 unused function, and 1 unused struct (tnx to Tron) truelight 2005-02-06 10:39:18 +0000
  • 020c1e9b6c (svn r1818) -Add: Dynamic orders (up to 64k orders) truelight 2005-02-06 10:24:57 +0000
  • e9c93f9c0c (svn r1817) -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) truelight 2005-02-06 10:18:47 +0000
  • 6493e12bfb (svn r1816) Use char instead of byte for string formatting tron 2005-02-06 09:52:06 +0000
  • 1d5c516780 (svn r1815) Remove some unused declarations tron 2005-02-06 08:55:51 +0000
  • ff3bc3cc94 (svn r1814) Let ReadFileToMem() return void* (instead of byte*) because we don't know what the caller wants to do with the data tron 2005-02-06 08:38:09 +0000
  • 0381073e56 (svn r1813) 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) tron 2005-02-06 08:18:00 +0000
  • 0b8876e946 (svn r1812) [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) tron 2005-02-06 07:49:41 +0000
  • ccb80ab09d (svn r1811) Use char for string handling in namegen.[ch] tron 2005-02-05 23:07:35 +0000
  • 80776172a5 (svn r1810) Move town name generation declarations into a header of their own tron 2005-02-05 23:03:12 +0000
  • 31e098e64e (svn r1809) Remove unused function str_is_below() tron 2005-02-05 22:52:08 +0000
  • 7aae12d55d (svn r1808) Use strcmp() instead of home brewed function str_eq() tron 2005-02-05 22:50:33 +0000
  • 4d62bbf857 (svn r1807) Langfile updates (20050205) miham 2005-02-05 22:25:07 +0000
  • 7d3a576a7b (svn r1806) Add missing includes (see r1803) tron 2005-02-05 21:57:01 +0000
  • 17ca2c49a5 (svn r1805) Teach the driver layer a few things about const correctness tron 2005-02-05 18:05:42 +0000
  • 7278f72157 (svn r1804) Bring MSVC project files up to date (bociusz) tron 2005-02-05 16:12:07 +0000
  • f0f85a7ef3 (svn r1803) Move debugging stuff into files of it's own tron 2005-02-05 15:58:59 +0000
  • 77b3a76919 (svn r1802) Fix typos made in r1797 tron 2005-02-05 15:49:57 +0000
  • 0ec4ee5963 (svn r1801) -Fix [Multistop] Fixed a crash that occured when copying orders due to not checking a pointer to be non-NULL celestar 2005-02-05 15:05:52 +0000
  • 6932461e63 (svn r1800) Make adding new debug categories to the command line parser easier tron 2005-02-05 14:18:25 +0000
  • 422ebcf8e0 (svn r1799) -Codechange: [ Multistop ] Added debug class "ms" and more debugging output for multistops celestar 2005-02-05 12:10:09 +0000
  • 4b71f9126e (svn r1798) GetFoo(i)->index is per definition i, so replace the former with the latter tron 2005-02-04 20:40:04 +0000
  • b4c3f9aaf0 (svn r1797) Clean up TileLoopClearHelper() a bit: - if cascades -> switch - uint -> TileIndex - (uint)-1 -> INVALID_TILE - don't treat non-flags as flags tron 2005-02-04 20:17:15 +0000
  • 50df3ec103 (svn r1796) Revert r1792, because MorphOS has defaults for CC/CXX, they're just wrong, so setting CC/CXX using ?= simply did nothing tron 2005-02-04 19:53:53 +0000
  • 54a84a6e6e (svn r1795) Change CFLAGS for MorphOS (tokai) tron 2005-02-04 19:51:43 +0000
  • 2ff6cc3135 (svn r1794) Make the dedicated server compile again under MorphOS (tokai) tron 2005-02-04 19:38:04 +0000
  • f8f6132006 (svn r1793) Revert one instance of $(shell) back to ``, because MorphOS does The Wrong Thing(tm) when date is used within $(shell) tron 2005-02-04 17:57:07 +0000
  • 8eda8113d9 (svn r1792) Revert r1761 and set fallback values via ?= for CC and CXX as there seem to be platforms (MorphOS) out there which don't provide some proper defaults. Use gcc and g++ as defaults, because cc and c++ aren't available either. *sigh* tron 2005-02-04 17:45:11 +0000
  • 04921a9015 (svn r1791) Remove the remnants of CMD_DESTROY_INDUSTRY, which was removed a long time ago tron 2005-02-04 17:14:36 +0000
  • e2dab60ad1 (svn r1790) Make CmdPlantTree() and related functions more safe and (hopefully) more readable: - check if end tile is on the map - uint -> TileIndex - if cascades -> switch tron 2005-02-04 16:50:18 +0000
  • 093ae2b4b4 (svn r1789) -Fix: there is no need to save the index, it is done for us truelight 2005-02-04 15:39:10 +0000
  • 10adda0d73 (svn r1788) -Add: Made RoadStops dynamic. You can now create up to 64k roadstops. truelight 2005-02-04 15:31:30 +0000
  • 4f5255c36e (svn r1787) -Add: Dynamic signs (euh.. yeah, this means you can built 64k signs) truelight 2005-02-04 14:45:32 +0000
  • 97728357e4 (svn r1786) -Fix: unitnumber is increased to 16bit, so now you can have up to 5000 trains in one game (instead of the 240 which was the current value). Default max allowed vehicles per type is changed: Trains: 500 (old 80) Road: 500 (old 80) Ships: 200 (old 40) Aicraft: 300 (old 50) (Tnx to Celestar and Darkvater for checking the patch) truelight 2005-02-04 14:24:23 +0000
  • 7be92db76f (svn r1785) -Fix: space-correctness in road_cmd.c, and one wrong line from last commit (tnx to DarkVater) truelight 2005-02-04 14:05:28 +0000
  • 7241f42e9d (svn r1784) -Fix: removed ClosestTownFromTile where possible, or replaced it with _map2-data if possible (Celestar / TrueLight) truelight 2005-02-04 13:56:51 +0000
  • 42f98c7eec (svn r1783) -Add: Dynamic vehicles (now up to 64k of vehicles) truelight 2005-02-04 13:23:29 +0000
  • 88ebe22d8b (svn r1782) Remove line which should've been removed in r1779 and caused map generation to hang infinitely tron 2005-02-04 07:52:12 +0000
  • a5ffbbee2d (svn r1781) Fix static declaration after non-static declaration of same symbol tron 2005-02-03 22:09:19 +0000
  • 08f2a395a3 (svn r1780) Don't clear LIBS and LDFLAGS tron 2005-02-03 21:18:49 +0000
  • 5e1364daeb (svn r1779) Make the map generation code slightly more readable tron 2005-02-03 20:52:12 +0000
  • f42e8ac3d2 (svn r1778) - Fix: [ 1115200 ] In the main menu, when starting a new game while the load game dialog is open, openttd asserts. matthijs 2005-02-03 19:23:06 +0000
  • 0601293edb (svn r1777) Fix map generation for tropical and arctic landscape on larger/smaller maps tron 2005-02-03 18:20:43 +0000
  • 1938a73c90 (svn r1776) -Add: Dynamic stations. You can now have up to 64k of stations truelight 2005-02-03 17:22:35 +0000
  • f1d4a85f59 (svn r1775) -Fix: The NPF patch setting was not synced in network. REMINDER FOR ALL DEVELOPERS: We do have 2 patch-setting-arrays: player-based, server-based. PLEASE put your new patch setting in the right one... thank you :) truelight 2005-02-02 20:36:04 +0000
  • ae3638121c (svn r1774) -Fix: fixed an other possible crash related to previous commit truelight 2005-02-02 19:15:35 +0000
  • 74df79331d (svn r1773) -Fix: [ 1114950 ] Game crashed sometimes when there were no industries in the map truelight 2005-02-02 19:08:34 +0000