1
0
Fork 0

Commit Graph

  • 0babca183e (svn r6139) -Codechange: strings are StringID. This should be changed in strings.h as well, but you would need to include openttd.h and that opens a whole new can of worms. Darkvater 2006-08-26 14:39:05 +0000
  • 5eb6d9202c (svn r6138) - Remove stdafx.c since we do not use it. Darkvater 2006-08-26 14:36:19 +0000
  • 602c0d40b3 (svn r6137) -Codechange: some very minor cleanups: - Start using DeleteXXX for every pool item, not manually doing it - Use some wrapper to improve logic - Rewrote some pieces to improve logic truelight 2006-08-26 14:22:54 +0000
  • be737b80d3 (svn r6136) -Fix: _cur_year wasn't converting when reading pre-31 savegames, causing nasty desyncs -Fix: _date, which is a Date, which is int32, was saved as uint32 truelight 2006-08-26 11:06:54 +0000
  • de56b3c57d (svn r6135) WebTranslator2 update to 2006-08-26 09:44:54 dutch - 28 fixed by habell (28) german - 5 changed by Neonox (5) portuguese - 2 fixed by izhirahider (2) miham 2006-08-26 07:45:18 +0000
  • a4d69aa9f7 (svn r6131) -Codechange : Complete all missing _ttdpatch_flags entries -Feature : both unifiedmaglevmode are now set. Maglev and monorail are not allowed to run on each other tracks and will not be. Setting those flags will allow grfsets as the Norvegian one to be loaded -Codechange : link the TTDPatch's irregularstations with OTTD's nonuniform_stations -Codechange : Reformat the whole array (thanks Rubidium, it sure looks better now) belugas 2006-08-25 19:18:16 +0000
  • 1ca21fb8d9 (svn r6122) Fix an off-by-two error in r6108: it should be the index for the last element in the array tron 2006-08-25 12:58:52 +0000
  • bd80b4fd19 (svn r6117) -Fix r6097: on mingw it is normal that both / as \ are accepted as input -Fix r6096: detect for PATHSEP on WIN32 or WIN64, not UNIX (Windows compilers define either one, while other compilers don't define a thing) truelight 2006-08-25 12:26:34 +0000
  • e095b7441f (svn r6114) WebTranslator2 update to 2006-08-25 10:49:08 american - 84 fixed by WhiteRabbit (84) german - 3 fixed, 2 changed by chu (5) portuguese - 2 fixed by izhirahider (2) miham 2006-08-25 08:49:32 +0000
  • c9b32982fc (svn r6108) -NewGRF Feature: Implement currencies replacment via grf file. All properties can now be modified i.e: Introduction date for euro conversion Currency name, decimal separator, currency symbol (before or after amount) and the rate compared to the base currency, the british pound belugas 2006-08-25 00:41:10 +0000
  • 0189b8994d (svn r6107) -Fix r6089: add STRGEN preprocessor flag and string.c to strgen vs 80 project Carbon copy of Darkvater's r6105 belugas 2006-08-25 00:35:11 +0000
  • 50645d881e (svn r6105) -Fix r6089: add STRGEN preprocessor flag and string.c to strgen project Darkvater 2006-08-24 22:52:58 +0000
  • 670f191c43 (svn r6104) -Fix: make install did not create a directory for the heightmaps -Fix: make install should not copy scenario as it is an empty map rubidium 2006-08-24 22:04:24 +0000
  • 67af9da593 (svn r6098) -Fix 6097: stupid me.... CHARS! Not strings, for strrchr :( truelight 2006-08-24 15:39:17 +0000
  • d2ca8c197a (svn r6097) -Fix: mingw and cygwin get / from Makefile, where \ is expected. Make exeption code for it (tnx for debug Frostregen) truelight 2006-08-24 15:36:25 +0000
  • e3643e4933 (svn r6096) -Fix: silence a warning on mingw (tnx Frostregen) truelight 2006-08-24 15:21:09 +0000
  • 76bcaba601 (svn r6089) -Backport r6088: added -s (source) and -d (destination) to strgen (Darkvater) truelight 2006-08-24 12:08:25 +0000
  • d14ac4478d (svn r6086) -Fix: InteractiveRandom was not seeded properly resulting in the dedicated server always generating the same map. Thanks to the #openttdcoop team for detecting. rubidium 2006-08-24 10:19:59 +0000
  • e9443f0d7a (svn r6084) -Fix r6073: if we removed MSVC6 support, then why is unittest.dsp still around... truelight 2006-08-24 10:11:32 +0000
  • f74f8010b1 (svn r6083) WebTranslator2 update to 2006-08-24 10:19:06 german - 3 fixed, 1 changed by chu (4) slovak - 82 fixed, 2 changed by lengyel (84) turkish - 3 fixed by jnmbk (3) miham 2006-08-24 08:19:30 +0000
  • 8561879ea6 (svn r6082) -CodeChange : Remove the unneeded table/sprites.h include in newgrf_cargo.h. Set it in genworld_gui.c instead, as it is really needed belugas 2006-08-24 01:25:00 +0000
  • 9bb2a97e57 (svn r6081) -Fix(6054) : Silenced a MSVC warning on compiling (thanks MaulinMonkey) belugas 2006-08-23 23:23:14 +0000
  • 909fd71a09 (svn r6079) -Change: size and alignment of random seed input box and randomise button glx 2006-08-23 20:53:53 +0000
  • ad3feef289 (svn r6078) -Fix: forgot one uint16 -> Date conversion. Tnx to #openttdcoop team for detecting and Rubidium for finding the cause. truelight 2006-08-23 20:46:54 +0000
  • 7271896810 (svn r6076) WebTranslator2 update to 2006-08-23 21:57:55 french - 2 changed by glx (2) portuguese - 26 fixed, 3 changed by izhirahider (29) miham 2006-08-23 19:58:17 +0000
  • 62cd33f083 (svn r6073) -We have removed MSVC6 support, so remove strgen and langs project files as well. Darkvater 2006-08-23 18:22:11 +0000
  • dc5c55a819 (svn r6068) -Codechange: Switch PNG and BMP priority for screenshots. This ensures PNG is used by default when available. (hylje) matthijs 2006-08-23 15:30:03 +0000
  • bdc91f54d7 (svn r6064) WebTranslator2 update to 2006-08-23 15:55:27 french - 5 fixed by belugas (4), glx (1) german - 26 fixed, 5 changed by chu (31) turkish - 23 fixed by jnmbk (23) miham 2006-08-23 13:55:56 +0000
  • 7fcc1ec40c (svn r6059) -Fix(r6049): FOR_ALL was not use to not skip invalid items, so really don't skip invalid items :) glx 2006-08-22 22:59:42 +0000
  • 93d5b5a355 (svn r6058) -Fix: Get(Industry|Town)ArraySize could never return 0 Note: _total_towns and _total_industries willb e removed soon, so this 'hack' is okay, for now ;) truelight 2006-08-22 21:17:19 +0000
  • ceb523c29f (svn r6057) -Codechange: made a function GetRandomXXX, that _always_ returns a valid XXX, unless there are none to pick from. Then NULL is returned. truelight 2006-08-22 21:14:45 +0000
  • 3cdabcbbac (svn r6056) -Codechange: don't use a loop what can be done with a simple wrapper truelight 2006-08-22 20:56:08 +0000
  • 5fd9aeb12b (svn r6055) -Codechange: added GetXXXArraySize, which returns HighestID + 1 (or, will do that). It isn't the best name, but we couldn't find any better. This unifies the pool-system even more. truelight 2006-08-22 20:41:26 +0000
  • 2e0d16026b (svn r6054) Change the sign sorter in a similar way as the other sorters: Remember a list of pointers to signs instead of a list of SignIDs - This removes a layer of indirection Also make the sign list static tron 2006-08-22 20:39:18 +0000
  • b23f719ab9 (svn r6053) -Codechange: renamed all IsXXXIndex to IsValidXXXID -Codechange: IsValidXXXID now also checks if XXX is really valid, not if the number is within range Both changes again in preperation of the new mem-pool system, which requires this. IsValidXXXID is not a bit less pretty, but that will be cleaned up after the new mem-pool system truelight 2006-08-22 18:15:17 +0000
  • 1331b4aa9a (svn r6052) -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 truelight 2006-08-22 17:13:49 +0000
  • 88d196dff1 (svn r6051) -Fix r6047: forgot many times a ! :( truelight 2006-08-22 16:59:51 +0000
  • b34d77ca3f (svn r6050) -Codechange: mass-renamed SignStruct -> Sign and ss -> si. Now functions and variables all match eachother truelight 2006-08-22 16:38:50 +0000
  • c0f352670a (svn r6049) -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 truelight 2006-08-22 16:22:07 +0000
  • a4d7fa19c7 (svn r6048) -Codechange: all InitializeXXX are plural, just not Depot truelight 2006-08-22 15:39:22 +0000
  • 0461d89612 (svn r6047) -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. truelight 2006-08-22 15:33:35 +0000
  • 4c2abf1de5 (svn r6046) 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 belugas 2006-08-22 15:23:25 +0000
  • 480af9c917 (svn r6045) -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. rubidium 2006-08-22 14:38:37 +0000
  • 5f4dbbd522 (svn r6044) 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) miham 2006-08-22 13:57:51 +0000
  • d917156820 (svn r6043) -Codechange: use wrapper if they are available truelight 2006-08-22 12:15:51 +0000
  • 9282b29fbc (svn r6042) 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) miham 2006-08-21 21:49:44 +0000
  • 2e0f68014e (svn r6041) -Fix r6040: forgot to declare a function in viewport.c truelight 2006-08-21 18:18:02 +0000
  • 7c6ec91ef7 (svn r6040) -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) truelight 2006-08-21 17:41:04 +0000
  • 0663fdfc1a (svn r6039) -Fix: [newGRF] FS#287 Bugfix for error in NewGRF callback 31 code for aircraft (Mart3p) introduced in rev 5822 bjarni 2006-08-21 16:35:47 +0000
  • 2849e4fea9 (svn r6038) -Codechange: move mousewheel code to event WE_MOUSEWHEEL instead of a general function that handles that -Codechange: use always 'e' for WindowsEvent, neverr 'we' truelight 2006-08-21 14:59:58 +0000
  • 305d6eeaef (svn r6037) -Fix: never allow scrolling the map in the main menu (scroll-settings weren't reset if switched to mainmenu) truelight 2006-08-21 14:59:23 +0000
  • 9ec2fdcbf3 (svn r6036) -Codechange: do not handle SCROLL in a central function, but let windows handle them theirself. Added WE_SCROLL for this. truelight 2006-08-21 14:34:59 +0000
  • 323a3160f7 (svn r6035) -Revert r5900 which supposedly fixed an invalid warning caused by buggy MS software Darkvater 2006-08-21 13:04:13 +0000
  • 94f1f75825 (svn r6032) -Fix: when a farm is gone, remove the fields when it is full grown and should be harvest (not before that) truelight 2006-08-21 09:22:44 +0000
  • 8210772138 (svn r6023) 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) miham 2006-08-20 21:53:56 +0000
  • 2d30e02ba2 (svn r6013) -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. rubidium 2006-08-20 20:21:00 +0000
  • b1e2ae44d6 (svn r6005) -Cleanup: introduce IndustryID and use it -Cleanup: use TownID and StationID for two instances of uint16 rubidium 2006-08-20 19:31:58 +0000
  • 893d4ba9d4 (svn r6002) -Cleanup: remove the now redundant BASE_YEAR constant. rubidium 2006-08-20 19:05:28 +0000
  • 9e755051a1 (svn r6001) -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 truelight 2006-08-20 18:44:26 +0000
  • e5fb66a23f (svn r6000) 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) miham 2006-08-20 18:43:43 +0000
  • 28a0843707 (svn r5999) -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. rubidium 2006-08-20 18:40:57 +0000
  • 5e4667624e (svn r5993) -Fix r5974: a cause-no-warning commit caused a warning ;) (glx) truelight 2006-08-20 17:22:03 +0000
  • f73b17323e (svn r5978) -Add: allow a switch in Makefile.config to disable threads in OpenTTD (no matter what system you are on). Only useful for testing. truelight 2006-08-20 13:48:04 +0000
  • a06d5548eb (svn r5977) -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. truelight 2006-08-20 13:39:33 +0000
  • e159ada7a2 (svn r5975) -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. rubidium 2006-08-20 12:39:17 +0000
  • 5fb6c9e1cc (svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc) truelight 2006-08-20 12:09:32 +0000
  • b83703b215 (svn r5973) -Codechange: md5_append only uses size_t as nbytes param, so use that (michi_cc) truelight 2006-08-20 12:07:27 +0000
  • c07a8613a2 (svn r5972) -Fix: usr strrchr instead of your own function (tnx Darkvater) -Codechange: added some comments and const correctness (Darkvater) truelight 2006-08-20 12:03:39 +0000
  • 2309eeb8de (svn r5971) -Fix: wrong struct in assert_compile (thomasdev) truelight 2006-08-20 11:51:10 +0000
  • 81b96bf881 (svn r5970) -Fix [FS#49]: town-growth removed houses under construction to make way for road. Not wanted behavoir (Rubidium) truelight 2006-08-20 11:41:34 +0000
  • ff36e72422 (svn r5969) -Fix r5968: windows doesn't know strncasecmp, but called it strnicmp (michi_cc) truelight 2006-08-20 11:18:46 +0000
  • cc7680e0f1 (svn r5968) -Feature: add auto-completion in chat-window. It completes Player-Names and Town-Names (that order) using <tab>. Based on FS#28 by egladil. truelight 2006-08-20 10:51:27 +0000
  • 0c3093b25f (svn r5967) -Change: use right alignment for the year in the player's balance window instead of centering (about) 'string width' / 2 from the right edge rubidium 2006-08-20 10:50:23 +0000
  • 5890ea5a71 (svn r5966) -Fix: prevent that the industry placement's terraforming checks can leave the map on the southern side rubidium 2006-08-20 10:45:36 +0000
  • db39da587f (svn r5965) -Feature: FS#261 Catalan Town Names generator (arnau) bjarni 2006-08-20 09:52:15 +0000
  • 5513c6997f (svn r5964) -Feature: FS#131 Slovenian currency (MeusH) bjarni 2006-08-20 09:26:58 +0000
  • 806e8ac359 (svn r5963) WebTranslator2 update to 2006-08-20 09:03:43 french - 7 changed by glx (7) polish - 77 fixed, 18 changed by meush (95) miham 2006-08-20 07:04:04 +0000
  • 18c161de83 (svn r5959) -Change: size selection dropdowns placement in 'Scenario type' window glx 2006-08-19 21:30:40 +0000
  • 33fc532d1b (svn r5955) -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) truelight 2006-08-19 19:45:04 +0000
  • d483243379 (svn r5954) 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) miham 2006-08-19 18:19:41 +0000
  • c5cad41e54 (svn r5953) -Fix: tooltip for FlatLand had wrong color (tnx glx) truelight 2006-08-19 16:33:10 +0000
  • 12dc00aa10 (svn r5952) - struct GRFText{Entry,} are private to newgrf_text.c - use a variable size array instead of another malloc() tron 2006-08-19 16:30:05 +0000
  • 3c79725742 (svn r5951) - 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. Darkvater 2006-08-19 15:24:40 +0000
  • d0c21a1ea7 (svn r5950) -Fix: don't show Vital Windows EVER if you go to GM_MENU (tnx Darkvater) truelight 2006-08-19 12:01:04 +0000
  • f0db352984 (svn r5949) -Fix: vs80 project file was broken (tnx webfreakz) truelight 2006-08-19 11:50:34 +0000
  • aace8968d6 (svn r5948) -Fix: inversed check caused oringal land-generator to put industries on mountains (tnx Darkvater) truelight 2006-08-19 11:28:41 +0000
  • 10b842bddc (svn r5946) -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 truelight 2006-08-19 10:00:30 +0000
  • 83d56d6d79 (svn r5944) -Merge TGP (r5578, r5579, r5724, r5726): -Feature: filter for textboxes to only allow certain patterns (like numbers only) truelight 2006-08-19 09:31:22 +0000
  • ee0daa0a4f (svn r5943) -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) truelight 2006-08-19 09:23:48 +0000
  • 7cfd3eb618 (svn r5934) -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 rubidium 2006-08-17 20:22:35 +0000
  • a178d2600b (svn r5929) WebTranslator2 update to 2006-08-16 19:58:20 czech - 2 fixed by Hadez (2) slovak - 2 fixed by lengyel (2) miham 2006-08-16 17:58:43 +0000
  • d5b6216c3d (svn r5928) -Cleanup: remove ConvertIntDate and use ConvertYMDToDate as ConvertIntDate was only called with Years. rubidium 2006-08-16 12:07:24 +0000
  • dddd90583d (svn r5927) -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. rubidium 2006-08-16 11:49:52 +0000
  • 3cab5f30c0 (svn r5926) -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 rubidium 2006-08-16 11:39:55 +0000
  • 50e96f8ff9 (svn r5925) WebTranslator2 update to 2006-08-16 09:42:57 turkish - 2 fixed by jnmbk (2) miham 2006-08-16 07:43:15 +0000
  • 3f35ae1501 (svn r5924) Revert accidently commited files tron 2006-08-16 06:06:48 +0000
  • fa5564db13 (svn r5923) Fix 'make depend' which was broken in r3574 (it just did nothing) tron 2006-08-16 06:05:44 +0000
  • a0b4a29a57 (svn r5919) -Cleanup: use the type Date when the variable really is a date rubidium 2006-08-15 16:55:40 +0000
  • 1cc6e186f0 (svn r5918) -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. rubidium 2006-08-15 16:49:48 +0000
  • 08fd0bed1f (svn r5917) -Fix: [clone vehicles] FS#275 Bugfix: Cloned Road Vehicles Are Not Refitted To Correct Cargo (Mart3p) bjarni 2006-08-15 15:27:30 +0000