------------------------------------------------------------------------ r6052 | truelight | 2006-08-22 17:13:49 +0000 (Tue, 22 Aug 2006) | 4 lines -Codechange: change OrderType (order->type) in a typedef -Codechange: renamed DeleteDestinationFromVehicleOrder to RemoveOrderFromAllVehicles to reflect his function better -Codechange: changed the params of RemoveOrderFromAllVehicles, to avoid unneeded variable-creation ------------------------------------------------------------------------ r6051 | truelight | 2006-08-22 16:59:51 +0000 (Tue, 22 Aug 2006) | 2 lines -Fix r6047: forgot many times a ! :( ------------------------------------------------------------------------ r6050 | truelight | 2006-08-22 16:38:50 +0000 (Tue, 22 Aug 2006) | 2 lines -Codechange: mass-renamed SignStruct -> Sign and ss -> si. Now functions and variables all match eachother ------------------------------------------------------------------------ r6049 | truelight | 2006-08-22 16:22:07 +0000 (Tue, 22 Aug 2006) | 5 lines -Codechange: forgot EngineRenew in r6047 -Codechange: cleaned up the EngineRenew code a bit (coding style mostly) -Codechange: forgot the correct comment in station_cmd -Codechange: move pool-stuff to engine.h, like we always do ------------------------------------------------------------------------ r6048 | truelight | 2006-08-22 15:39:22 +0000 (Tue, 22 Aug 2006) | 2 lines -Codechange: all InitializeXXX are plural, just not Depot ------------------------------------------------------------------------ r6047 | truelight | 2006-08-22 15:33:35 +0000 (Tue, 22 Aug 2006) | 7 lines -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones -Codechange: use IsValidXXX where ever possible Note: both changes to prepare for new pool system, which needs those changes. For every pool there are 2 ugly lines, which will be removed when done implementing new pool system. Based on FS#13 by blathijs, partly implemented. ------------------------------------------------------------------------ r6046 | belugas | 2006-08-22 15:23:25 +0000 (Tue, 22 Aug 2006) | 4 lines CodeChange : Rename WWT_5 Widget type to WWT_LABEL : a centered label CodeChange : Move almost all fixed strings from ON_PAINT event to Widget array using WWT_LABEL. Feature : All "Select Refit Cargo" are now centered, instead of been left aligned ------------------------------------------------------------------------ r6045 | rubidium | 2006-08-22 14:38:37 +0000 (Tue, 22 Aug 2006) | 2 lines -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct. ------------------------------------------------------------------------ r6044 | miham | 2006-08-22 13:57:51 +0000 (Tue, 22 Aug 2006) | 5 lines WebTranslator2 update to 2006-08-22 15:57:27 danish - 13 fixed by Bjarni (3), trenskow (10) french - 1 fixed by glx (1) hungarian - 1 fixed by miham (1) ------------------------------------------------------------------------ r6043 | truelight | 2006-08-22 12:15:51 +0000 (Tue, 22 Aug 2006) | 2 lines -Codechange: use wrapper if they are available ------------------------------------------------------------------------ r6042 | miham | 2006-08-21 21:49:44 +0000 (Mon, 21 Aug 2006) | 6 lines WebTranslator2 update to 2006-08-21 23:49:18 french - 2 fixed by glx (2) german - 49 fixed by chu (49) polish - 1 fixed by meush (1) portuguese - 3 fixed by izhirahider (3) ------------------------------------------------------------------------ r6041 | truelight | 2006-08-21 18:18:02 +0000 (Mon, 21 Aug 2006) | 2 lines -Fix r6040: forgot to declare a function in viewport.c ------------------------------------------------------------------------ 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) ------------------------------------------------------------------------