darkvater
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
20 years ago
darkvater
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.
20 years ago
celestar
9a287d932d
(svn r1495) -Fix: Loan does not count against the company value
...
-Feature: New companies receive a 5-year protection period
20 years ago
tron
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
20 years ago
celestar
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
20 years ago
tron
65fa641ea4
(svn r1492) Reduce strcpy(, "") follwed by strcat() to just strcpy() (Jango)
20 years ago
tron
0c68fb27c1
(svn r1491) Fix bracing style and indentation (Jango)
20 years ago
tron
9a2d325c55
(svn r1490) Restore original town name generation behavior for german and hungarian (Jango)
20 years ago
truelight
7a0239aece
(svn r1489) -Fix: You fix a GCC warning, you get a MSVC warning.. now fixed both
...
(which compiler do we break this time?)
20 years ago
truelight
16502241c6
(svn r1488) -Fix: fixed some spelling mistakes (tnx to Tron)
...
-Fix: fixed some compiler-warnings
20 years ago
darkvater
795f40c293
(svn r1487) -Fix: [1100736] wrong tooltip for place desert button
20 years ago
truelight
97dd511971
(svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for
...
dynamic arrays
20 years ago
darkvater
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
20 years ago
darkvater
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)
20 years ago
truelight
553c169dbc
(svn r1483) -Fix: don't close a socket if it is already closed (windows doesn't like
...
it :() (partly tnx to tamlin)
20 years ago
celestar
8c7acd8719
(svn r1481) -Fix: [ 1099891 ] Added a return in DispatchLeftClickEvent which prevents reading of free'd memory (tamlin)
20 years ago
darkvater
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.
20 years ago
darkvater
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.
20 years ago
darkvater
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.
20 years ago
darkvater
4b6b5856fc
(svn r1476) -Fix: [1099209] Catchment area with drag&drop stations (Celestar)
20 years ago
tron
f0be7b6192
(svn r1475) Fix some more signed/unsigned comparison warnings
20 years ago
celestar
b71af73c00
(svn r1474) Added some gcc flags in the Makefile
20 years ago
darkvater
4734a0e690
(svn r1472) -Fix: correct error message for when trying to build a railroad station over a bus/truck/etc-station.
20 years ago
darkvater
6802e85873
(svn r1471) -Alternate icon added, made by Dominik
...
-VS6 project file updated (bociusz)
20 years ago
tron
54e955464b
(svn r1470) Revert r1457, this warning option was introduced with gcc 3.4
20 years ago
truelight
b06a91ae25
(svn r1469) -Fix: missed one in last commit
20 years ago
truelight
472dabbd1b
(svn r1468) -Fix: really old maps do load again (Darkvater / TrueLight)
20 years ago
Celestar
91a75191a2
(svn r1467) Fixed a nasty bug where one could build one station OVER the other
20 years ago
darkvater
bfa6755023
(svn r1466) -Fix: oops, depot windows can of course also scroll horizontally. Thanks si-m1.
20 years ago
darkvater
781648ada3
(svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped year between 1920-2090 as wel as adding defines for it.
20 years ago
darkvater
58dc91f64d
(svn r1464) -Fix: [1099106] Resizeable portion of bus/air/rail depots window unclickable
20 years ago
darkvater
54e82ebbef
(svn r1463) -Fix: [1099451] Game crashes after the click on Rename (see also Bug 10992). There was no check for non-selected engine
20 years ago
darkvater
94e44d05a1
(svn r1460) -Fix: [1099225] Bug Fix - Vehicle Lists not updated at Acqusition (thx tamlin and mpetrov) This also fixes some bug but can't find i right now.
20 years ago
darkvater
c07e643b59
(svn r1458) -Fix: remove byte *s again for windows.
20 years ago
tron
e661657d0c
(svn r1457) Make Darvater happy: -Wdeclaration-after-statement
20 years ago
tron
a864d05ac0
(svn r1456) Simplify isWagon(), make it static and give it a canonical name (IsWagon)
20 years ago
miham
b74bd88e53
(svn r1455) Fixed spritecache.c to compile
20 years ago
darkvater
0b0e63cdf9
(svn r1454) -Fix: small warnings in spritecache.c
20 years ago
dominik
49a08e5e38
(svn r1453) Feature: MD5 hash check for TTD files
...
The original TTD files are now checked with a MD5 sum to determine which version of the grf files is used and to warn about possible file corruptions. (Thanks to ledow for the original patch)
20 years ago
miham
9419250a22
(svn r1452) Fixed missing option from settings.c (Simen Graaten)
20 years ago
tron
4450ff105c
(svn r1451) Fix some of the signed/unsigned comparison warnings
20 years ago
miham
d2e02df881
(svn r1450) Updated norwegian townname generation (Simen Graaten)
20 years ago
darkvater
55604e354f
(svn r1449) -Fix: signed/unsigned error on windows
...
-Change: Makefile added -Wsign-compare flag
20 years ago
truelight
3e84b9781f
(svn r1448) -Fix: The current_order of a vehicle is now correctly saved (caused
...
massive desyncs)
Warning: savegames which are made with the nightly of 08-01-2005 will
NO LONGER work!!
20 years ago
tron
7ee55362c5
(svn r1447) Move TILE_ADD(), TILE_ADDXY() and SafeTileAdd() to map.[ch] and make the latter map size agnostic
20 years ago
truelight
d9ea82a886
(svn r1445) -Fix: reversing a train also reverses the UP and DOWN status for the
...
realistic acceleration calculation
-Fix: there was a big bug in setting the UP and DOWN flags making it
easy possible for a overloaded train to go up a mountain. This is no
longer possible. They will hang at a certain height
20 years ago
truelight
0cfc15a475
(svn r1444) -Fix: fixed weight for double-head trains (and with that the acceleration)
...
(now maglev lvl4 can reach their top speed, and are faster than lvl3)
(Tnx to Darkvater :))
-Fix: Buy Vehicle GUI now shows HPs bigger than 32000 correctly
20 years ago
miham
3ef2e81c69
(svn r1443) Added feature that users are able to place multiple accepting industies nearby in the editor mode if the appropriate patches are set
20 years ago
celestar
e0a8b21404
(svn r1441) Fixed a couple of warnings, and removed a pointless assert
20 years ago
celestar
5bc8829167
(svn r1440) -Feature: Allows more flexible airport layouts now, as the number of
...
terminals in every group can be freely chosen
-Codechange: AT_OILRIG is now 15, so that new airports can be added
easily.
20 years ago