belugas
1bfe4e0e02
(svn r11798) -Codechange: add comments and give a more representative function's name
17 years ago
rubidium
0365c1f33b
(svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114).
17 years ago
rubidium
285a4a106f
(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...
17 years ago
belugas
578390ada7
(svn r11766) -Codechange: Last fine tunings on smooth economy, by Sirkoz.
17 years ago
rubidium
445a733eb6
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
17 years ago
glx
40b5641eb4
(svn r11716) -Fix [FS#1561]: don't put more than one Random() in function calls because parameter evaluation order is not guaranteed in the c++ standard (can lead to desyncs)
17 years ago
rubidium
722613f7f3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
17 years ago
rubidium
db73addb43
(svn r11702) -Codechange: move all date related stuff to date*.
17 years ago
rubidium
f82aeb82c5
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
17 years ago
rubidium
81bf9f8503
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
3074bca136
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
17 years ago
rubidium
766551b0bc
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
17 years ago
rubidium
8427b8bad2
(svn r11675) -Codechange: split the string types from the string functions.
17 years ago
rubidium
be923601bf
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
17 years ago
glx
4320447aef
(svn r11615) -Fix (r11609): temperate banks can only be built in towns (over a house)
17 years ago
rubidium
a510606144
(svn r11609) -Fix [FS#1524]: wrong error messages were shown when trying to build some industries in the scenario editor.
17 years ago
glx
7e7606b0d3
(svn r11590) -Fix (r11193): IsSlopeRefused() result was half wrong
17 years ago
belugas
4f5ae3b66f
(svn r11545) -Revert(r11543): The result is not what was expected. Looks like more work might be needed
17 years ago
belugas
aeb90dfab4
(svn r11543) -Codechange: Give a more adequate message when trying to place an industry required to be built over a house on any other type of tiles.
...
In reference to FS#1492, and other "bugs" like that one
17 years ago
belugas
b98847e489
(svn r11534) -Feature(newgrf): Implement property 23h for Industries.
...
This will add a cost to the removal of an industry using the cheat magic bulldozer.
Note that the removal of regular or newgrf industries without specified removal cost will have no cost applied to.
This is a difference from original spec, where a default base cost is added.
17 years ago
belugas
a22bdeb8e3
(svn r11532) -Feature[newgrf]: Add decrement(0x0D) / increment(0x0E) production operations from result of production callback cb29/35.
...
Only var 0x93 will be affected by these operations
17 years ago
maedhros
24a5dd3ca2
(svn r11528) -Fix (r11500): With smooth economy enabled, industries that should only decrease production would always increase it when more than 60% was transported.
17 years ago
skidd13
f56579e0d9
(svn r11526) -Codechange: Rename the function delta fitting to the naming style
17 years ago
skidd13
e36dba227b
(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random()
...
-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
17 years ago
rubidium
7f72e5573a
(svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
17 years ago
glx
b38d2e8dbb
(svn r11502) -Fix (r11144): don't do standard production change if callbacks 29/35 failed
...
-Fix (r11144): disable smooth economy for industries using callbacks 29/35
17 years ago
belugas
0ed5570eb4
(svn r11500) -Codechange: Smooth economy fine-tuning, making industries more responsive. Patch by Sirkoz.
17 years ago
glx
74cf54910a
(svn r11499) -Fix (r11144): mul/div factor were wrong (off by two)
17 years ago
skidd13
c0a2c0c23e
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
17 years ago
skidd13
98f66552be
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
17 years ago
rubidium
fbd234d274
(svn r11442) -Feature: make news messages related to the industry (production) changes better configurable; you can now disable news messages popping up for industries you are not servicing. Patch by Alberth.
17 years ago
rubidium
2c000f1546
(svn r11420) -Fix [FS#1006]: industry closure news not properly shown when the news item pops up after the industry has been removed from the map.
17 years ago
rubidium
02a6debc11
(svn r11412) -Fix (r11403): animation was not turned on properly.
...
-Fix (r11410): wrong assumption about random reseeds made the whole thing reseed way too often, making the animation look very ugly.
17 years ago
rubidium
c1cf9f3396
(svn r11410) -Codechange: implement random triggers for industries.
17 years ago
rubidium
e463f5687d
(svn r11403) -Fix: NewIndustries GRF assume that tiles are already animated during construction.
17 years ago
glx
df35372b9b
(svn r11402) -Fix [FS#1382]: incorrect handling of industry behaviour 'must be in town with population large than 1200'
17 years ago
belugas
f26a591e6c
(svn r11399) -Feature(ette): transparency settings can now be saved and thus remembered.
...
-Codechange: Wrap all transparency settings in accessors, hiding the implementation
-Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui.
Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
17 years ago
rubidium
c871dc1dd5
(svn r11373) -Fix [FS#1398]: do not even think about building disabled industries.
17 years ago
rubidium
0b7de36eb2
(svn r11371) -Fix [FS#1396]: the industry protection only kicked in when it should not kick in.
17 years ago
glx
3d150b6230
(svn r11356) -Fix (r11305): funding industries in MP game was causing desync
17 years ago
rubidium
4e822be109
(svn r11349) -Fix [FS#1372]: crash when moving "invalid" cargo to a station.
17 years ago
glx
f642c03d28
(svn r11305) -Codechange: randomise layout when building an industry ingame
17 years ago
rubidium
8342c18fb5
(svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround.
17 years ago
glx
3b08339a10
(svn r11302) -Fix (r9520): typo
17 years ago
glx
b0e5a3be63
(svn r11301) -Fix: water check when building industries didn't work
17 years ago
glx
f6907db708
(svn r11293) -Fix: newgrf defined industry news messages use TTD format for args, which is not the same as our. So we must detect those strings and pass them the right params
17 years ago
glx
34f8fd2d2b
(svn r11285) -Fix: 'site unsuitable' was always shown instead specified message when trying to build industry ingame (Csaboka)
17 years ago
rubidium
3bcfe14cd1
(svn r11276) -Codechange: be more consistent with naming of some accessors.
...
-Fix: make sure canals are never owned by water. Based on a patch by boekabart.
17 years ago
belugas
1280c7636d
(svn r11268) -Fix[FS#1336]: Call IsSlopeRefused whenever it is required. Looks like there was one spot missing. Thanks frosch
17 years ago
glx
d796519e49
(svn r11207) -Fix [FS#1301]: don't use smooth_economy for industries using production callbacks as they may have no production for more than a month
17 years ago