rubidium
bad85b08c2
(svn r10419) -Fix (r10418): do not compare bitmasks with HASBIT. Thanks to Maedhros for spotting this.
2007-07-03 19:25:06 +00:00
rubidium
b67cfd4825
(svn r10418) -Codechange: implement/resurrect the industry production flags.
2007-07-03 19:16:34 +00:00
rubidium
95d2abf81d
(svn r10414) -Fix: the network protocol check for required newgrfs sent static newgrfs too.
2007-07-03 16:14:29 +00:00
rubidium
90f85c957a
(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.
2007-07-01 19:24:54 +00:00
rubidium
83a880c882
(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.
2007-07-01 19:11:47 +00:00
rubidium
d73e490c52
(svn r10406) -Fix [FS#968]: only industries in the temperate climate should be affected by the "do not increase production" flag.
2007-07-01 17:21:25 +00:00
rubidium
82dbf4b467
(svn r10405) -Fix [FS#972]: do not try to determine the default railtype in the scenario editor.
2007-07-01 17:11:24 +00:00
rubidium
178582b65d
(svn r10382) -Fix (strgen): it was not possible to use --warning and --todo at the same time.
2007-06-28 22:58:59 +00:00
rubidium
3a82c1e9ea
(svn r10381) -Fix [FS#951]: skipping an order made train reverse immediatelly. Patch by boekabart.
2007-06-28 22:03:34 +00:00
rubidium
1761ff341c
(svn r10378) -Merge: release changes from 0.5.
2007-06-28 19:02:59 +00:00
rubidium
e0a94a94a5
(svn r10367) -Fix: do not crash horribly when the file you are trying to load is too short or decompressing it fails.
2007-06-27 23:26:40 +00:00
rubidium
26d6ba98ee
(svn r10365) -Fix: compiling without png and networking support under MSVC.
2007-06-27 22:26:27 +00:00
rubidium
2a96ca6983
(svn r10362) -Codechange: make tunnel costs less exponential for (very) long tunnels.
2007-06-27 19:00:14 +00:00
rubidium
4c851d6456
(svn r10360) -Fix (r10359): make should always do "make all" by default
2007-06-27 18:53:24 +00:00
rubidium
cc240535f0
(svn r10359) -Codechange [FS#935]: add some explanations what the different make "commands" do.
2007-06-27 18:50:18 +00:00
rubidium
67f46b40ab
(svn r10358) -Codechange: remove the cargopacket leakchecker as it never asserted in almost a week of stresstesting, so I'm pretty sure all cornercases are tested by now.
2007-06-27 17:19:05 +00:00
rubidium
3c5622ee9a
(svn r10357) -Fix: and when we're at it... yet another memory leak, but only when you start a new game; can't find any other memory leaks we can fix.
2007-06-27 17:05:06 +00:00
rubidium
ffffde515f
(svn r10356) -Fix (r10143): another memory leak eliminated.
2007-06-27 16:54:50 +00:00
rubidium
45ae73e03f
(svn r10355) -Fix (r10092): memory leak when encoding (reading) sprites.
2007-06-27 16:41:37 +00:00
rubidium
0c8ca15c18
(svn r10354) -Fix [FS#950]: loading indicator showed "^" when the train would load at the given station.
2007-06-27 14:37:46 +00:00
rubidium
52fbdd62a2
(svn r10353) -Fix/Feature [FS#669]: disallow (in the GUI) the building of infrastructure you do not have available vehicles for. This means that the airport building button is disabled till you can actually build aircraft. The game itself will not disallow you to build the infrastructure and this "new" behaviour can be overriden with a patch setting.
2007-06-27 14:15:48 +00:00
rubidium
a775cdc03a
(svn r10352) -Fix: the network did not request the newgrf names of newgrfs that it couldn't find; it only wanted to request the newgrf names of newgrfs that where available locally and than were called "<Unknown>".
2007-06-27 10:02:55 +00:00
rubidium
735c47d7d7
(svn r10348) -Fix (r10347): compile errors; do not think it compiles fine when you run make on the wrong working copy.
2007-06-26 21:17:51 +00:00
rubidium
667e8eaaf8
(svn r10347) -Fix [FS#948]: industries with a very low production could never recover when using smooth economy.
...
-Fix: in smooth economy producing industries could not close, whereas they could close in non-smooth economy.
-Fix: in smooth economy the "do not increase production" flag of industries was ignored.
2007-06-26 21:11:17 +00:00
rubidium
36945fd628
(svn r10333) -Fix [FS#943]: News messages were shown on top of the endgame screen and high score chart.
2007-06-25 21:36:16 +00:00
rubidium
3c3c02d0fb
(svn r10332) -Fix [FS#940]: ratings where also shown on drop-off stations.
2007-06-25 21:15:17 +00:00
rubidium
8b2c8b6164
(svn r10329) -Feature [FS#812]: (patch) option to select the "default" rail type when you start a new game or load a game. This is done either static, i.e. rail, electrified rail, monorail and maglev, or dynamic which takes either the first or last available railtype or the railtype that is used most on the map.
2007-06-25 19:13:55 +00:00
rubidium
5c6106cbcf
(svn r10320) -Fix [FS#278]: one could only build a limited number of stations before one had to rename them.
2007-06-25 10:22:48 +00:00
rubidium
1904f8e838
(svn r10319) -Fix (r10266): the limit of 65535 references was not enough for cargo packets. Increase this limit to approximately 2^32, which noone should ever be able to reach on any normal system ;)
2007-06-25 10:10:37 +00:00
rubidium
9c0ccadbe0
(svn r10317) -Fix [FS#786]: acceleration not calculated properly when a train goes up a hill between tunnels.
2007-06-25 08:24:03 +00:00
rubidium
ce91598e3c
(svn r10313) -Fix (r8546): value for password "protected" was sent toggled for UDP packets, i.e. unpassworded companies showed up passworded and vice versa.
2007-06-24 22:18:46 +00:00
rubidium
7f8535526b
(svn r10312) -Fix (r10210): the 64 values in the 'players' console command were not printed properly; they did even "overflow" into the next to-be-printed values.
2007-06-24 21:58:05 +00:00
rubidium
58451059de
(svn r10309) -Revert (part of r10308): "fixing" the bounding box for bridge entrances reveals one of the bugs that will be fixed when FS#119 is fixed.
2007-06-24 20:17:39 +00:00
rubidium
1caa0f7fb7
(svn r10308) -Codechange: some "cleanup" chunks from B. N. SmatZ!' work on fixing FS#119.
2007-06-24 20:06:10 +00:00
rubidium
b17b9351dd
(svn r10306) -Fix [FS#890]: the fix in r10219 was not enough to stop this bug from happening.
2007-06-24 16:44:06 +00:00
rubidium
c600158c1d
(svn r10300) -Fix [FS#917]: give a better explanation why the loading of a savegame failed and do not crash on loading savegames that were altered by patches or branches.
2007-06-24 12:27:11 +00:00
rubidium
e12e83ef5f
(svn r10299) -Codechange [FS#931]: industry foundations should be drawn as all other foundations, i.e. with DrawFoundation, instead of writing the same functionality itself.
2007-06-24 10:20:05 +00:00
rubidium
6402d00190
(svn r10298) -Fix [FS#903]: show the subdirectory below the default data directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore.
2007-06-23 21:12:09 +00:00
rubidium
be35df3f03
(svn r10297) -Codechange: increase the performance of CargoPacket::AllocateRaw using a very simple "caching" system.
2007-06-23 20:38:28 +00:00
rubidium
2d42f4544d
(svn r10289) -Fix [FS#735]: {COMPANY} takes two arguments. As this was not properly accounted for the plural rule used the second argument of {COMPANY} instead of the later {COMMA}.
2007-06-22 23:41:33 +00:00
rubidium
117368a5a9
(svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler...
2007-06-22 22:28:15 +00:00
rubidium
a56661fcc1
(svn r10283) -Fix [FS#913]: catenary was drawn on bridges when elrail was disabled. Patch by B. N. SmatZ!.
2007-06-22 21:48:41 +00:00
rubidium
74b867db72
(svn r10269) -Fix [FS#912]: station ratings were shown for all cargos instead of only the cargos that have been transported.
2007-06-22 17:34:04 +00:00
rubidium
96d208d04b
(svn r10268) -Fix: some old savegames could have the wrong bits unset (follow up of r10147)
2007-06-22 17:33:13 +00:00
rubidium
e5c352818d
(svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
2007-06-22 11:58:59 +00:00
rubidium
046b6f18da
(svn r10263) -Fix (r10262): due to 64 bits alignment a struct became a little too large.
2007-06-21 19:18:49 +00:00
rubidium
0b34c9aefe
(svn r10262) -Fix (r10258): some places that needed to be changed to uint64 were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger.
2007-06-21 19:08:47 +00:00
rubidium
fb7964e902
(svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default.
2007-06-21 17:38:59 +00:00
rubidium
9feb9f84fc
(svn r10259) -Fix (r10258): committed a little too much.. would've made pretty cheap tunnels though :)
2007-06-21 17:27:21 +00:00
rubidium
9c0944aa09
(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
...
-Fix: some displays of money were wrong.
2007-06-21 17:25:17 +00:00
rubidium
2792019b78
(svn r10253) -Fix (r10249): putting the < the wrong way around made the new towns pretty small.
2007-06-21 16:12:31 +00:00
rubidium
02154f38b8
(svn r10252) -Fix: never overflow when applying exchange rates before drawing the amount of money.
2007-06-21 15:57:14 +00:00
rubidium
bc01e53967
(svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits.
2007-06-21 15:37:05 +00:00
rubidium
b6cbd30c3f
(svn r10249) -Fix [FS#906]: town tried to gather information about the neighbourhood of a tile when it couldn't even *ever* build on that tile.
2007-06-21 15:13:09 +00:00
rubidium
709ec29563
(svn r10248) -Codechange: don't limit the cost of tunnels.
2007-06-21 14:58:30 +00:00
rubidium
eb1472a82d
(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.
2007-06-21 14:54:51 +00:00
rubidium
f806b46cc9
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
2007-06-21 14:32:27 +00:00
rubidium
55b93b1c05
(svn r10230) -Fix [FS#594]: terraforming wipes out canals. Now you always have to remove the canal before terraforming, instead of "just" removing the canal.
2007-06-19 21:15:14 +00:00
rubidium
aec52c4ebd
(svn r10228) -Fix [FS#894]: why MSVC must always bitch about stuff?
2007-06-19 19:04:25 +00:00
rubidium
b11bf3e157
(svn r10224) -Fix [FS#891]: the town road belongs to didn't get set properly when a town builds road over tram bits.
2007-06-19 17:27:59 +00:00
rubidium
e51a513eb8
(svn r10221) -Fix: the one way sprites weren't drawn in the correct order, so they could remove the tramtrack in some cases.
2007-06-19 15:56:03 +00:00
rubidium
265f8b7d5d
(svn r10219) -Fix [FS#882,FS#890]: land under foundations was terraform when it shouldn't be terraformed.
2007-06-19 15:34:43 +00:00
rubidium
16ce2192e4
(svn r10212) -Fix [FS#723]: money overflow bugs in many locations.
2007-06-19 00:05:26 +00:00
rubidium
7d6c255044
(svn r10210) -Codechange: make all money related variables 64 bits, so overflowing them should become a little harder.
2007-06-18 22:49:55 +00:00
rubidium
fbb22487fc
(svn r10209) -Fix/Codechange: forgot a few changes of int32 -> Money in the previous commit
2007-06-18 22:09:54 +00:00
rubidium
2ee73b50b8
(svn r10208) -Codechange: replace int32 with Money where appropriate.
2007-06-18 21:44:47 +00:00
rubidium
7a72dcb3b5
(svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money.
2007-06-18 21:00:14 +00:00
rubidium
49220cc6f1
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
2007-06-18 19:53:50 +00:00
rubidium
b09431478d
(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).
2007-06-18 16:42:40 +00:00
rubidium
0c369c21e0
(svn r10198) -Fix (r10194): did not search all search paths.
2007-06-18 11:04:12 +00:00
rubidium
966e2738b9
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
2007-06-18 10:48:15 +00:00
rubidium
5938dea88d
(svn r10194) -Codechange: prefer the current working directory above the user's home directory when openttd.cfg exists in the current working directory, otherwise prefer the home directory.
2007-06-17 21:26:57 +00:00
rubidium
6680a6a0e6
(svn r10191) -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits).
2007-06-17 20:36:14 +00:00
rubidium
b2799961bc
(svn r10188) -Codechange: make it a little easier to load a savegame from the console:
...
-g <absolute path>
-g <relative path from current working directory>
-g <relative path from within the savegame directory>
2007-06-17 20:09:05 +00:00
rubidium
6d9393cb60
(svn r10187) -Fix: don't do a 270 degree turn on the international airport when a 90 degree turn is enough.
2007-06-17 19:46:01 +00:00
rubidium
3afa69052d
(svn r10185) -Codechange: make the bounding boxes of the drive through road stops a little larger so NewGRFs authors have more possibilities when replacing them (minime).
2007-06-17 18:22:43 +00:00
rubidium
28b1809725
(svn r10184) -Fix: remove empty strings that are clearly bad. WT2 shouldn't add them anymore.
2007-06-17 18:18:18 +00:00
rubidium
4e75c8c181
(svn r10183) -Fix (r10182): some bashism sneaked in.
2007-06-17 15:55:52 +00:00
rubidium
347c28b71a
(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
...
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
2007-06-17 15:48:57 +00:00
rubidium
5fdde681c2
(svn r10181) -Fix (r10093): clamp the zoom level so it won't try to use a wrong zoom level when loading an old savegame.
2007-06-17 13:27:50 +00:00
rubidium
6c67bdcc71
(svn r10180) -Fix (r10167): do not reset the 2cc loaded feature setting when a (later) newgrf does not have 2cc.
2007-06-17 13:26:19 +00:00
rubidium
1f0513ae51
(svn r10179) -Fix: spritecache wasn't in source.list, thus wasn't in the MSVC project files.
...
-Fix: Pig Latin wasn't in the MSVC project files.
2007-06-17 12:30:43 +00:00
rubidium
03c1ecb17a
(svn r10171) -Add: simple support for ccache (--with-ccache).
2007-06-16 21:57:30 +00:00
rubidium
9f01009b39
(svn r10170) -Codechange: remove some duplication of code.
2007-06-16 12:03:36 +00:00
rubidium
f4c0bfc3a4
(svn r10169) -Fix [FS#875]: trunk did still tell Windows that it was version 0.5.0(.0), so now we use a "bogus" version number to tell it's not a real release. The version number that will be shown in-game will not change, only the version number in the file properties.
2007-06-16 11:13:30 +00:00
rubidium
d58d721fab
(svn r10168) -Fix [FS#879]: cannot build airport when an aircraft is flying over it.
2007-06-16 10:10:22 +00:00
rubidium
d6267f5539
(svn r10165) -Fix [FS#874]: crash when trying to get the aircraft movement state of an aircraft going to a just deleted airport.
2007-06-15 08:05:24 +00:00
rubidium
0e2978720d
(svn r10158) -Codechange: port some changes from NoAI and FS#872 to make the loan commands a little better readable.
2007-06-14 15:24:34 +00:00
rubidium
0e5a6661f7
(svn r10155) -Fix [FS#601]: Airports didn't flood when there are aircraft on the airport.
2007-06-14 08:39:27 +00:00
rubidium
3b5203dbc6
(svn r10154) -Fix [FS#870]: some vehicles were not drawn when having a high resolution and a high zoom-out level. Patch by B. N. SmatZ!.
2007-06-13 23:43:00 +00:00
rubidium
991996eb36
(svn r10153) -Fix [FS#869]: vehicles disappear when crossing certain tiles. Fix by B. N. SmatZ!.
2007-06-13 23:14:08 +00:00
rubidium
2c6bf89e02
(svn r10147) -Fix: the oldloader did clear some bits for road vehicles that shouldn't be cleared in some cases.
2007-06-13 18:36:04 +00:00
rubidium
197a8fd5f3
(svn r10145) -Fix: make compiling with networking disabled (again) possible.
2007-06-13 17:34:05 +00:00
rubidium
91420c0d8d
(svn r10140) -Fix [FS#867]: an industry could overbuild a bridge.
2007-06-13 15:22:28 +00:00
rubidium
a702f6b3a8
(svn r10139) -Fix: all inner parts of OpenTTD assume that the resolution is at least 1 by 1, so force the resolution to be always at least 1 by 1.
2007-06-13 14:57:42 +00:00
rubidium
504d93c499
(svn r10138) -Fix: when you got a sufficiently small resolution, there is a possibility for a division by zero when a sound is played.
2007-06-13 14:56:27 +00:00
rubidium
112f05e705
(svn r10137) -Add: console command to get the current game date.
2007-06-13 14:52:41 +00:00
rubidium
97b74fe4f2
(svn r10131) -Fix [FS#810]: when removing a dock, a ship will always try to reach the old location of the dock even when it cannot anymore because it the old location of the dock is now land instead of water.
2007-06-13 09:12:10 +00:00
rubidium
031565527e
(svn r10125) -Fix [FS#865]: under some circumstances the wagons of a train didn't get loaded properly.
2007-06-12 23:35:10 +00:00
rubidium
73790d9cd6
(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh.
2007-06-12 15:46:34 +00:00