Commit Graph

1187 Commits (65b55ffafea844378b2025cdc2f4b9b01d236f34)
 

Author SHA1 Message Date
darkvater d2ea2427de (svn r1587) -CodeChange: fixed up the graph loop a little..numd now shows the exact amount, no +1 needed
-CodeMotion: moved 'Company performancerating detail' to the end of the file; it fits there
20 years ago
dominik 848879f301 (svn r1586) Fix: [ 1107340 ] Graphs don't show comapany info for company #8 20 years ago
tron eee7d2e50d (svn r1585) Rewrite CmdBuildSignals()
This addresses several issues:
- Correct comments
- Check input parameters for validity (and don't assert() them)
- Reorder checks if action is possible to produce more meaningful error messages
- Correct bug where money was charged for an action which should be free
- Kill warning about uninitialized variable, because the variable exists no more
- Make more clear how the function works (at least i hope so)
20 years ago
dominik 3b0892d1d8 (svn r1584) Fix: Highlighlighting tiles under bridges works again correctly for square selection tools. 20 years ago
darkvater 0d43eb3ab8 (svn r1583) -Fix: You should no longer be able to delete bridges on any type of underground when there is a vehicle on it 20 years ago
dominik cbe9939c86 (svn r1582) Fix: Only the train orders GUI has a non-stop button now. 20 years ago
celestar 07a10a51a7 (svn r1581) Added a display for the total map population to the town display (Jango) 20 years ago
dominik 1b99cebbf3 (svn r1580) Fix: [ 1106354 ] Graph's keys get confused
Fix: Graphs were not updated correctly when one graph with a certain selection was already open and another graph window was opened
20 years ago
dominik 274b4f01ee (svn r1579) Fix: [ 1105963 ] Buoys can now only be removed if no ship has it in their schedule.
This makes buoys more useable in multiplayer games again, as buoys can't be deleted by other players if they are used.
20 years ago
darkvater 57ffaeeeaf (svn r1578) -Fix: [1102454] dedicated server crashes after some hours (highscore problems for dedicated...should be really solved now) 20 years ago
tron eeca2435ba (svn r1577) Fix: [1103301] Railroad tracks on slopes weren't flooded 20 years ago
tron 9a1a67b237 (svn r1576) Clean TileLoopWaterHelper() a bit up 20 years ago
Celestar 39ccf08e1f (svn r1575) -Fix: Forgot to exit the construction phase for the waypoint window (if
you have newgrfs loaded)
20 years ago
celestar fea6e43b7c (svn r1574) -Fix [ 1105281 ] upgrade rail fails when train under bridge 20 years ago
celestar f017a27eeb (svn r1573) -Fix: Station and depot building mode is now terminated if the
corresponding windows are closed [ 1104277 ]
20 years ago
tron d888997b46 (svn r1572) Remove dead code from ludde's autorail implementation which was left over by revision 1571 20 years ago
dominik 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.
20 years ago
tron d419f9b2f0 (svn r1570) Make the gcc version test work with old versions of test (i.e. don't use the < operator) 20 years ago
darkvater ada9fc873e (svn r1569) -Fix: signed/unsigned mismatch 20 years ago
bjarni 467e4b82bf (svn r1568) made an enum of train subtypes to make the code more readable 20 years ago
darkvater 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) 20 years ago
darkvater 6d8123b0fa (svn r1566) -Fix eol-style on script files, as well as update them a bit (sign_de) 20 years ago
celestar 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)
20 years ago
tron 654d75f795 (svn r1564) ISO C90 forbids mixed declarations and code (bad bjarni, no cookie) 20 years ago
bjarni 75863ee5cd (svn r1563) fix: autoreplaced trains now sets wagon override properly 20 years ago
bjarni aaf3bcb91f (svn r1562) Changed copyright 2004 into copyright 2004-(current year) in the get info window in finder (macOSX) 20 years ago
bjarni 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
20 years ago
tron 90cafa9b15 (svn r1560) Introduce SetTileType() and SetTileHeight()
Replace direct references to _map_type_and_height with these
20 years ago
tron 0d85b92e43 (svn r1559) Use IsTileType() instead of bit shifting and comparisons 20 years ago
Celestar 7768e97fa6 (svn r1558) -Fix: [ 1104350 ] Crashed trains do not initiate the lost vehicle
message anymore
20 years ago
tron 4eb8f833fe (svn r1557) Replace strange if () do while () construct with a plain for () 20 years ago
Celestar a003bb0b0e (svn r1556) -Fix: Vehicle list updates should now really work 20 years ago
miham 05d0c2ce89 (svn r1555) Daily (err.. this time it's rather weekly, sorry!) langfile updates 20 years ago
celestar 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
20 years ago
tron c268425885 (svn r1553) Check which gcc version is present and only set availible compiler flags 20 years ago
tron c44594c3fa (svn r1552) Make ottd compile on Zeta 20 years ago
tron 0fc9a98dfd (svn r1551) Silence a warning and simplify a preprocessor check 20 years ago
tron 7469164eb1 (svn r1550) Remove useless function declaration 20 years ago
tron 7ff921855a (svn r1549) Clean up some functions:
uint tile -> TileIndex tile
if () cascade -> switch ()
20 years ago
tron 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 20 years ago
darkvater 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
20 years ago
truelight 403fbdfd6b (svn r1546) -Fix: possible buffer-overflow in network 20 years ago
tron 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()
20 years ago
truelight 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
20 years ago
dominik 8493f68c96 (svn r1543) Fix: [ 1101906 ] Configure Patches window text overflow 20 years ago
tron ca8eb44828 (svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns 20 years ago
dominik ac5a1406bc (svn r1541) Fix: [ 1100767 ] fast forward in main menu 20 years ago
darkvater f987f5f119 (svn r1540) -Fix: since grf files are reopened on every load/new game, close the old opened to fix stale filehandles (thx tamlin) 20 years ago
darkvater 03dd503310 (svn r1539) -Fix: [1103271] free'd memory used. Moved w->wndproc(w, &e) to end of function. Thanks for finding this tamlin. 20 years ago
darkvater 0fc9b656e2 (svn r1538) -Feature: [988816] Disable servicing when breakdowns set to none (jaguar7) 20 years ago