bjarni
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
20 years ago
tron
31d6f87d80
(svn r1560) Introduce SetTileType() and SetTileHeight()
...
Replace direct references to _map_type_and_height with these
20 years ago
tron
64b08311b9
(svn r1559) Use IsTileType() instead of bit shifting and comparisons
20 years ago
Celestar
389a4bf44d
(svn r1558) -Fix: [ 1104350 ] Crashed trains do not initiate the lost vehicle
...
message anymore
20 years ago
tron
eaa6bf3f42
(svn r1557) Replace strange if () do while () construct with a plain for ()
20 years ago
Celestar
5bcf3d2bc0
(svn r1556) -Fix: Vehicle list updates should now really work
20 years ago
miham
4559279686
(svn r1555) Daily (err.. this time it's rather weekly, sorry!) langfile updates
20 years ago
celestar
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
20 years ago
tron
9fadf6cf84
(svn r1553) Check which gcc version is present and only set availible compiler flags
20 years ago
tron
f4f705e723
(svn r1552) Make ottd compile on Zeta
20 years ago
tron
1847b99461
(svn r1551) Silence a warning and simplify a preprocessor check
20 years ago
tron
5adad6c1b4
(svn r1550) Remove useless function declaration
20 years ago
tron
fb0c3c8061
(svn r1549) Clean up some functions:
...
uint tile -> TileIndex tile
if () cascade -> switch ()
20 years ago
tron
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
20 years ago
darkvater
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
20 years ago
truelight
8521367373
(svn r1546) -Fix: possible buffer-overflow in network
20 years ago
tron
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()
20 years ago
truelight
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
20 years ago
dominik
be5a832db3
(svn r1543) Fix: [ 1101906 ] Configure Patches window text overflow
20 years ago
tron
ef923fae44
(svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns
20 years ago
dominik
b119b6c474
(svn r1541) Fix: [ 1100767 ] fast forward in main menu
20 years ago
darkvater
340a9ab6be
(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
8efc7866dd
(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
37f56fa324
(svn r1538) -Feature: [988816] Disable servicing when breakdowns set to none (jaguar7)
20 years ago
darkvater
208a9b8547
(svn r1537) -Fix: Close all and any open filehandles open at shutdown (tamlin)
20 years ago
tron
ae796740aa
(svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts
20 years ago
truelight
d2643dc483
(svn r1535) -Fix: bah, I hate to be wrong.. oh, euh, wrong copy/paste from TPFMode 1
20 years ago
tron
efecea001a
(svn r1534) Use memmove() instead of memcpy() when copying overlapping memory (tamlin)
20 years ago
tron
1955371a71
(svn r1533) Turn an if cascade into a switch and move a const array to the only location where it is used
20 years ago
darkvater
d41a003bcc
(svn r1532) -Fix: [1103078] default service period patch options are now cast to 0 with right variable size.
20 years ago
darkvater
6e07bad728
(svn r1531) -Feature: [1039061] Swiss town-names (vulvulune)
20 years ago
bjarni
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)
20 years ago
darkvater
633786f55e
(svn r1529) -Feature: [1090950] Adding 16:10 resolutions for mainly laptops (doode)
20 years ago
truelight
1b00f36520
(svn r1528) -Fix: forgot to init a variable
20 years ago
truelight
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
!!Warning!!: do not give your rcon password to people you do not thrust!
20 years ago
darkvater
e6d31cb89c
(svn r1526) -Fix: [1103027] Minor changes for the lobby GUI (widen window) (bociusz)
20 years ago
truelight
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
Developers: please use AssignOrder to assign data to an order. If not,
you _WILL_ make the save-routine to assert!
20 years ago
darkvater
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
20 years ago
darkvater
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)
20 years ago
darkvater
559317f9d0
(svn r1522) -Fix: warning players.c; forgot return type. Damn, makefile is too strict ;) (Thx Tron)
20 years ago
celestar
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
20 years ago
tron
3279a7c9a2
(svn r1520) Trim 134 (!) lines with trailing whitespace ):
20 years ago
celestar
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)
20 years ago
darkvater
f9b5f704b1
(svn r1518) -Fix: server issue where some company names were wrong
...
-Fix: Highscore troubles; accessing members of deleted window
20 years ago
darkvater
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)
20 years ago
darkvater
c3a40dba68
(svn r1515) -Removed the 'close ALL windows' from the toolbar since shift+del does this.
20 years ago
darkvater
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.
20 years ago
truelight
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)
20 years ago
tron
dd27968460
(svn r1512) Replace probably incorrect test of loading_count with probably correct test of loaded_count
20 years ago
truelight
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
20 years ago