------------------------------------------------------------------------ r6040 | truelight | 2006-08-21 17:41:04 +0000 (Mon, 21 Aug 2006) | 4 lines -Add: when clicking twice on a Location Button, the SmallMap centers on your position (based on FS#54 by thomasdev) -Add: when clicking twice in SmallMap on a position, it centers there (based on FS#54 by thomasdev) -Add: add a button in SmallMap that centers the SmallMap on your current position (based on FS#54 by thomasdev) ------------------------------------------------------------------------ r6039 | bjarni | 2006-08-21 16:35:47 +0000 (Mon, 21 Aug 2006) | 3 lines -Fix: [newGRF] FS#287 Bugfix for error in NewGRF callback 31 code for aircraft (Mart3p) introduced in rev 5822 ------------------------------------------------------------------------ r6038 | truelight | 2006-08-21 14:59:58 +0000 (Mon, 21 Aug 2006) | 3 lines -Codechange: move mousewheel code to event WE_MOUSEWHEEL instead of a general function that handles that -Codechange: use always 'e' for WindowsEvent, neverr 'we' ------------------------------------------------------------------------ r6037 | truelight | 2006-08-21 14:59:23 +0000 (Mon, 21 Aug 2006) | 2 lines -Fix: never allow scrolling the map in the main menu (scroll-settings weren't reset if switched to mainmenu) ------------------------------------------------------------------------ r6036 | truelight | 2006-08-21 14:34:59 +0000 (Mon, 21 Aug 2006) | 2 lines -Codechange: do not handle SCROLL in a central function, but let windows handle them theirself. Added WE_SCROLL for this. ------------------------------------------------------------------------ r6035 | Darkvater | 2006-08-21 13:04:13 +0000 (Mon, 21 Aug 2006) | 1 line -Revert r5900 which supposedly fixed an invalid warning caused by buggy MS software ------------------------------------------------------------------------ r6032 | truelight | 2006-08-21 09:22:44 +0000 (Mon, 21 Aug 2006) | 2 lines -Fix: when a farm is gone, remove the fields when it is full grown and should be harvest (not before that) ------------------------------------------------------------------------ r6023 | miham | 2006-08-20 21:53:56 +0000 (Sun, 20 Aug 2006) | 5 lines WebTranslator2 update to 2006-08-20 23:53:33 german - 1 fixed by Neonox (1) polish - 2 fixed, 2 changed by meush (4) portuguese - 2 fixed by izhirahider (2) ------------------------------------------------------------------------ r6013 | rubidium | 2006-08-20 20:21:00 +0000 (Sun, 20 Aug 2006) | 2 lines -Fix: some newgrf properties returned the date in the new format where the newgrf's expect the original format. Thanks to michi_cc for finding these and providing the initial patch. ------------------------------------------------------------------------ r6005 | rubidium | 2006-08-20 19:31:58 +0000 (Sun, 20 Aug 2006) | 3 lines -Cleanup: introduce IndustryID and use it -Cleanup: use TownID and StationID for two instances of uint16 ------------------------------------------------------------------------ r6002 | rubidium | 2006-08-20 19:05:28 +0000 (Sun, 20 Aug 2006) | 2 lines -Cleanup: remove the now redundant BASE_YEAR constant. ------------------------------------------------------------------------ r6001 | truelight | 2006-08-20 18:44:26 +0000 (Sun, 20 Aug 2006) | 3 lines -Feature: when removing a farm, his farmland is removed too (over time) (based on peter1138's patch, FS#82) To make this to work, in older games farmland is removed on load, and replanted ------------------------------------------------------------------------ r6000 | miham | 2006-08-20 18:43:43 +0000 (Sun, 20 Aug 2006) | 7 lines WebTranslator2 update to 2006-08-20 20:43:15 danish - 24 fixed, 1 changed by Bjarni (25) hungarian - 2 fixed by miham (2) polish - 2 fixed, 3 changed by meush (5) portuguese - 3 fixed by izhirahider (3) turkish - 54 fixed by jnmbk (54) ------------------------------------------------------------------------ r5999 | rubidium | 2006-08-20 18:40:57 +0000 (Sun, 20 Aug 2006) | 5 lines -Feature: change the original date format to a 32 bits format based at the year 0. The game date subsystem now allows someone to start in the year 0 and continue up to the year 5 000 000. However, you currently cannot build anything before 1920 as there is no newgrf support for dates before 1920 or after 2090 yet. ------------------------------------------------------------------------ r5993 | truelight | 2006-08-20 17:22:03 +0000 (Sun, 20 Aug 2006) | 2 lines -Fix r5974: a cause-no-warning commit caused a warning ;) (glx) ------------------------------------------------------------------------ r5978 | truelight | 2006-08-20 13:48:04 +0000 (Sun, 20 Aug 2006) | 2 lines -Add: allow a switch in Makefile.config to disable threads in OpenTTD (no matter what system you are on). Only useful for testing. ------------------------------------------------------------------------ r5977 | truelight | 2006-08-20 13:39:33 +0000 (Sun, 20 Aug 2006) | 4 lines -Fix [FS#78]: never set I-am-a-thread bool to true IN the thread. Machines with dualcore can be faster then you want, and therefor create 2 threads, while you made the bool to make sure there is never more then 1 thread of this type. ------------------------------------------------------------------------ r5975 | rubidium | 2006-08-20 12:39:17 +0000 (Sun, 20 Aug 2006) | 4 lines -Cleanup: use ORIGINAL_BASE_YEAR & ORIGINAL_MAX_YEAR where the functions really depend on the original date format. -Cleanup: use DAYS_TILL_ORIGINAL_BASE_YEAR where the date variables are in the old date format and conversions are needed. -Cleanup: replace one (forgotten) instance of uint16 with Date. ------------------------------------------------------------------------ r5974 | truelight | 2006-08-20 12:09:32 +0000 (Sun, 20 Aug 2006) | 2 lines -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc) ------------------------------------------------------------------------ r5973 | truelight | 2006-08-20 12:07:27 +0000 (Sun, 20 Aug 2006) | 2 lines -Codechange: md5_append only uses size_t as nbytes param, so use that (michi_cc) ------------------------------------------------------------------------ r5972 | truelight | 2006-08-20 12:03:39 +0000 (Sun, 20 Aug 2006) | 3 lines -Fix: usr strrchr instead of your own function (tnx Darkvater) -Codechange: added some comments and const correctness (Darkvater) ------------------------------------------------------------------------ r5971 | truelight | 2006-08-20 11:51:10 +0000 (Sun, 20 Aug 2006) | 2 lines -Fix: wrong struct in assert_compile (thomasdev) ------------------------------------------------------------------------ r5970 | truelight | 2006-08-20 11:41:34 +0000 (Sun, 20 Aug 2006) | 2 lines -Fix [FS#49]: town-growth removed houses under construction to make way for road. Not wanted behavoir (Rubidium) ------------------------------------------------------------------------ r5969 | truelight | 2006-08-20 11:18:46 +0000 (Sun, 20 Aug 2006) | 2 lines -Fix r5968: windows doesn't know strncasecmp, but called it strnicmp (michi_cc) ------------------------------------------------------------------------ r5968 | truelight | 2006-08-20 10:51:27 +0000 (Sun, 20 Aug 2006) | 3 lines -Feature: add auto-completion in chat-window. It completes Player-Names and Town-Names (that order) using . Based on FS#28 by egladil. ------------------------------------------------------------------------ r5967 | rubidium | 2006-08-20 10:50:23 +0000 (Sun, 20 Aug 2006) | 2 lines -Change: use right alignment for the year in the player's balance window instead of centering (about) 'string width' / 2 from the right edge ------------------------------------------------------------------------ r5966 | rubidium | 2006-08-20 10:45:36 +0000 (Sun, 20 Aug 2006) | 2 lines -Fix: prevent that the industry placement's terraforming checks can leave the map on the southern side ------------------------------------------------------------------------ r5965 | bjarni | 2006-08-20 09:52:15 +0000 (Sun, 20 Aug 2006) | 2 lines -Feature: FS#261 Catalan Town Names generator (arnau) ------------------------------------------------------------------------ r5964 | bjarni | 2006-08-20 09:26:58 +0000 (Sun, 20 Aug 2006) | 2 lines -Feature: FS#131 Slovenian currency (MeusH) ------------------------------------------------------------------------ r5963 | miham | 2006-08-20 07:04:04 +0000 (Sun, 20 Aug 2006) | 4 lines WebTranslator2 update to 2006-08-20 09:03:43 french - 7 changed by glx (7) polish - 77 fixed, 18 changed by meush (95) ------------------------------------------------------------------------ r5959 | glx | 2006-08-19 21:30:40 +0000 (Sat, 19 Aug 2006) | 1 line -Change: size selection dropdowns placement in 'Scenario type' window ------------------------------------------------------------------------ r5955 | truelight | 2006-08-19 19:45:04 +0000 (Sat, 19 Aug 2006) | 4 lines -Fix r5728: 2 very important lines for ShowQueryString where removed by excident. Because of this you couldn't join servers with passwords, and more of those problems. (tnx Mucht) ------------------------------------------------------------------------ r5954 | miham | 2006-08-19 18:19:41 +0000 (Sat, 19 Aug 2006) | 8 lines WebTranslator2 update to 2006-08-19 20:17:26 dutch - 54 fixed by webfreakz (54) french - 74 fixed by glx (74) hungarian - 79 fixed by miham (79) norwegian - 2 fixed by oletk (2) polish - 1 changed by meush (1) portuguese - 15 fixed by izhirahider (15) ------------------------------------------------------------------------ r5953 | truelight | 2006-08-19 16:33:10 +0000 (Sat, 19 Aug 2006) | 2 lines -Fix: tooltip for FlatLand had wrong color (tnx glx) ------------------------------------------------------------------------ r5952 | tron | 2006-08-19 16:30:05 +0000 (Sat, 19 Aug 2006) | 3 lines - struct GRFText{Entry,} are private to newgrf_text.c - use a variable size array instead of another malloc() ------------------------------------------------------------------------ r5951 | Darkvater | 2006-08-19 15:24:40 +0000 (Sat, 19 Aug 2006) | 1 line - Codechange: GetVehicleOutOfTunnelTile() never did anything, and making it work properly only resulted in massive performance drops, and it not working properly also seemed to work, so make it not work properly once again. ------------------------------------------------------------------------ r5950 | truelight | 2006-08-19 12:01:04 +0000 (Sat, 19 Aug 2006) | 2 lines -Fix: don't show Vital Windows EVER if you go to GM_MENU (tnx Darkvater) ------------------------------------------------------------------------ r5949 | truelight | 2006-08-19 11:50:34 +0000 (Sat, 19 Aug 2006) | 2 lines -Fix: vs80 project file was broken (tnx webfreakz) ------------------------------------------------------------------------ r5948 | truelight | 2006-08-19 11:28:41 +0000 (Sat, 19 Aug 2006) | 2 lines -Fix: inversed check caused oringal land-generator to put industries on mountains (tnx Darkvater) ------------------------------------------------------------------------ r5946 | truelight | 2006-08-19 10:00:30 +0000 (Sat, 19 Aug 2006) | 21 lines -Add: merged the TGP branch to mainline. TGP adds: - New optional landscape generator (TerraGenesis Perlin) - Load heightmaps (either BMP or PNG) - Progress dialog while generating worlds (no longer a 'hanging' screen) - New dialogs for NewGame, Create Scenario and Play Heightmap - Easier to configure your landscape - More things to configure (tree-placer, ..) - Speedup of world generation - New console command 'restart': restart the map EXACTLY as it was when you first started it (needs a game made after or with this commit) - New console command 'getseed': get the seed of your map and share it with others (of course only works with generated maps) - Many new, world generation related, things - Many internal cleanups and rewrites Many tnx to those people who helped making this: Belugas, DaleStan, glx, KUDr, RichK67, Rubidium, and TrueLight (alfabetic) Many tnx to those who helped testing: Arnau, Bjarni, and tokai (alfabetic) And to all other people who helped testing and sending comments / bugs Stats: 673 lines changed, 3534 new lines, 79 new strings ------------------------------------------------------------------------ r5944 | truelight | 2006-08-19 09:31:22 +0000 (Sat, 19 Aug 2006) | 3 lines -Merge TGP (r5578, r5579, r5724, r5726): -Feature: filter for textboxes to only allow certain patterns (like numbers only) ------------------------------------------------------------------------ r5943 | truelight | 2006-08-19 09:23:48 +0000 (Sat, 19 Aug 2006) | 4 lines -Merge TGP (part r5725): -Codechange: renamed Thread to OTTDThread, as Windows (who else) uses Thread in winbase.h, and starts complaining if you define it otherwise (with weird, undefined errors) (tnx Arnau and Rubidium) ------------------------------------------------------------------------ r5934 | rubidium | 2006-08-17 20:22:35 +0000 (Thu, 17 Aug 2006) | 4 lines -Cleanup: forgot some conversions to Year and to Date -Cleanup: use _cur_year instead of _date for some (year based) comparisons -Cleanup: remove a magic number in favour of another (less) magic number ------------------------------------------------------------------------ r5929 | miham | 2006-08-16 17:58:43 +0000 (Wed, 16 Aug 2006) | 4 lines WebTranslator2 update to 2006-08-16 19:58:20 czech - 2 fixed by Hadez (2) slovak - 2 fixed by lengyel (2) ------------------------------------------------------------------------ r5928 | rubidium | 2006-08-16 12:07:24 +0000 (Wed, 16 Aug 2006) | 2 lines -Cleanup: remove ConvertIntDate and use ConvertYMDToDate as ConvertIntDate was only called with Years. ------------------------------------------------------------------------ r5927 | rubidium | 2006-08-16 11:49:52 +0000 (Wed, 16 Aug 2006) | 2 lines -Cleanup: check against _cur_year instead of _date when determining the availability of airports, as they only become available at the beginning of a year. ------------------------------------------------------------------------ r5926 | rubidium | 2006-08-16 11:39:55 +0000 (Wed, 16 Aug 2006) | 3 lines -Codechange: make _cur_year contain the full year, instead of the offset since 1920 -Codechange: store all year related variables that are _not_ stored in a savegame/transported over the network in the same format as _cur_year ------------------------------------------------------------------------ r5925 | miham | 2006-08-16 07:43:15 +0000 (Wed, 16 Aug 2006) | 3 lines WebTranslator2 update to 2006-08-16 09:42:57 turkish - 2 fixed by jnmbk (2) ------------------------------------------------------------------------ r5924 | tron | 2006-08-16 06:06:48 +0000 (Wed, 16 Aug 2006) | 1 line Revert accidently commited files ------------------------------------------------------------------------ r5923 | tron | 2006-08-16 06:05:44 +0000 (Wed, 16 Aug 2006) | 1 line Fix 'make depend' which was broken in r3574 (it just did nothing) ------------------------------------------------------------------------ r5919 | rubidium | 2006-08-15 16:55:40 +0000 (Tue, 15 Aug 2006) | 2 lines -Cleanup: use the type Date when the variable really is a date ------------------------------------------------------------------------ r5918 | rubidium | 2006-08-15 16:49:48 +0000 (Tue, 15 Aug 2006) | 3 lines -Cleanup: rename ConvertDayToYMD/ConvertYMDToDay as they really convert a Date to/from a YearMonthDay. -Cleanup: swap ConvertDateToYMD's parameters to make the order consistent with the name of the function. ------------------------------------------------------------------------ r5917 | bjarni | 2006-08-15 15:27:30 +0000 (Tue, 15 Aug 2006) | 2 lines -Fix: [clone vehicles] FS#275 Bugfix: Cloned Road Vehicles Are Not Refitted To Correct Cargo (Mart3p) ------------------------------------------------------------------------ r5916 | rubidium | 2006-08-15 15:18:03 +0000 (Tue, 15 Aug 2006) | 3 lines -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and BASE_YEAR when comparing _cur_year with a 'full' year. -Cleanup: replace some magic '1920' values with BASE_YEAR. ------------------------------------------------------------------------ r5915 | rubidium | 2006-08-15 14:52:17 +0000 (Tue, 15 Aug 2006) | 2 lines -Cleanup: some variables were named *_date while they were only holding years; rename these variables to match this. ------------------------------------------------------------------------ r5914 | Darkvater | 2006-08-15 14:38:43 +0000 (Tue, 15 Aug 2006) | 1 line -Fix [FS#235]: Bugfix for errors in FindNearestHangar function in aircraft_cmd.c (mart3p). ------------------------------------------------------------------------ r5913 | rubidium | 2006-08-15 14:27:53 +0000 (Tue, 15 Aug 2006) | 2 lines -Fix (r5906): GetVehicleOutOfTunnelTile did assert when the vehicles tile location is the exit of the tunnel. ------------------------------------------------------------------------ r5912 | tron | 2006-08-15 13:31:43 +0000 (Tue, 15 Aug 2006) | 3 lines -Fix: Sort order for produced amount and transported percentage was reversed in the industry list Also slightly change these sorting criteria: If an industry produces more than one type of cargo sort by the sum (amount) resp. minimum (%) instead of the mean ------------------------------------------------------------------------ r5911 | matthijs | 2006-08-15 11:06:32 +0000 (Tue, 15 Aug 2006) | 2 lines -Fix [FS#215]: Discard upper bits of TrackdirBitsToTrackBits result. ------------------------------------------------------------------------ r5910 | Darkvater | 2006-08-15 09:28:27 +0000 (Tue, 15 Aug 2006) | 1 line Fix some more warnings on MSVC by using (void*) casts. Followup of r5907. ------------------------------------------------------------------------ r5909 | rubidium | 2006-08-15 09:03:35 +0000 (Tue, 15 Aug 2006) | 2 lines -Fix (r5908): silence signedness warning ------------------------------------------------------------------------ r5908 | Darkvater | 2006-08-15 07:37:01 +0000 (Tue, 15 Aug 2006) | 1 line - Codechange (r5903): Move the retrieval of the new value of a patch to console_cmds.c, so there is no need for that function in settings.c ------------------------------------------------------------------------ r5907 | tron | 2006-08-15 07:07:17 +0000 (Tue, 15 Aug 2006) | 1 line Remove more indirection by using pointers instead of IDs. Also fix some bogus warnings on MSVC by using (void*) casts ------------------------------------------------------------------------ r5906 | Darkvater | 2006-08-15 01:28:07 +0000 (Tue, 15 Aug 2006) | 1 line -Fix [ 1203146 ]: GetVehicleOutOfTunnelTile always returned v->tile, now the exit-tile of the tunnel based on the vehicle's direction is correctly returned. Based on a patch by glx. ------------------------------------------------------------------------ r5903 | Darkvater | 2006-08-15 00:26:24 +0000 (Tue, 15 Aug 2006) | 1 line -Fix [FS#170]: Changing patch settings through the console didn't accept on/off or true/false. ------------------------------------------------------------------------ r5902 | Darkvater | 2006-08-15 00:19:01 +0000 (Tue, 15 Aug 2006) | 1 line -Fix [FS#26]: BIGMULS return-type fix (Graphite) ------------------------------------------------------------------------ r5901 | Darkvater | 2006-08-15 00:14:57 +0000 (Tue, 15 Aug 2006) | 1 line -Fix [FS#253]: Differing price calculation for tunnels depending on starting point ------------------------------------------------------------------------ r5900 | Darkvater | 2006-08-14 23:27:06 +0000 (Mon, 14 Aug 2006) | 1 line -Fix [FS#84]: Warning silencing fix for OpenTTD on Windows x64 (michi_cc) ------------------------------------------------------------------------ r5899 | Darkvater | 2006-08-14 23:11:59 +0000 (Mon, 14 Aug 2006) | 1 line - Fix [FS#242]: Multistop not working when using NPF (r5033) (mart3p) ------------------------------------------------------------------------ r5898 | Darkvater | 2006-08-14 22:34:43 +0000 (Mon, 14 Aug 2006) | 1 line -Fix [FS#249]: Bugfix: Goto Depot not always working for road vehicles. (mart3p) ------------------------------------------------------------------------ r5897 | Darkvater | 2006-08-14 22:23:13 +0000 (Mon, 14 Aug 2006) | 1 line -Fix [ 1519167 ] Bus trying to service in depot of other company (mart3p) ------------------------------------------------------------------------ r5896 | tron | 2006-08-14 21:02:48 +0000 (Mon, 14 Aug 2006) | 2 lines Remove pointless indirection similar to r5894 and remove an unnecessary global variable ------------------------------------------------------------------------ r5895 | tron | 2006-08-14 20:37:15 +0000 (Mon, 14 Aug 2006) | 1 line Remove dead code ------------------------------------------------------------------------ r5894 | tron | 2006-08-14 20:25:29 +0000 (Mon, 14 Aug 2006) | 1 line Remove a totally unnecessary indirection in the vehicle sorter code. Less code, less data, simply better ------------------------------------------------------------------------ r5893 | miham | 2006-08-14 18:39:20 +0000 (Mon, 14 Aug 2006) | 9 lines WebTranslator2 update to 2006-08-14 20:38:49 dutch - 2 fixed by webfreakz (2) french - 2 fixed by glx (2) german - 2 fixed by Neonox (2) hungarian - 2 fixed by miham (2) polish - 2 fixed by meush (2) portuguese - 2 fixed by izhirahider (2) ukrainian - 1 fixed by znikoz (1) ------------------------------------------------------------------------