summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-01-23(svn r1616) Introduce ttd_strlcat() and use it to de-uglify some piece of ↵tron
code in misc_cmd. While here rename the len parameter of ttd_strlcpy() to size, because it is a buffer size and not a string length. Also add -Wwrite-strings to the Makefile, because the above mentioned piece of code was the only part which triggered this warning.
2005-01-23(svn r1615) -Fix: [1107350] console ignoring return character occasionally. ↵darkvater
For everyone that is running 2 dedicated servers on 1 windows machine, console input is now correct (event was the same so it was random which console received the input)
2005-01-23(svn r1614) Fix: Signals were not updated correctly when the vehicle drive ↵dominik
side was changed
2005-01-23(svn r1613) -Fix: WE_CLICK event is not called on default actions. If ↵darkvater
special action is needed, use the other events like WE_RESIZE or WE_DESTROY, etc.
2005-01-23(svn r1612) -Fix: made sure that ->next pointers are set to NULLtruelight
2005-01-23(svn r1611) Display server port in the multiplayer game info windowdominik
I had to make the multiplayer window 10 pixels wider for this
2005-01-23(svn r1610) Remove trailing whitespace (last time ever, i hope)tron
2005-01-23(svn r1609) -Codechange: converted the last order-loop with FOR_VEHICLE_ORDERStruelight
2005-01-23(svn r1608) Make ReplaceWords() comprehensibletron
2005-01-23(svn r1607) -Fix: When deleting an order, the next pointer was not cleared, truelight
resulting in some unusual behavoir from time to time
2005-01-23(svn r1606) Fix some bogus caststron
2005-01-23(svn r1605) Remove redundant iftron
2005-01-23(svn r1604) Fix: [ 1105112 ] Destroyed train locks crossingsdominik
2005-01-23(svn r1603) -Fix: unused variable in FormatTinyDatedarkvater
-Fix: added void to all win32.c functions as well
2005-01-23(svn r1602) -Fix: [1107514] When resizing a window, make sure the correct ↵tron
window receives the click
2005-01-22(svn r1601) Add: A brand new set of icons.dominik
Removed: The old icons
2005-01-22(svn r1600) Mac: applied the new icon to the mac binary filebjarni
2005-01-22(svn r1599) fix: autoreplace window now updates when inflation alters pricesbjarni
Hackykid and not LordOfThePigs pointed out the update problem fixed in rev 1597. Sorry. Sometimes development can get too fast
2005-01-22(svn r1598) Feature: Message history now is stickyable and resizeabledominik
The news messages are now precisely cropped according to pixel width to fit optimal into the window. Introduced a new date format: DATE_TINY, which is ISOish.
2005-01-22(svn r1597) fix: autoreplace vehicle lists are now redrawn when a new ↵bjarni
vehicle becomes available (thanks LordOfThePigs for pointing this one out)
2005-01-22(svn r1596) Add some more staticstron
2005-01-22(svn r1595) EmergencySave() is only used on WIN32, add preprocessor guard to ↵tron
hide it everywhere else
2005-01-22(svn r1594) Convert all undefined parameter lists to (void) and add the ↵tron
appropriate warning flags in the Makefile
2005-01-22(svn r1593) Remove yet another alloca()tron
2005-01-22(svn r1592) -Fix: [1090495] Slopes under high bridges weren't floodedtron
2005-01-22(svn r1591) Make dedicated servers on OS/2 check for input the UNIX waytron
2005-01-22(svn r1590) -Fix: [1107347] ban 1 crashes dedicated server. Dedicated server ↵darkvater
cannot ban itself :)
2005-01-22(svn r1589) Adapt the AI to a slight behavior change of CmdBuildSignals() ↵tron
introduced in r1585
2005-01-22(svn r1588) -Fix: [ 1105959 ] coded a workaround in the acceleration code so ↵celestar
that trains don't think they're on a slope while they drive around in a tunnel
2005-01-22(svn r1587) -CodeChange: fixed up the graph loop a little..numd now shows ↵darkvater
the exact amount, no +1 needed -CodeMotion: moved 'Company performancerating detail' to the end of the file; it fits there
2005-01-22(svn r1586) Fix: [ 1107340 ] Graphs don't show comapany info for company #8dominik
2005-01-22(svn r1585) Rewrite CmdBuildSignals()tron
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)
2005-01-22(svn r1584) Fix: Highlighlighting tiles under bridges works again correctly ↵dominik
for square selection tools.
2005-01-21(svn r1583) -Fix: You should no longer be able to delete bridges on any type ↵darkvater
of underground when there is a vehicle on it
2005-01-21(svn r1582) Fix: Only the train orders GUI has a non-stop button now.dominik
2005-01-21(svn r1581) Added a display for the total map population to the town display ↵celestar
(Jango)
2005-01-21(svn r1580) Fix: [ 1106354 ] Graph's keys get confuseddominik
Fix: Graphs were not updated correctly when one graph with a certain selection was already open and another graph window was opened
2005-01-20(svn r1579) Fix: [ 1105963 ] Buoys can now only be removed if no ship has it ↵dominik
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.
2005-01-20(svn r1578) -Fix: [1102454] dedicated server crashes after some hours ↵darkvater
(highscore problems for dedicated...should be really solved now)
2005-01-20(svn r1577) Fix: [1103301] Railroad tracks on slopes weren't floodedtron
2005-01-20(svn r1576) Clean TileLoopWaterHelper() a bit uptron
2005-01-20(svn r1575) -Fix: Forgot to exit the construction phase for the waypoint ↵Celestar
window (if you have newgrfs loaded)
2005-01-20(svn r1574) -Fix [ 1105281 ] upgrade rail fails when train under bridgecelestar
2005-01-20(svn r1573) -Fix: Station and depot building mode is now terminated if thecelestar
corresponding windows are closed [ 1104277 ]
2005-01-19(svn r1572) Remove dead code from ludde's autorail implementation which was ↵tron
left over by revision 1571
2005-01-19(svn r1571) Feature: Visually enhanced autorail placingdominik
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.
2005-01-19(svn r1570) Make the gcc version test work with old versions of test (i.e. ↵tron
don't use the < operator)
2005-01-19(svn r1569) -Fix: signed/unsigned mismatchdarkvater
2005-01-19(svn r1568) made an enum of train subtypes to make the code more readablebjarni
2005-01-19(svn r1567) -Fix: [110452] On horizontal/vertical tracks you are also ↵darkvater
charged for building/removing signals on the parallel track on the same tile. Signal updating is also correct. (Hackykid)