44dae05c3d(svn r1576) Clean TileLoopWaterHelper() a bit up
tron
2005-01-20 18:18:32 +00:00
9a1a67b237(svn r1576) Clean TileLoopWaterHelper() a bit up
tron
2005-01-20 18:18:32 +00:00
1af764c4d0(svn r1575) -Fix: Forgot to exit the construction phase for the waypoint window (if you have newgrfs loaded)
Celestar
2005-01-20 10:31:59 +00:00
39ccf08e1f(svn r1575) -Fix: Forgot to exit the construction phase for the waypoint window (if you have newgrfs loaded)
Celestar
2005-01-20 10:31:59 +00:00
f8345b3fe6(svn r1574) -Fix [ 1105281 ] upgrade rail fails when train under bridge
celestar
2005-01-20 09:12:20 +00:00
fea6e43b7c(svn r1574) -Fix [ 1105281 ] upgrade rail fails when train under bridge
celestar
2005-01-20 09:12:20 +00:00
f0e616ea2b(svn r1573) -Fix: Station and depot building mode is now terminated if the corresponding windows are closed [ 1104277 ]
celestar
2005-01-20 08:36:15 +00:00
f017a27eeb(svn r1573) -Fix: Station and depot building mode is now terminated if the corresponding windows are closed [ 1104277 ]
celestar
2005-01-20 08:36:15 +00:00
e9c25f8274(svn r1572) Remove dead code from ludde's autorail implementation which was left over by revision 1571
tron
2005-01-19 21:50:38 +00:00
d888997b46(svn r1572) Remove dead code from ludde's autorail implementation which was left over by revision 1571
tron
2005-01-19 21:50:38 +00:00
aaf09ceb26(svn r1571) Feature: Visually enhanced autorail placing When using the autorail tool, the rail pieces which are going to be build are highlighted. If a piece is shown in red, this indicates that the slope/rail combination is impossible. It does not tell you if the rail line construction might not be possible because of other obstacles, e.g. houses or water.
dominik
2005-01-19 20:55:23 +00:00
f7e39977de(svn r1571) Feature: Visually enhanced autorail placing When using the autorail tool, the rail pieces which are going to be build are highlighted. If a piece is shown in red, this indicates that the slope/rail combination is impossible. It does not tell you if the rail line construction might not be possible because of other obstacles, e.g. houses or water.
dominik
2005-01-19 20:55:23 +00:00
28df4a0e25(svn r1570) Make the gcc version test work with old versions of test (i.e. don't use the < operator)
tron
2005-01-19 20:22:10 +00:00
d419f9b2f0(svn r1570) Make the gcc version test work with old versions of test (i.e. don't use the < operator)
tron
2005-01-19 20:22:10 +00:00
2fd3553d78(svn r1568) made an enum of train subtypes to make the code more readable
bjarni
2005-01-19 19:15:03 +00:00
467e4b82bf(svn r1568) made an enum of train subtypes to make the code more readable
bjarni
2005-01-19 19:15:03 +00:00
e4a3d284b2(svn r1567) -Fix: [110452] On horizontal/vertical tracks you are also charged for building/removing signals on the parallel track on the same tile. Signal updating is also correct. (Hackykid)
darkvater
2005-01-19 13:31:46 +00:00
640985ce04(svn r1567) -Fix: [110452] On horizontal/vertical tracks you are also charged for building/removing signals on the parallel track on the same tile. Signal updating is also correct. (Hackykid)
darkvater
2005-01-19 13:31:46 +00:00
15630855dd(svn r1566) -Fix eol-style on script files, as well as update them a bit (sign_de)
darkvater
2005-01-19 13:22:01 +00:00
6d8123b0fa(svn r1566) -Fix eol-style on script files, as well as update them a bit (sign_de)
darkvater
2005-01-19 13:22:01 +00:00
941da5dc94(svn r1565) -Fix: [ 1104969 ] Aircraft in hangar messages are now revalidated before display -CodeChange: replaced one if (foo) return true else return false by return (foo)
celestar
2005-01-19 10:00:37 +00:00
321c753418(svn r1565) -Fix: [ 1104969 ] Aircraft in hangar messages are now revalidated before display -CodeChange: replaced one if (foo) return true else return false by return (foo)
celestar
2005-01-19 10:00:37 +00:00
a6d1544447(svn r1564) ISO C90 forbids mixed declarations and code (bad bjarni, no cookie)
tron
2005-01-19 05:55:30 +00:00
654d75f795(svn r1564) ISO C90 forbids mixed declarations and code (bad bjarni, no cookie)
tron
2005-01-19 05:55:30 +00:00
f09b0def11(svn r1562) Changed copyright 2004 into copyright 2004-(current year) in the get info window in finder (macOSX)
bjarni
2005-01-18 23:48:55 +00:00
aaf3bcb91f(svn r1562) Changed copyright 2004 into copyright 2004-(current year) in the get info window in finder (macOSX)
bjarni
2005-01-18 23:48:55 +00:00
b1c4b0f07d(svn r1561) Fix: autoreplacing a singleheaded engine into a dualheaded engine now adds the the rear engine autoreplacing a dualheaded engine into a singleheaded engine now sells the rear engine as a sideeffect of this, the price for replacing both engines are now added and displayed once from the depot(instead of two identical numbers written on top of each other, looking like one) fix: cost for autorenew dualheaded engines were doubled and their value where doubled too
bjarni
2005-01-18 23:27:06 +00:00
5f549396f4(svn r1561) Fix: autoreplacing a singleheaded engine into a dualheaded engine now adds the the rear engine autoreplacing a dualheaded engine into a singleheaded engine now sells the rear engine as a sideeffect of this, the price for replacing both engines are now added and displayed once from the depot(instead of two identical numbers written on top of each other, looking like one) fix: cost for autorenew dualheaded engines were doubled and their value where doubled too
bjarni
2005-01-18 23:27:06 +00:00
31d6f87d80(svn r1560) Introduce SetTileType() and SetTileHeight() Replace direct references to _map_type_and_height with these
tron
2005-01-18 18:41:56 +00:00
90cafa9b15(svn r1560) Introduce SetTileType() and SetTileHeight() Replace direct references to _map_type_and_height with these
tron
2005-01-18 18:41:56 +00:00
64b08311b9(svn r1559) Use IsTileType() instead of bit shifting and comparisons
tron
2005-01-18 17:19:34 +00:00
0d85b92e43(svn r1559) Use IsTileType() instead of bit shifting and comparisons
tron
2005-01-18 17:19:34 +00:00
389a4bf44d(svn r1558) -Fix: [ 1104350 ] Crashed trains do not initiate the lost vehicle message anymore
Celestar
2005-01-18 16:01:35 +00:00
7768e97fa6(svn r1558) -Fix: [ 1104350 ] Crashed trains do not initiate the lost vehicle message anymore
Celestar
2005-01-18 16:01:35 +00:00
eaa6bf3f42(svn r1557) Replace strange if () do while () construct with a plain for ()
tron
2005-01-18 15:26:14 +00:00
4eb8f833fe(svn r1557) Replace strange if () do while () construct with a plain for ()
tron
2005-01-18 15:26:14 +00:00
5bcf3d2bc0(svn r1556) -Fix: Vehicle list updates should now really work
Celestar
2005-01-18 09:35:31 +00:00
a003bb0b0e(svn r1556) -Fix: Vehicle list updates should now really work
Celestar
2005-01-18 09:35:31 +00:00
4559279686(svn r1555) Daily (err.. this time it's rather weekly, sorry!) langfile updates
miham
2005-01-17 22:44:33 +00:00
05d0c2ce89(svn r1555) Daily (err.. this time it's rather weekly, sorry!) langfile updates
miham
2005-01-17 22:44:33 +00:00
e0471187d0(svn r1554) -Fix: [ 1103187 ] Order Check messages are now validated before displayed, so that there are no stray error messages any more. -Feature/Fix: Order Checking is only execute for ONE vehicle in an order-share system
celestar
2005-01-17 21:54:45 +00:00
6330806531(svn r1554) -Fix: [ 1103187 ] Order Check messages are now validated before displayed, so that there are no stray error messages any more. -Feature/Fix: Order Checking is only execute for ONE vehicle in an order-share system
celestar
2005-01-17 21:54:45 +00:00
9fadf6cf84(svn r1553) Check which gcc version is present and only set availible compiler flags
tron
2005-01-17 13:21:10 +00:00
c268425885(svn r1553) Check which gcc version is present and only set availible compiler flags
tron
2005-01-17 13:21:10 +00:00
f4f705e723(svn r1552) Make ottd compile on Zeta
tron
2005-01-17 13:13:11 +00:00
c44594c3fa(svn r1552) Make ottd compile on Zeta
tron
2005-01-17 13:13:11 +00:00
1847b99461(svn r1551) Silence a warning and simplify a preprocessor check
tron
2005-01-17 10:17:18 +00:00
0fc9a98dfd(svn r1551) Silence a warning and simplify a preprocessor check
tron
2005-01-17 10:17:18 +00:00
5adad6c1b4(svn r1550) Remove useless function declaration
tron
2005-01-17 09:43:02 +00:00
7469164eb1(svn r1550) Remove useless function declaration
tron
2005-01-17 09:43:02 +00:00
fb0c3c8061(svn r1549) Clean up some functions: uint tile -> TileIndex tile if () cascade -> switch ()
tron
2005-01-17 09:41:46 +00:00
7ff921855a(svn r1549) Clean up some functions: uint tile -> TileIndex tile if () cascade -> switch ()
tron
2005-01-17 09:41:46 +00:00
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 +00:00
1644863e32(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 +00:00
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 +00:00
44c39c5ebc(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 +00:00
8521367373(svn r1546) -Fix: possible buffer-overflow in network
truelight
2005-01-16 17:19:37 +00:00
403fbdfd6b(svn r1546) -Fix: possible buffer-overflow in network
truelight
2005-01-16 17:19:37 +00:00
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 +00:00
27057ae4b0(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 +00:00
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 +00:00
07647737d5(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 +00:00
ef923fae44(svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns
tron
2005-01-16 14:06:22 +00:00
ca8eb44828(svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns
tron
2005-01-16 14:06:22 +00:00
b119b6c474(svn r1541) Fix: [ 1100767 ] fast forward in main menu
dominik
2005-01-16 13:59:07 +00:00
ac5a1406bc(svn r1541) Fix: [ 1100767 ] fast forward in main menu
dominik
2005-01-16 13:59:07 +00:00
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 +00:00
f987f5f119(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 +00:00
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 +00:00
03dd503310(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 +00:00
37f56fa324(svn r1538) -Feature: [988816] Disable servicing when breakdowns set to none (jaguar7)
darkvater
2005-01-16 12:29:52 +00:00
0fc9b656e2(svn r1538) -Feature: [988816] Disable servicing when breakdowns set to none (jaguar7)
darkvater
2005-01-16 12:29:52 +00:00
208a9b8547(svn r1537) -Fix: Close all and any open filehandles open at shutdown (tamlin)
darkvater
2005-01-16 12:14:52 +00:00
ef6ec2ac04(svn r1537) -Fix: Close all and any open filehandles open at shutdown (tamlin)
darkvater
2005-01-16 12:14:52 +00:00
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 +00:00
61a6bc544d(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 +00:00
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 +00:00
0c587b1a60(svn r1535) -Fix: bah, I hate to be wrong.. oh, euh, wrong copy/paste from TPFMode 1
truelight
2005-01-16 11:18:17 +00:00
efecea001a(svn r1534) Use memmove() instead of memcpy() when copying overlapping memory (tamlin)
tron
2005-01-16 11:04:45 +00:00
52c232844e(svn r1534) Use memmove() instead of memcpy() when copying overlapping memory (tamlin)
tron
2005-01-16 11:04:45 +00:00
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 +00:00
58484ce6ee(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 +00:00
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 +00:00
07d9bc45dd(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 +00:00
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 +00:00
56b567cf6c(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 +00:00
1b00f36520(svn r1528) -Fix: forgot to init a variable
truelight
2005-01-15 20:10:44 +00:00
b454e12bc5(svn r1528) -Fix: forgot to init a variable
truelight
2005-01-15 20:10:44 +00:00
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 +00:00
27929d129b(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 +00:00