1
0
Fork 0

Commit Graph

  • 5adad6c1b4 (svn r1550) Remove useless function declaration tron 2005-01-17 09:43:02 +0000
  • fb0c3c8061 (svn r1549) Clean up some functions: uint tile -> TileIndex tile if () cascade -> switch () tron 2005-01-17 09:41:46 +0000
  • d4beff7954 (svn r1548) 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 tron 2005-01-17 09:16:43 +0000
  • a1e94b67d5 (svn r1547) -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 darkvater 2005-01-16 18:19:33 +0000
  • 8521367373 (svn r1546) -Fix: possible buffer-overflow in network truelight 2005-01-16 17:19:37 +0000
  • 022b8cea37 (svn r1545) Add TileHeight() which returns the height (not multiplied by 8) Replace some direct references to _map_type_and_height with TileHeight()/IsTileType() tron 2005-01-16 14:50:01 +0000
  • 8e404a26f6 (svn r1544) -Fix: SwapOrder did not use AssignOrder, which caused the saveroutine to crash from time to time -Codechange: added const before 'Order *' where possible truelight 2005-01-16 14:42:53 +0000
  • be5a832db3 (svn r1543) Fix: [ 1101906 ] Configure Patches window text overflow dominik 2005-01-16 14:10:13 +0000
  • ef923fae44 (svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns tron 2005-01-16 14:06:22 +0000
  • b119b6c474 (svn r1541) Fix: [ 1100767 ] fast forward in main menu dominik 2005-01-16 13:59:07 +0000
  • 340a9ab6be (svn r1540) -Fix: since grf files are reopened on every load/new game, close the old opened to fix stale filehandles (thx tamlin) darkvater 2005-01-16 12:40:25 +0000
  • 8efc7866dd (svn r1539) -Fix: [1103271] free'd memory used. Moved w->wndproc(w, &e) to end of function. Thanks for finding this tamlin. darkvater 2005-01-16 12:30:52 +0000
  • 37f56fa324 (svn r1538) -Feature: [988816] Disable servicing when breakdowns set to none (jaguar7) darkvater 2005-01-16 12:29:52 +0000
  • 208a9b8547 (svn r1537) -Fix: Close all and any open filehandles open at shutdown (tamlin) darkvater 2005-01-16 12:14:52 +0000
  • ae796740aa (svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts tron 2005-01-16 11:24:58 +0000
  • d2643dc483 (svn r1535) -Fix: bah, I hate to be wrong.. oh, euh, wrong copy/paste from TPFMode 1 truelight 2005-01-16 11:18:17 +0000
  • efecea001a (svn r1534) Use memmove() instead of memcpy() when copying overlapping memory (tamlin) tron 2005-01-16 11:04:45 +0000
  • 1955371a71 (svn r1533) Turn an if cascade into a switch and move a const array to the only location where it is used tron 2005-01-16 09:51:56 +0000
  • d41a003bcc (svn r1532) -Fix: [1103078] default service period patch options are now cast to 0 with right variable size. darkvater 2005-01-16 00:23:19 +0000
  • 6e07bad728 (svn r1531) -Feature: [1039061] Swiss town-names (vulvulune) darkvater 2005-01-15 21:41:49 +0000
  • 971d844266 (svn r1530) 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) bjarni 2005-01-15 21:30:16 +0000
  • 633786f55e (svn r1529) -Feature: [1090950] Adding 16:10 resolutions for mainly laptops (doode) darkvater 2005-01-15 20:43:01 +0000
  • 1b00f36520 (svn r1528) -Fix: forgot to init a variable truelight 2005-01-15 20:10:44 +0000
  • 24c9e6ff66 (svn r1527) -Add: RCon (Remote Connection). A server can set: 'set rcon_pw <password>' Which enables rcon. A client can now do: 'rcon <password> "<command>"' The command will be executed on the server. (guru3) -Fix: 'kick 1' did crash dedicated servers -Fix: server password is now correctly saved truelight 2005-01-15 20:09:16 +0000
  • e6d31cb89c (svn r1526) -Fix: [1103027] Minor changes for the lobby GUI (widen window) (bociusz) darkvater 2005-01-15 19:17:45 +0000
  • d275109e79 (svn r1525) -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 truelight 2005-01-15 19:06:22 +0000
  • 732c362dea (svn r1524) -"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 darkvater 2005-01-15 16:38:10 +0000
  • ef3b9161f8 (svn r1523) -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) darkvater 2005-01-15 15:48:05 +0000
  • 559317f9d0 (svn r1522) -Fix: warning players.c; forgot return type. Damn, makefile is too strict ;) (Thx Tron) darkvater 2005-01-15 10:04:04 +0000
  • 02ed8410a2 (svn r1521) -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 celestar 2005-01-15 09:28:08 +0000
  • 3279a7c9a2 (svn r1520) Trim 134 (!) lines with trailing whitespace ): tron 2005-01-15 08:58:31 +0000
  • 7f7c6297f7 (svn r1519) -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) celestar 2005-01-15 08:40:32 +0000
  • f9b5f704b1 (svn r1518) -Fix: server issue where some company names were wrong -Fix: Highscore troubles; accessing members of deleted window darkvater 2005-01-15 01:52:23 +0000
  • 75474e5bf1 (svn r1516) -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) darkvater 2005-01-15 00:46:45 +0000
  • c3a40dba68 (svn r1515) -Removed the 'close ALL windows' from the toolbar since shift+del does this. darkvater 2005-01-15 00:42:01 +0000
  • 976ed5e396 (svn r1514) -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. darkvater 2005-01-14 22:03:09 +0000
  • 83b00ad861 (svn r1513) -Fix: glitch in revision 1510 -Fix: MSVC6 project file update (bociusz) -Fix: MSVC6 default language is now English (UK), no longer Swedish (bociusz) truelight 2005-01-14 21:59:31 +0000
  • dd27968460 (svn r1512) Replace probably incorrect test of loading_count with probably correct test of loaded_count tron 2005-01-14 21:58:48 +0000
  • e9a57c56b7 (svn r1510) -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 truelight 2005-01-14 21:47:35 +0000
  • 3a838447a8 (svn r1509) Const correctness and add static where appropriate while touching the lines anyway tron 2005-01-14 19:44:42 +0000
  • 4136f395bf (svn r1508) Remove duplicate declarations and include proper headers where necessary tron 2005-01-14 19:41:24 +0000
  • 9d1f7e7348 (svn r1507) Remove unreachable code tron 2005-01-14 19:39:06 +0000
  • 34db065631 (svn r1506) Fix: [ 1102275 ] Game crashed when clicking "new face" or "company color" twice dominik 2005-01-14 14:56:50 +0000
  • 314a4245a9 (svn r1505) -Fix: Refit engine button is now disabled when cargo capacity equals zero celestar 2005-01-14 09:36:29 +0000
  • febac23b25 (svn r1504) enummed town ratings (Jango) celestar 2005-01-14 09:20:12 +0000
  • 9e10458209 (svn r1503) Added feature: o allows users to setup the production values of the rawmaterial producing industries in the editor miham 2005-01-14 00:14:13 +0000
  • 352cf002b2 (svn r1502) -Fix: [1101889] Crash under windows... stupid typo in player_gui.c ^ should've been & -Fix: in multiplayer clientlist can only be opened once darkvater 2005-01-13 20:46:39 +0000
  • 7dddb6cf7a (svn r1500) -Feature: Train window shows now the number of vehicles per row (mpetrov) celestar 2005-01-13 17:23:24 +0000
  • 237732d0a1 (svn r1499) -Fix: Order tooltip now explains the ctrl+click scroll. [1101412 / 1097043] (mpetrov) celestar 2005-01-13 17:06:10 +0000
  • 6dd2e2f06d (svn r1498) -Feature: Addded keyboard shortcuts for the order window Celestar 2005-01-13 16:55:17 +0000
  • 61cae70fe5 (svn r1497) -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 darkvater 2005-01-13 16:50:20 +0000
  • 06cc62f40d (svn r1496) -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. darkvater 2005-01-13 16:28:47 +0000
  • 0074496ea4 (svn r1495) -Fix: Loan does not count against the company value -Feature: New companies receive a 5-year protection period celestar 2005-01-13 09:55:32 +0000
  • 131f4c50fd (svn r1494) 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 tron 2005-01-12 22:10:50 +0000
  • 253a02e712 (svn r1493) -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 celestar 2005-01-12 22:09:21 +0000
  • f062187e47 (svn r1492) Reduce strcpy(, "") follwed by strcat() to just strcpy() (Jango) tron 2005-01-12 21:38:49 +0000
  • 45233a7e16 (svn r1491) Fix bracing style and indentation (Jango) tron 2005-01-12 21:33:43 +0000
  • fd19404b6f (svn r1490) Restore original town name generation behavior for german and hungarian (Jango) tron 2005-01-12 21:11:26 +0000
  • 747eab12d9 (svn r1489) -Fix: You fix a GCC warning, you get a MSVC warning.. now fixed both (which compiler do we break this time?) truelight 2005-01-12 16:33:33 +0000
  • 7ec997afce (svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron) -Fix: fixed some compiler-warnings truelight 2005-01-12 11:54:51 +0000
  • f25bec9132 (svn r1487) -Fix: [1100736] wrong tooltip for place desert button darkvater 2005-01-12 11:50:41 +0000
  • a243285af4 (svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for dynamic arrays truelight 2005-01-12 11:21:28 +0000
  • ff23795f5b (svn r1485) -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 darkvater 2005-01-12 00:50:08 +0000
  • 1a450b0b39 (svn r1484) -Fix: [1099197] scrolling through console sometimes crashed the whole game. Also added MarkWholeScreenDirty() to have redrawing of console resize instant (sign_de) darkvater 2005-01-11 23:39:21 +0000
  • 4873c0b1ea (svn r1483) -Fix: don't close a socket if it is already closed (windows doesn't like it :() (partly tnx to tamlin) truelight 2005-01-11 15:52:18 +0000
  • 1feae2083d (svn r1481) -Fix: [ 1099891 ] Added a return in DispatchLeftClickEvent which prevents reading of free'd memory (tamlin) celestar 2005-01-11 12:15:08 +0000
  • 5fac6142e8 (svn r1479) -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. darkvater 2005-01-11 00:54:06 +0000
  • 085563653f (svn r1478) -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. darkvater 2005-01-11 00:24:27 +0000
  • 38da06301d (svn r1477) -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. darkvater 2005-01-10 22:56:20 +0000
  • ae72661742 (svn r1476) -Fix: [1099209] Catchment area with drag&drop stations (Celestar) darkvater 2005-01-10 22:36:11 +0000
  • 05a3a83b6c (svn r1475) Fix some more signed/unsigned comparison warnings tron 2005-01-10 22:14:35 +0000
  • 46d0e2f892 (svn r1474) Added some gcc flags in the Makefile celestar 2005-01-10 21:56:02 +0000
  • 70f9921423 (svn r1472) -Fix: correct error message for when trying to build a railroad station over a bus/truck/etc-station. darkvater 2005-01-10 21:52:35 +0000
  • 02e020c05e (svn r1471) -Alternate icon added, made by Dominik -VS6 project file updated (bociusz) darkvater 2005-01-10 20:53:18 +0000
  • 1fc77885c2 (svn r1470) Revert r1457, this warning option was introduced with gcc 3.4 tron 2005-01-10 19:27:38 +0000
  • 2c6e2a68b7 (svn r1469) -Fix: missed one in last commit truelight 2005-01-10 19:14:05 +0000
  • 52de6766c7 (svn r1468) -Fix: really old maps do load again (Darkvater / TrueLight) truelight 2005-01-10 19:08:25 +0000
  • c0b82db752 (svn r1467) Fixed a nasty bug where one could build one station OVER the other Celestar 2005-01-10 16:35:20 +0000
  • 83b2abb6d6 (svn r1466) -Fix: oops, depot windows can of course also scroll horizontally. Thanks si-m1. darkvater 2005-01-10 14:56:26 +0000
  • 29b4ab04c3 (svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped year between 1920-2090 as wel as adding defines for it. darkvater 2005-01-10 14:43:00 +0000
  • fae367ab31 (svn r1464) -Fix: [1099106] Resizeable portion of bus/air/rail depots window unclickable darkvater 2005-01-10 14:36:08 +0000
  • 1261a44cec (svn r1463) -Fix: [1099451] Game crashes after the click on Rename (see also Bug 10992). There was no check for non-selected engine darkvater 2005-01-10 14:24:40 +0000
  • 49e7939a10 (svn r1460) -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. darkvater 2005-01-10 12:14:15 +0000
  • 53bd40ebaf (svn r1458) -Fix: remove byte *s again for windows. darkvater 2005-01-10 10:38:02 +0000
  • cd4e73193d (svn r1457) Make Darvater happy: -Wdeclaration-after-statement tron 2005-01-10 09:33:18 +0000
  • b9fed3391b (svn r1456) Simplify isWagon(), make it static and give it a canonical name (IsWagon) tron 2005-01-10 08:25:43 +0000
  • aacb89ed53 (svn r1455) Fixed spritecache.c to compile miham 2005-01-10 07:26:19 +0000
  • 52bfa90d5e (svn r1454) -Fix: small warnings in spritecache.c darkvater 2005-01-10 01:50:17 +0000
  • aa261049f4 (svn r1453) 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) dominik 2005-01-10 01:14:26 +0000
  • c77e9231ef (svn r1452) Fixed missing option from settings.c (Simen Graaten) miham 2005-01-09 21:39:49 +0000
  • 49584082a0 (svn r1451) Fix some of the signed/unsigned comparison warnings tron 2005-01-09 21:25:44 +0000
  • c6c86abeee (svn r1450) Updated norwegian townname generation (Simen Graaten) miham 2005-01-09 20:45:07 +0000
  • fbcc84bdcf (svn r1449) -Fix: signed/unsigned error on windows -Change: Makefile added -Wsign-compare flag darkvater 2005-01-09 18:59:16 +0000
  • 97479f9613 (svn r1448) -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!! truelight 2005-01-09 18:49:18 +0000
  • 55e6b4f928 (svn r1447) Move TILE_ADD(), TILE_ADDXY() and SafeTileAdd() to map.[ch] and make the latter map size agnostic tron 2005-01-09 17:55:11 +0000
  • 32f480a4ae (svn r1445) -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 truelight 2005-01-09 16:02:06 +0000
  • 9853d4e0d4 (svn r1444) -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 truelight 2005-01-09 14:45:19 +0000
  • 598addff94 (svn r1443) Added feature that users are able to place multiple accepting industies nearby in the editor mode if the appropriate patches are set miham 2005-01-09 14:07:59 +0000
  • 86c3bfd66d (svn r1441) Fixed a couple of warnings, and removed a pointless assert celestar 2005-01-09 10:04:30 +0000
  • e17a8989cf (svn r1440) -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. celestar 2005-01-09 08:49:40 +0000