e6d31cb89c(svn r1526) -Fix: [1103027] Minor changes for the lobby GUI (widen window) (bociusz)
darkvater
2005-01-15 19:17:45 +00:00
561ceeba0c(svn r1526) -Fix: [1103027] Minor changes for the lobby GUI (widen window) (bociusz)
darkvater
2005-01-15 19:17:45 +00:00
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 +00:00
7cafdf3b0b(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 +00:00
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 +00:00
0e651d9702(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 +00:00
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 +00:00
1d127765c3(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 +00:00
559317f9d0(svn r1522) -Fix: warning players.c; forgot return type. Damn, makefile is too strict ;) (Thx Tron)
darkvater
2005-01-15 10:04:04 +00:00
0c01db5255(svn r1522) -Fix: warning players.c; forgot return type. Damn, makefile is too strict ;) (Thx Tron)
darkvater
2005-01-15 10:04:04 +00:00
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 +00:00
3f74c9884e(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 +00:00
3279a7c9a2(svn r1520) Trim 134 (!) lines with trailing whitespace ):
tron
2005-01-15 08:58:31 +00:00
dd6db73069(svn r1520) Trim 134 (!) lines with trailing whitespace ):
tron
2005-01-15 08:58:31 +00:00
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 +00:00
cd6904c36b(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 +00:00
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 +00:00
cd4272e08d(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 +00:00
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 +00:00
33f506a194(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 +00:00
c3a40dba68(svn r1515) -Removed the 'close ALL windows' from the toolbar since shift+del does this.
darkvater
2005-01-15 00:42:01 +00:00
0961c6af96(svn r1515) -Removed the 'close ALL windows' from the toolbar since shift+del does this.
darkvater
2005-01-15 00:42:01 +00:00
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 +00:00
2b35e5ed0b(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 +00:00
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 +00:00
a74ff97781(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 +00:00
dd27968460(svn r1512) Replace probably incorrect test of loading_count with probably correct test of loaded_count
tron
2005-01-14 21:58:48 +00:00
412cf98eb4(svn r1512) Replace probably incorrect test of loading_count with probably correct test of loaded_count
tron
2005-01-14 21:58:48 +00:00
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 +00:00
b33df5936f(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 +00:00
3a838447a8(svn r1509) Const correctness and add static where appropriate while touching the lines anyway
tron
2005-01-14 19:44:42 +00:00
94c6bdfdaf(svn r1509) Const correctness and add static where appropriate while touching the lines anyway
tron
2005-01-14 19:44:42 +00:00
4136f395bf(svn r1508) Remove duplicate declarations and include proper headers where necessary
tron
2005-01-14 19:41:24 +00:00
589215c822(svn r1508) Remove duplicate declarations and include proper headers where necessary
tron
2005-01-14 19:41:24 +00:00
9d1f7e7348(svn r1507) Remove unreachable code
tron
2005-01-14 19:39:06 +00:00
b7e1286480(svn r1507) Remove unreachable code
tron
2005-01-14 19:39:06 +00:00
34db065631(svn r1506) Fix: [ 1102275 ] Game crashed when clicking "new face" or "company color" twice
dominik
2005-01-14 14:56:50 +00:00
0a606c94c4(svn r1506) Fix: [ 1102275 ] Game crashed when clicking "new face" or "company color" twice
dominik
2005-01-14 14:56:50 +00:00
314a4245a9(svn r1505) -Fix: Refit engine button is now disabled when cargo capacity equals zero
celestar
2005-01-14 09:36:29 +00:00
791782b62f(svn r1505) -Fix: Refit engine button is now disabled when cargo capacity equals zero
celestar
2005-01-14 09:36:29 +00:00
febac23b25(svn r1504) enummed town ratings (Jango)
celestar
2005-01-14 09:20:12 +00:00
957635121c(svn r1504) enummed town ratings (Jango)
celestar
2005-01-14 09:20:12 +00:00
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 +00:00
0c75fe0948(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 +00:00
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 +00:00
2257e03c33(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 +00:00
7dddb6cf7a(svn r1500) -Feature: Train window shows now the number of vehicles per row (mpetrov)
celestar
2005-01-13 17:23:24 +00:00
cd2779dc67(svn r1500) -Feature: Train window shows now the number of vehicles per row (mpetrov)
celestar
2005-01-13 17:23:24 +00:00
237732d0a1(svn r1499) -Fix: Order tooltip now explains the ctrl+click scroll. [1101412 / 1097043] (mpetrov)
celestar
2005-01-13 17:06:10 +00:00
18643f2a2f(svn r1499) -Fix: Order tooltip now explains the ctrl+click scroll. [1101412 / 1097043] (mpetrov)
celestar
2005-01-13 17:06:10 +00:00
6dd2e2f06d(svn r1498) -Feature: Addded keyboard shortcuts for the order window
Celestar
2005-01-13 16:55:17 +00:00
1976debefa(svn r1498) -Feature: Addded keyboard shortcuts for the order window
Celestar
2005-01-13 16:55:17 +00:00
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 +00:00
16b8912f06(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 +00:00
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 +00:00
84adfdf8c8(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 +00:00
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 +00:00
9a287d932d(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 +00:00
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 +00:00
3887cc2e90(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 +00:00
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 +00:00
ecc4e2041b(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 +00:00
f062187e47(svn r1492) Reduce strcpy(, "") follwed by strcat() to just strcpy() (Jango)
tron
2005-01-12 21:38:49 +00:00
65fa641ea4(svn r1492) Reduce strcpy(, "") follwed by strcat() to just strcpy() (Jango)
tron
2005-01-12 21:38:49 +00:00
45233a7e16(svn r1491) Fix bracing style and indentation (Jango)
tron
2005-01-12 21:33:43 +00:00
0c68fb27c1(svn r1491) Fix bracing style and indentation (Jango)
tron
2005-01-12 21:33:43 +00:00
fd19404b6f(svn r1490) Restore original town name generation behavior for german and hungarian (Jango)
tron
2005-01-12 21:11:26 +00:00
9a2d325c55(svn r1490) Restore original town name generation behavior for german and hungarian (Jango)
tron
2005-01-12 21:11:26 +00:00
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 +00:00
7a0239aece(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 +00:00
7ec997afce(svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron) -Fix: fixed some compiler-warnings
truelight
2005-01-12 11:54:51 +00:00
16502241c6(svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron) -Fix: fixed some compiler-warnings
truelight
2005-01-12 11:54:51 +00:00
f25bec9132(svn r1487) -Fix: [1100736] wrong tooltip for place desert button
darkvater
2005-01-12 11:50:41 +00:00
795f40c293(svn r1487) -Fix: [1100736] wrong tooltip for place desert button
darkvater
2005-01-12 11:50:41 +00:00
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 +00:00
97dd511971(svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for dynamic arrays
truelight
2005-01-12 11:21:28 +00:00
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 +00:00
38b0a06d85(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 +00:00
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 +00:00
1f84d14b47(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 +00:00
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 +00:00
553c169dbc(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 +00:00
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 +00:00
8c7acd8719(svn r1481) -Fix: [ 1099891 ] Added a return in DispatchLeftClickEvent which prevents reading of free'd memory (tamlin)
celestar
2005-01-11 12:15:08 +00:00
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 +00:00
199a77d1ea(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 +00:00
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 +00:00
2d023f9c0b(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 +00:00
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 +00:00
a2a26db615(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 +00:00
ae72661742(svn r1476) -Fix: [1099209] Catchment area with drag&drop stations (Celestar)
darkvater
2005-01-10 22:36:11 +00:00
4b6b5856fc(svn r1476) -Fix: [1099209] Catchment area with drag&drop stations (Celestar)
darkvater
2005-01-10 22:36:11 +00:00
05a3a83b6c(svn r1475) Fix some more signed/unsigned comparison warnings
tron
2005-01-10 22:14:35 +00:00
f0be7b6192(svn r1475) Fix some more signed/unsigned comparison warnings
tron
2005-01-10 22:14:35 +00:00
46d0e2f892(svn r1474) Added some gcc flags in the Makefile
celestar
2005-01-10 21:56:02 +00:00
b71af73c00(svn r1474) Added some gcc flags in the Makefile
celestar
2005-01-10 21:56:02 +00:00
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 +00:00
4734a0e690(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 +00:00
02e020c05e(svn r1471) -Alternate icon added, made by Dominik -VS6 project file updated (bociusz)
darkvater
2005-01-10 20:53:18 +00:00
6802e85873(svn r1471) -Alternate icon added, made by Dominik -VS6 project file updated (bociusz)
darkvater
2005-01-10 20:53:18 +00:00