------------------------------------------------------------------------ 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) ------------------------------------------------------------------------ r1793 | tron | 2005-02-04 17:57:07 +0000 (Fri, 04 Feb 2005) | 1 line Revert one instance of $(shell) back to ``, because MorphOS does The Wrong Thing(tm) when date is used within $(shell) ------------------------------------------------------------------------ r1792 | tron | 2005-02-04 17:45:11 +0000 (Fri, 04 Feb 2005) | 3 lines 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* ------------------------------------------------------------------------ r1791 | tron | 2005-02-04 17:14:36 +0000 (Fri, 04 Feb 2005) | 1 line Remove the remnants of CMD_DESTROY_INDUSTRY, which was removed a long time ago ------------------------------------------------------------------------ r1790 | tron | 2005-02-04 16:50:18 +0000 (Fri, 04 Feb 2005) | 5 lines Make CmdPlantTree() and related functions more safe and (hopefully) more readable: - check if end tile is on the map - uint -> TileIndex - if cascades -> switch ------------------------------------------------------------------------ r1789 | truelight | 2005-02-04 15:39:10 +0000 (Fri, 04 Feb 2005) | 2 lines -Fix: there is no need to save the index, it is done for us ------------------------------------------------------------------------ r1788 | truelight | 2005-02-04 15:31:30 +0000 (Fri, 04 Feb 2005) | 2 lines -Add: Made RoadStops dynamic. You can now create up to 64k roadstops. ------------------------------------------------------------------------ r1787 | truelight | 2005-02-04 14:45:32 +0000 (Fri, 04 Feb 2005) | 2 lines -Add: Dynamic signs (euh.. yeah, this means you can built 64k signs) ------------------------------------------------------------------------ r1786 | truelight | 2005-02-04 14:24:23 +0000 (Fri, 04 Feb 2005) | 9 lines -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) ------------------------------------------------------------------------ r1785 | truelight | 2005-02-04 14:05:28 +0000 (Fri, 04 Feb 2005) | 3 lines -Fix: space-correctness in road_cmd.c, and one wrong line from last commit (tnx to DarkVater) ------------------------------------------------------------------------ r1784 | truelight | 2005-02-04 13:56:51 +0000 (Fri, 04 Feb 2005) | 3 lines -Fix: removed ClosestTownFromTile where possible, or replaced it with _map2-data if possible (Celestar / TrueLight) ------------------------------------------------------------------------ r1783 | truelight | 2005-02-04 13:23:29 +0000 (Fri, 04 Feb 2005) | 2 lines -Add: Dynamic vehicles (now up to 64k of vehicles) ------------------------------------------------------------------------ r1782 | tron | 2005-02-04 07:52:12 +0000 (Fri, 04 Feb 2005) | 1 line Remove line which should've been removed in r1779 and caused map generation to hang infinitely ------------------------------------------------------------------------ r1781 | tron | 2005-02-03 22:09:19 +0000 (Thu, 03 Feb 2005) | 1 line Fix static declaration after non-static declaration of same symbol ------------------------------------------------------------------------ r1780 | tron | 2005-02-03 21:18:49 +0000 (Thu, 03 Feb 2005) | 1 line Don't clear LIBS and LDFLAGS ------------------------------------------------------------------------ r1779 | tron | 2005-02-03 20:52:12 +0000 (Thu, 03 Feb 2005) | 1 line Make the map generation code slightly more readable ------------------------------------------------------------------------ r1778 | matthijs | 2005-02-03 19:23:06 +0000 (Thu, 03 Feb 2005) | 2 lines - Fix: [ 1115200 ] In the main menu, when starting a new game while the load game dialog is open, openttd asserts. ------------------------------------------------------------------------ r1777 | tron | 2005-02-03 18:20:43 +0000 (Thu, 03 Feb 2005) | 1 line Fix map generation for tropical and arctic landscape on larger/smaller maps ------------------------------------------------------------------------ r1776 | truelight | 2005-02-03 17:22:35 +0000 (Thu, 03 Feb 2005) | 2 lines -Add: Dynamic stations. You can now have up to 64k of stations ------------------------------------------------------------------------ r1775 | truelight | 2005-02-02 20:36:04 +0000 (Wed, 02 Feb 2005) | 5 lines -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 :) ------------------------------------------------------------------------ r1774 | truelight | 2005-02-02 19:15:35 +0000 (Wed, 02 Feb 2005) | 2 lines -Fix: fixed an other possible crash related to previous commit ------------------------------------------------------------------------ r1773 | truelight | 2005-02-02 19:08:34 +0000 (Wed, 02 Feb 2005) | 3 lines -Fix: [ 1114950 ] Game crashed sometimes when there were no industries in the map ------------------------------------------------------------------------