------------------------------------------------------------------------ r1506 | dominik | 2005-01-14 14:56:50 +0000 (Fri, 14 Jan 2005) | 2 lines Fix: [ 1102275 ] Game crashed when clicking "new face" or "company color" twice ------------------------------------------------------------------------ r1505 | celestar | 2005-01-14 09:36:29 +0000 (Fri, 14 Jan 2005) | 1 line -Fix: Refit engine button is now disabled when cargo capacity equals zero ------------------------------------------------------------------------ r1504 | celestar | 2005-01-14 09:20:12 +0000 (Fri, 14 Jan 2005) | 1 line enummed town ratings (Jango) ------------------------------------------------------------------------ r1503 | miham | 2005-01-14 00:14:13 +0000 (Fri, 14 Jan 2005) | 15 lines Added feature: o allows users to setup the production values of the rawmaterial producing industries in the editor Modified: o ttd.h - added CT_INVALID for 0xFF cargo type o english.txt - added 1 string o industry_gui.c - the feature itself o window.h - added compile asserts to the structs which checks whether their sizes are smaller than WINDOW_CUSTOM_SIZE Thanks: o Darkvater to bother me to constantly improve the patch o Various users at #openttd for testing ------------------------------------------------------------------------ r1502 | darkvater | 2005-01-13 20:46:39 +0000 (Thu, 13 Jan 2005) | 2 lines -Fix: [1101889] Crash under windows... stupid typo in player_gui.c ^ should've been & -Fix: in multiplayer clientlist can only be opened once ------------------------------------------------------------------------ r1500 | celestar | 2005-01-13 17:23:24 +0000 (Thu, 13 Jan 2005) | 1 line -Feature: Train window shows now the number of vehicles per row (mpetrov) ------------------------------------------------------------------------ r1499 | celestar | 2005-01-13 17:06:10 +0000 (Thu, 13 Jan 2005) | 1 line -Fix: Order tooltip now explains the ctrl+click scroll. [1101412 / 1097043] (mpetrov) ------------------------------------------------------------------------ r1498 | Celestar | 2005-01-13 16:55:17 +0000 (Thu, 13 Jan 2005) | 1 line -Feature: Addded keyboard shortcuts for the order window ------------------------------------------------------------------------ r1497 | darkvater | 2005-01-13 16:50:20 +0000 (Thu, 13 Jan 2005) | 2 lines -Fix: [1101179] Crash if generating land while industry window is open. This also happened for towns and the land information window -Added DeleteWindowByClass() function that deletes all windows of a given class ------------------------------------------------------------------------ r1496 | darkvater | 2005-01-13 16:28:47 +0000 (Thu, 13 Jan 2005) | 3 lines -Fix: highscore no longer crashes in network games with a dedicated server. At the end of the game (can only be set by the server) the highscore is shown for the top5 companies of that game -Fix: fixed some compiler warnings -Added PF_NETWORK_ONLY flag to settings. Such a setting can only be modified in a network game. ------------------------------------------------------------------------ r1495 | celestar | 2005-01-13 09:55:32 +0000 (Thu, 13 Jan 2005) | 3 lines -Fix: Loan does not count against the company value -Feature: New companies receive a 5-year protection period ------------------------------------------------------------------------ r1494 | tron | 2005-01-12 22:10:50 +0000 (Wed, 12 Jan 2005) | 4 lines Give GetNumberBasedOnSeed() a bit more sane name: SeedChance() Add SeedChanceBias() which subtracts a bias from SeedChance() to reduce code duplication While touching the lines anyway sprinkle a bit holy ANSI water (static before inline) and move assignments in the conditions of ifs before the ifs ------------------------------------------------------------------------ r1493 | celestar | 2005-01-12 22:09:21 +0000 (Wed, 12 Jan 2005) | 8 lines -Codechange: Removed redundancy in the order GUI. Currently we had most of the code written 4 - 8 times in the code. This currently causes the "non-stop" button to appear for all vehicles, which is disabled all the time. Don't report this as a bug please. This is (hopefully) the first patch in a joint effort to simplify the order system ------------------------------------------------------------------------ r1492 | tron | 2005-01-12 21:38:49 +0000 (Wed, 12 Jan 2005) | 1 line Reduce strcpy(, "") follwed by strcat() to just strcpy() (Jango) ------------------------------------------------------------------------ r1491 | tron | 2005-01-12 21:33:43 +0000 (Wed, 12 Jan 2005) | 1 line Fix bracing style and indentation (Jango) ------------------------------------------------------------------------ r1490 | tron | 2005-01-12 21:11:26 +0000 (Wed, 12 Jan 2005) | 1 line Restore original town name generation behavior for german and hungarian (Jango) ------------------------------------------------------------------------ r1489 | truelight | 2005-01-12 16:33:33 +0000 (Wed, 12 Jan 2005) | 3 lines -Fix: You fix a GCC warning, you get a MSVC warning.. now fixed both (which compiler do we break this time?) ------------------------------------------------------------------------ r1488 | truelight | 2005-01-12 11:54:51 +0000 (Wed, 12 Jan 2005) | 3 lines -Fix: fixed some spelling mistakes (tnx to Tron) -Fix: fixed some compiler-warnings ------------------------------------------------------------------------ r1487 | darkvater | 2005-01-12 11:50:41 +0000 (Wed, 12 Jan 2005) | 1 line -Fix: [1100736] wrong tooltip for place desert button ------------------------------------------------------------------------ r1486 | truelight | 2005-01-12 11:21:28 +0000 (Wed, 12 Jan 2005) | 3 lines -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for dynamic arrays ------------------------------------------------------------------------ r1485 | darkvater | 2005-01-12 00:50:08 +0000 (Wed, 12 Jan 2005) | 2 lines -Fix: [1031451] Catchment area shows when buying sign. Catchment area wasn't reset when road station window was unselected -Fix: small GUI glitch in terraform toolbar ------------------------------------------------------------------------ r1484 | darkvater | 2005-01-11 23:39:21 +0000 (Tue, 11 Jan 2005) | 1 line -Fix: [1099197] scrolling through console sometimes crashed the whole game. Also added MarkWholeScreenDirty() to have redrawing of console resize instant (sign_de) ------------------------------------------------------------------------ r1483 | truelight | 2005-01-11 15:52:18 +0000 (Tue, 11 Jan 2005) | 3 lines -Fix: don't close a socket if it is already closed (windows doesn't like it :() (partly tnx to tamlin) ------------------------------------------------------------------------ r1481 | celestar | 2005-01-11 12:15:08 +0000 (Tue, 11 Jan 2005) | 1 line -Fix: [ 1099891 ] Added a return in DispatchLeftClickEvent which prevents reading of free'd memory (tamlin) ------------------------------------------------------------------------ r1479 | darkvater | 2005-01-11 00:54:06 +0000 (Tue, 11 Jan 2005) | 4 lines -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu) -Added endgame score on 1 jan 2051 where you are added to the highscore if sufficiently large points have been accumulated. Game is paused while -These values are saved in hs.dat; added read/write functions for it -Added code to delete all windows to show charts. There is one issue left: somehow a news-gui pops up in front of the the chart at the end of the game. ------------------------------------------------------------------------ r1478 | darkvater | 2005-01-11 00:24:27 +0000 (Tue, 11 Jan 2005) | 2 lines -Fix: [1099195] mouse-wheel in train replace window. Scrollbar1 and Scrollbar2 now work independently. You can only scroll on list and scrollbar itself; scrollbar must be next widget of the list. -Fix: updated the few gui's that didn't have the scrollbar right after the listbox. ------------------------------------------------------------------------ r1477 | darkvater | 2005-01-10 22:56:20 +0000 (Mon, 10 Jan 2005) | 1 line -Fix: finally zooming in/out always works. The problem was that the zoomed in/out coordinates were used for checking if the area was a zoomable viewport in the not zoomed in/out position. The chances were high that there was a window. ------------------------------------------------------------------------ r1476 | darkvater | 2005-01-10 22:36:11 +0000 (Mon, 10 Jan 2005) | 1 line -Fix: [1099209] Catchment area with drag&drop stations (Celestar) ------------------------------------------------------------------------ r1475 | tron | 2005-01-10 22:14:35 +0000 (Mon, 10 Jan 2005) | 1 line Fix some more signed/unsigned comparison warnings ------------------------------------------------------------------------ r1474 | celestar | 2005-01-10 21:56:02 +0000 (Mon, 10 Jan 2005) | 1 line Added some gcc flags in the Makefile ------------------------------------------------------------------------ r1472 | darkvater | 2005-01-10 21:52:35 +0000 (Mon, 10 Jan 2005) | 1 line -Fix: correct error message for when trying to build a railroad station over a bus/truck/etc-station. ------------------------------------------------------------------------ r1471 | darkvater | 2005-01-10 20:53:18 +0000 (Mon, 10 Jan 2005) | 2 lines -Alternate icon added, made by Dominik -VS6 project file updated (bociusz) ------------------------------------------------------------------------ r1470 | tron | 2005-01-10 19:27:38 +0000 (Mon, 10 Jan 2005) | 1 line Revert r1457, this warning option was introduced with gcc 3.4 ------------------------------------------------------------------------ r1469 | truelight | 2005-01-10 19:14:05 +0000 (Mon, 10 Jan 2005) | 2 lines -Fix: missed one in last commit ------------------------------------------------------------------------ r1468 | truelight | 2005-01-10 19:08:25 +0000 (Mon, 10 Jan 2005) | 2 lines -Fix: really old maps do load again (Darkvater / TrueLight) ------------------------------------------------------------------------ r1467 | Celestar | 2005-01-10 16:35:20 +0000 (Mon, 10 Jan 2005) | 1 line Fixed a nasty bug where one could build one station OVER the other ------------------------------------------------------------------------ r1466 | darkvater | 2005-01-10 14:56:26 +0000 (Mon, 10 Jan 2005) | 1 line -Fix: oops, depot windows can of course also scroll horizontally. Thanks si-m1. ------------------------------------------------------------------------ r1465 | darkvater | 2005-01-10 14:43:00 +0000 (Mon, 10 Jan 2005) | 1 line -Fix: [1099101] starting year patch goes out of range. Clamped year between 1920-2090 as wel as adding defines for it. ------------------------------------------------------------------------ r1464 | darkvater | 2005-01-10 14:36:08 +0000 (Mon, 10 Jan 2005) | 1 line -Fix: [1099106] Resizeable portion of bus/air/rail depots window unclickable ------------------------------------------------------------------------ r1463 | darkvater | 2005-01-10 14:24:40 +0000 (Mon, 10 Jan 2005) | 1 line -Fix: [1099451] Game crashes after the click on Rename (see also Bug 10992). There was no check for non-selected engine ------------------------------------------------------------------------ r1460 | darkvater | 2005-01-10 12:14:15 +0000 (Mon, 10 Jan 2005) | 1 line -Fix: [1099225] Bug Fix - Vehicle Lists not updated at Acqusition (thx tamlin and mpetrov) This also fixes some bug but can't find i right now. ------------------------------------------------------------------------ r1458 | darkvater | 2005-01-10 10:38:02 +0000 (Mon, 10 Jan 2005) | 1 line -Fix: remove byte *s again for windows. ------------------------------------------------------------------------ r1457 | tron | 2005-01-10 09:33:18 +0000 (Mon, 10 Jan 2005) | 1 line Make Darvater happy: -Wdeclaration-after-statement ------------------------------------------------------------------------ r1456 | tron | 2005-01-10 08:25:43 +0000 (Mon, 10 Jan 2005) | 1 line Simplify isWagon(), make it static and give it a canonical name (IsWagon) ------------------------------------------------------------------------ r1455 | miham | 2005-01-10 07:26:19 +0000 (Mon, 10 Jan 2005) | 1 line Fixed spritecache.c to compile ------------------------------------------------------------------------ r1454 | darkvater | 2005-01-10 01:50:17 +0000 (Mon, 10 Jan 2005) | 1 line -Fix: small warnings in spritecache.c ------------------------------------------------------------------------ r1453 | dominik | 2005-01-10 01:14:26 +0000 (Mon, 10 Jan 2005) | 3 lines Feature: MD5 hash check for TTD files The original TTD files are now checked with a MD5 sum to determine which version of the grf files is used and to warn about possible file corruptions. (Thanks to ledow for the original patch) ------------------------------------------------------------------------ r1452 | miham | 2005-01-09 21:39:49 +0000 (Sun, 09 Jan 2005) | 1 line Fixed missing option from settings.c (Simen Graaten) ------------------------------------------------------------------------ r1451 | tron | 2005-01-09 21:25:44 +0000 (Sun, 09 Jan 2005) | 1 line Fix some of the signed/unsigned comparison warnings ------------------------------------------------------------------------ r1450 | miham | 2005-01-09 20:45:07 +0000 (Sun, 09 Jan 2005) | 1 line Updated norwegian townname generation (Simen Graaten) ------------------------------------------------------------------------ r1449 | darkvater | 2005-01-09 18:59:16 +0000 (Sun, 09 Jan 2005) | 2 lines -Fix: signed/unsigned error on windows -Change: Makefile added -Wsign-compare flag ------------------------------------------------------------------------ r1448 | truelight | 2005-01-09 18:49:18 +0000 (Sun, 09 Jan 2005) | 5 lines -Fix: The current_order of a vehicle is now correctly saved (caused massive desyncs) Warning: savegames which are made with the nightly of 08-01-2005 will NO LONGER work!! ------------------------------------------------------------------------ r1447 | tron | 2005-01-09 17:55:11 +0000 (Sun, 09 Jan 2005) | 1 line Move TILE_ADD(), TILE_ADDXY() and SafeTileAdd() to map.[ch] and make the latter map size agnostic ------------------------------------------------------------------------ r1445 | truelight | 2005-01-09 16:02:06 +0000 (Sun, 09 Jan 2005) | 6 lines -Fix: reversing a train also reverses the UP and DOWN status for the realistic acceleration calculation -Fix: there was a big bug in setting the UP and DOWN flags making it easy possible for a overloaded train to go up a mountain. This is no longer possible. They will hang at a certain height ------------------------------------------------------------------------ r1444 | truelight | 2005-01-09 14:45:19 +0000 (Sun, 09 Jan 2005) | 5 lines -Fix: fixed weight for double-head trains (and with that the acceleration) (now maglev lvl4 can reach their top speed, and are faster than lvl3) (Tnx to Darkvater :)) -Fix: Buy Vehicle GUI now shows HPs bigger than 32000 correctly ------------------------------------------------------------------------ r1443 | miham | 2005-01-09 14:07:59 +0000 (Sun, 09 Jan 2005) | 1 line Added feature that users are able to place multiple accepting industies nearby in the editor mode if the appropriate patches are set ------------------------------------------------------------------------ r1441 | celestar | 2005-01-09 10:04:30 +0000 (Sun, 09 Jan 2005) | 1 line Fixed a couple of warnings, and removed a pointless assert ------------------------------------------------------------------------ r1440 | celestar | 2005-01-09 08:49:40 +0000 (Sun, 09 Jan 2005) | 5 lines -Feature: Allows more flexible airport layouts now, as the number of terminals in every group can be freely chosen -Codechange: AT_OILRIG is now 15, so that new airports can be added easily. ------------------------------------------------------------------------ r1439 | miham | 2005-01-09 01:11:01 +0000 (Sun, 09 Jan 2005) | 2 lines Daily langfile updates [except latvian for non-iso8859-1 chars] (semi-automatic) The last patch (norwegian townnames was from Simen Graaten ------------------------------------------------------------------------ r1438 | miham | 2005-01-09 00:17:01 +0000 (Sun, 09 Jan 2005) | 1 line Added norwegian townnames ------------------------------------------------------------------------ r1437 | darkvater | 2005-01-08 23:59:49 +0000 (Sat, 08 Jan 2005) | 1 line -Fix: Safetileadd preprocessor magic is the same as for GCC and no longer extern ------------------------------------------------------------------------ r1435 | dominik | 2005-01-08 20:55:21 +0000 (Sat, 08 Jan 2005) | 2 lines Fix: [ 1094092 ] Toolbars accessible via keyboard in spectator mode ------------------------------------------------------------------------ r1434 | dominik | 2005-01-08 19:34:00 +0000 (Sat, 08 Jan 2005) | 2 lines Fix: [ 1098553 ] Crash when all vehicles from a vehicles per station list had been removed ------------------------------------------------------------------------ r1432 | truelight | 2005-01-08 15:31:20 +0000 (Sat, 08 Jan 2005) | 2 lines -Fix: I seem to be unable to revert a simple file :s ------------------------------------------------------------------------ r1431 | truelight | 2005-01-08 15:28:16 +0000 (Sat, 08 Jan 2005) | 2 lines -Fix: oeps, I added my personal Makefile in the last commit :( ------------------------------------------------------------------------ r1430 | truelight | 2005-01-08 15:26:58 +0000 (Sat, 08 Jan 2005) | 2 lines -Fix: starting openttd with -g now acts normal ------------------------------------------------------------------------ r1429 | truelight | 2005-01-08 12:47:26 +0000 (Sat, 08 Jan 2005) | 4 lines Change: bumped savegame to revision 5. - Now orders are bigger - Now _map2 is official 16 bits ------------------------------------------------------------------------ r1428 | miham | 2005-01-08 12:03:21 +0000 (Sat, 08 Jan 2005) | 1 line Compiling with MSVC6 documentation update (from the wiki) [Bociusz] ------------------------------------------------------------------------ r1427 | bjarni | 2005-01-08 10:38:07 +0000 (Sat, 08 Jan 2005) | 1 line fixed issue where the wrong sprite could be used if autoreplacing between single and multiheaded trains ------------------------------------------------------------------------ r1426 | truelight | 2005-01-08 09:48:08 +0000 (Sat, 08 Jan 2005) | 5 lines -Codechange: cleaned up the reference code in the saveload routines -Codechange: removed next_in_chain_old, and saved ->next for Vehicles (and bumped savegame revision for that to version 4.4) -Codechange: Added _sl.full_version, which has both major and minor version ------------------------------------------------------------------------ r1425 | celestar | 2005-01-08 09:40:22 +0000 (Sat, 08 Jan 2005) | 1 line Added hotkeys for dock and airport toolbar ------------------------------------------------------------------------ r1424 | dominik | 2005-01-08 09:24:15 +0000 (Sat, 08 Jan 2005) | 2 lines Add dynamite to landscaping toolbar (hotkey 'D') ------------------------------------------------------------------------ r1423 | dominik | 2005-01-08 09:09:11 +0000 (Sat, 08 Jan 2005) | 2 lines Fix: [ 1084074 ] Delayed news messages ------------------------------------------------------------------------ r1422 | dominik | 2005-01-08 08:29:12 +0000 (Sat, 08 Jan 2005) | 2 lines Fixed linux compiling, that was broken in r1420 ------------------------------------------------------------------------ r1421 | bjarni | 2005-01-08 01:05:24 +0000 (Sat, 08 Jan 2005) | 1 line improved autoreplace multiheaded trains. It now remembers the current heading for an engine instead of turning all of them like the first one and the last the other way ------------------------------------------------------------------------ r1420 | darkvater | 2005-01-08 00:48:10 +0000 (Sat, 08 Jan 2005) | 1 line -Fix: Console alias, load_game functionality and load fix (sign_de) ------------------------------------------------------------------------ r1419 | bjarni | 2005-01-08 00:22:11 +0000 (Sat, 08 Jan 2005) | 1 line fixed issue where autoreplacing dualheaded trains turned the last engine the wrong way ------------------------------------------------------------------------ r1418 | darkvater | 2005-01-07 23:59:59 +0000 (Fri, 07 Jan 2005) | 1 line -Feature: [1098254] (dis)Allow Shares. Add patch options to allow buying/selling of shares (Hackykid) ------------------------------------------------------------------------