------------------------------------------------------------------------ r1553 | tron | 2005-01-17 13:21:10 +0000 (Mon, 17 Jan 2005) | 1 line Check which gcc version is present and only set availible compiler flags ------------------------------------------------------------------------ r1552 | tron | 2005-01-17 13:13:11 +0000 (Mon, 17 Jan 2005) | 1 line Make ottd compile on Zeta ------------------------------------------------------------------------ r1551 | tron | 2005-01-17 10:17:18 +0000 (Mon, 17 Jan 2005) | 1 line Silence a warning and simplify a preprocessor check ------------------------------------------------------------------------ r1550 | tron | 2005-01-17 09:43:02 +0000 (Mon, 17 Jan 2005) | 1 line Remove useless function declaration ------------------------------------------------------------------------ r1549 | tron | 2005-01-17 09:41:46 +0000 (Mon, 17 Jan 2005) | 4 lines Clean up some functions: uint tile -> TileIndex tile if () cascade -> switch () ------------------------------------------------------------------------ r1548 | tron | 2005-01-17 09:16:43 +0000 (Mon, 17 Jan 2005) | 2 lines Move AI_PATHFINDER_IS_ROAD from ai.h to ai_pathfinder.c to avoid global namespace pollution, turn it into a function called IsRoad and improve the commments a bit ------------------------------------------------------------------------ r1547 | darkvater | 2005-01-16 18:19:33 +0000 (Sun, 16 Jan 2005) | 5 lines -Feature: windows dedicated (if anyone would run that, but ok), is now functioning correctly. There is no other way but to create a new thread, but that's only MS braindeadness -Fix: [1103113] font size changing. Dedicated server did not have code filtering, 'tab' could result in bigger fonts -Fix: [1103069] console backspace key with ded server; fixed due to normal console handling -Fix: [1101963] console in dedicated server; see above -Fix: dedicated server also writes to log file if active ------------------------------------------------------------------------ r1546 | truelight | 2005-01-16 17:19:37 +0000 (Sun, 16 Jan 2005) | 2 lines -Fix: possible buffer-overflow in network ------------------------------------------------------------------------ r1545 | tron | 2005-01-16 14:50:01 +0000 (Sun, 16 Jan 2005) | 3 lines Add TileHeight() which returns the height (not multiplied by 8) Replace some direct references to _map_type_and_height with TileHeight()/IsTileType() ------------------------------------------------------------------------ r1544 | truelight | 2005-01-16 14:42:53 +0000 (Sun, 16 Jan 2005) | 4 lines -Fix: SwapOrder did not use AssignOrder, which caused the saveroutine to crash from time to time -Codechange: added const before 'Order *' where possible ------------------------------------------------------------------------ r1543 | dominik | 2005-01-16 14:10:13 +0000 (Sun, 16 Jan 2005) | 2 lines Fix: [ 1101906 ] Configure Patches window text overflow ------------------------------------------------------------------------ r1542 | tron | 2005-01-16 14:06:22 +0000 (Sun, 16 Jan 2005) | 1 line Rename TileHeight to TilePixelHeight, because this is what it actually returns ------------------------------------------------------------------------ r1541 | dominik | 2005-01-16 13:59:07 +0000 (Sun, 16 Jan 2005) | 2 lines Fix: [ 1100767 ] fast forward in main menu ------------------------------------------------------------------------ r1540 | darkvater | 2005-01-16 12:40:25 +0000 (Sun, 16 Jan 2005) | 1 line -Fix: since grf files are reopened on every load/new game, close the old opened to fix stale filehandles (thx tamlin) ------------------------------------------------------------------------ r1539 | darkvater | 2005-01-16 12:30:52 +0000 (Sun, 16 Jan 2005) | 1 line -Fix: [1103271] free'd memory used. Moved w->wndproc(w, &e) to end of function. Thanks for finding this tamlin. ------------------------------------------------------------------------ r1538 | darkvater | 2005-01-16 12:29:52 +0000 (Sun, 16 Jan 2005) | 1 line -Feature: [988816] Disable servicing when breakdowns set to none (jaguar7) ------------------------------------------------------------------------ r1537 | darkvater | 2005-01-16 12:14:52 +0000 (Sun, 16 Jan 2005) | 1 line -Fix: Close all and any open filehandles open at shutdown (tamlin) ------------------------------------------------------------------------ r1536 | tron | 2005-01-16 11:24:58 +0000 (Sun, 16 Jan 2005) | 2 lines Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts ------------------------------------------------------------------------ r1535 | truelight | 2005-01-16 11:18:17 +0000 (Sun, 16 Jan 2005) | 2 lines -Fix: bah, I hate to be wrong.. oh, euh, wrong copy/paste from TPFMode 1 ------------------------------------------------------------------------ r1534 | tron | 2005-01-16 11:04:45 +0000 (Sun, 16 Jan 2005) | 1 line Use memmove() instead of memcpy() when copying overlapping memory (tamlin) ------------------------------------------------------------------------ r1533 | tron | 2005-01-16 09:51:56 +0000 (Sun, 16 Jan 2005) | 1 line Turn an if cascade into a switch and move a const array to the only location where it is used ------------------------------------------------------------------------ r1532 | darkvater | 2005-01-16 00:23:19 +0000 (Sun, 16 Jan 2005) | 1 line -Fix: [1103078] default service period patch options are now cast to 0 with right variable size. ------------------------------------------------------------------------ r1531 | darkvater | 2005-01-15 21:41:49 +0000 (Sat, 15 Jan 2005) | 1 line -Feature: [1039061] Swiss town-names (vulvulune) ------------------------------------------------------------------------ r1530 | bjarni | 2005-01-15 21:30:16 +0000 (Sat, 15 Jan 2005) | 1 line Makefilefix: now the binary never links to SDL if DEDICATED is set. Thanks to igor2code for making me aware of this issue even through I fixed it in a different way than his patch did. (I made dedicated never link to sdl, nomatter what makefile.config says) ------------------------------------------------------------------------ r1529 | darkvater | 2005-01-15 20:43:01 +0000 (Sat, 15 Jan 2005) | 1 line -Feature: [1090950] Adding 16:10 resolutions for mainly laptops (doode) ------------------------------------------------------------------------ r1528 | truelight | 2005-01-15 20:10:44 +0000 (Sat, 15 Jan 2005) | 2 lines -Fix: forgot to init a variable ------------------------------------------------------------------------ r1527 | truelight | 2005-01-15 20:09:16 +0000 (Sat, 15 Jan 2005) | 11 lines -Add: RCon (Remote Connection). A server can set: 'set rcon_pw ' Which enables rcon. A client can now do: 'rcon ""' The command will be executed on the server. (guru3) -Fix: 'kick 1' did crash dedicated servers -Fix: server password is now correctly saved !!Warning!!: do not give your rcon password to people you do not thrust! ------------------------------------------------------------------------ r1526 | darkvater | 2005-01-15 19:17:45 +0000 (Sat, 15 Jan 2005) | 1 line -Fix: [1103027] Minor changes for the lobby GUI (widen window) (bociusz) ------------------------------------------------------------------------ r1525 | truelight | 2005-01-15 19:06:22 +0000 (Sat, 15 Jan 2005) | 9 lines -Codechange: rewrote the _order_array, now it can be made dynamic. -Codechange: renamed all 'schedule' stuff to 'order(list)' -Codechange: moved all order-stuff to order_cmd.c / order.h -Codechange: vehicles that share orders are now linked to eachother with next_shared/prev_shared in Vehicle Developers: please use AssignOrder to assign data to an order. If not, you _WILL_ make the save-routine to assert! ------------------------------------------------------------------------ r1524 | darkvater | 2005-01-15 16:38:10 +0000 (Sat, 15 Jan 2005) | 1 line -"Feature": when windows exception tracker is enabled (release builds) and the game crashes for any reason any active log file is closed first. This ensures the log file and ingame debug messages can be used to debug a problem. Any *nix versions are welcome ------------------------------------------------------------------------ r1523 | darkvater | 2005-01-15 15:48:05 +0000 (Sat, 15 Jan 2005) | 2 lines -Fix: somehow mousewheel was disabled on windows using SDL; reenabled again -Fix: added missing CDECL to ellipsis functions and changed VS6 project file to use _cdecl calling conventions (thx tamlin) ------------------------------------------------------------------------ r1522 | darkvater | 2005-01-15 10:04:04 +0000 (Sat, 15 Jan 2005) | 1 line -Fix: warning players.c; forgot return type. Damn, makefile is too strict ;) (Thx Tron) ------------------------------------------------------------------------ r1521 | celestar | 2005-01-15 09:28:08 +0000 (Sat, 15 Jan 2005) | 6 lines -Fix: Ship Vehicle Lists are now redrawn correctly -Codechange: added some const to last commit -Codechange: Ship and Aircraft lists are now update on order change, not on new day ------------------------------------------------------------------------ r1520 | tron | 2005-01-15 08:58:31 +0000 (Sat, 15 Jan 2005) | 1 line Trim 134 (!) lines with trailing whitespace ): ------------------------------------------------------------------------ r1519 | celestar | 2005-01-15 08:40:32 +0000 (Sat, 15 Jan 2005) | 1 line -Fix: [1102776], [1099535] Aircraft vehicle lists are now redrawn when an aircraft arrives in the depot. Station-specific vehicle lists are now redrawn daily as well (not only the master list) ------------------------------------------------------------------------ r1518 | darkvater | 2005-01-15 01:52:23 +0000 (Sat, 15 Jan 2005) | 2 lines -Fix: server issue where some company names were wrong -Fix: Highscore troubles; accessing members of deleted window ------------------------------------------------------------------------ r1516 | darkvater | 2005-01-15 00:46:45 +0000 (Sat, 15 Jan 2005) | 3 lines -Cheating players do not get their names added to the highscore table/file -Fixed issue where highscore window would not come up after endgame screen -Fix: VS6 compiles once again (braindead compiler) ------------------------------------------------------------------------ r1515 | darkvater | 2005-01-15 00:42:01 +0000 (Sat, 15 Jan 2005) | 1 line -Removed the 'close ALL windows' from the toolbar since shift+del does this. ------------------------------------------------------------------------ r1514 | darkvater | 2005-01-14 22:03:09 +0000 (Fri, 14 Jan 2005) | 1 line -Fix: [1092474] little red box in scenario editor (Celestar). Error box is also shown in scenario editor for terraforming, thus solving the eternally-pulsating-tile problem. ------------------------------------------------------------------------ r1513 | truelight | 2005-01-14 21:59:31 +0000 (Fri, 14 Jan 2005) | 4 lines -Fix: glitch in revision 1510 -Fix: MSVC6 project file update (bociusz) -Fix: MSVC6 default language is now English (UK), no longer Swedish (bociusz) ------------------------------------------------------------------------ r1512 | tron | 2005-01-14 21:58:48 +0000 (Fri, 14 Jan 2005) | 1 line Replace probably incorrect test of loading_count with probably correct test of loaded_count ------------------------------------------------------------------------ r1510 | truelight | 2005-01-14 21:47:35 +0000 (Fri, 14 Jan 2005) | 4 lines -Add: Improved Network Lobby GUI: (bociusz) - Added green dot if company income is positive (else red dot) - Added lock icon if company is password protected ------------------------------------------------------------------------ r1509 | tron | 2005-01-14 19:44:42 +0000 (Fri, 14 Jan 2005) | 1 line Const correctness and add static where appropriate while touching the lines anyway ------------------------------------------------------------------------ r1508 | tron | 2005-01-14 19:41:24 +0000 (Fri, 14 Jan 2005) | 1 line Remove duplicate declarations and include proper headers where necessary ------------------------------------------------------------------------ r1507 | tron | 2005-01-14 19:39:06 +0000 (Fri, 14 Jan 2005) | 1 line Remove unreachable code ------------------------------------------------------------------------ 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) ------------------------------------------------------------------------