Commit Graph

175 Commits (db879d5bd12eb6428a2e24db9f862da7878c9bf9)

Author SHA1 Message Date
rubidium 9fc2798baf (svn r22411) -Document: another bunch of bits 13 years ago
frosch e1b7474b99 (svn r22250) -Cleanup (r16378): Engines poolitems do not need a flag for validness anymore. The pool knows that on its own. 13 years ago
alberth 46d3b48fb3 (svn r22239) -Doc: Further engine doxyment additions. 13 years ago
smatz 8608a7c29b (svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames 14 years ago
frosch c003e1a358 (svn r21987) -Fix: Make news items, engine previews and AI preview events deal with no longer existing Engine items after resetting the pool. 14 years ago
frosch dd1c718ac7 (svn r21986) -Codechange: Add helper function to test whether an engine is still associated to a GRF. 14 years ago
frosch 447f3dbe2c (svn r21975) -Add: console command to reset the engine pool. It removes the traces of engines which are no longer associated to a NewGRF, and can be used to e.g. 'fix' scenarios which were screwed up by the author. You can only use it when there are no vehicles in the game though. 14 years ago
rubidium abc1828d30 (svn r21842) -Feature [FS#4393]: [NewGRF] Introduction dates/required types for rail types; e.g. introduce a particular rail type in 1960 (or when a vehicle using it is introduced), but also allow limiting its introduction to only happen when the required railtypes are available 14 years ago
rubidium dc94c94599 (svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced 14 years ago
smatz 61ad6990b9 (svn r21652) -Cleanup: one semicolon is enough 14 years ago
rubidium 4d6cd55877 (svn r21410) -Codechange: limit engine name by amount of characters, not bytes 14 years ago
planetmaker 0f0be0d866 (svn r21374) -Fix: Purchases lists were not invalidated when using 'resetengines' 14 years ago
rubidium 3969e4f951 (svn r21240) -Feature: [NewGRF] Implement action0 visual effect properties for ships and RVs (Hirundo) 14 years ago
rubidium a56627cc77 (svn r21239) -Codechange/Fix: [NewGRF] Use 0xFF instead of 0 as default value for visual effect. This makes setting train prop 22 to 0 actually work (Hirundo) 14 years ago
planetmaker d3dd03fd6b (svn r21101) -Doc: Additions and clarifications of doxygen comments 14 years ago
terkhen 38d9eed25c (svn r21100) -Feature [NewGRF]: Add CB36 support for road vehicle property 0x15 (Speed). 14 years ago
terkhen 867f7b5f7b (svn r21058) -Feature [NewGRF]: Add CB36 support for road vehicle properties 0x13 (Power), 0x14 (Weight) and 0x18 (Tractive effort). 14 years ago
terkhen 6c9580d6d0 (svn r20856) -Fix [FS#4141]: Road/water toolbars did not get updated when the first vehicle of their type becomes available. 14 years ago
rubidium b5d5a4e159 (svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well 14 years ago
alberth ccbacfc298 (svn r20318) -Doc: Doxygen additions. 14 years ago
alberth 6c01a5833c (svn r20317) -Codechange: Move variable declaration to their first use. 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium 1b507dcf66 (svn r20164) -Fix [FS#3870]: inconsistencies w.r.t. to km/h vs km-ish/h as "base" unit for aircraft speeds 14 years ago
frosch 782ec1bbff (svn r20106) -Fix (r5999): Engine and vehicle age were clamped at 0xFFFF, though there are 32bit available. 14 years ago
frosch 2eb1e2564b (svn r19879) -Codechange: Also hide invalid engines from purchase lists. 14 years ago
yexo f8e1732e6d (svn r19660) -Feature: [NewGRF] support cb36 for aircraft speed also in the build menu 14 years ago
terkhen e4bb3f80b7 (svn r19360) -Add: [NewGRF] When the tractive effort of a road vehicle is not set, use a default value of 4C. 15 years ago
terkhen f27186e617 (svn r19347) -Add: Vehicle GUI now shows power, weight and tractive effort for road vehicles. 15 years ago
frosch 89e7d3bd2b (svn r19218) -Feature: [NewGRF] Add CB36 support for aircraft properties 0F and 11. (Eddi) 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium da30e736ca (svn r18330) -Cleanup: remove some unneeded includes 15 years ago
frosch f60a437d36 (svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself. 15 years ago
frosch fe65c7f833 (svn r18266) -Codechange: Add a function to compute prices from price base and cost factor and use it consistently for vehicle purchase, running cost, and refit cost. 15 years ago
rubidium b2d7edddfa (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 15 years ago
frosch 1bd8a982d5 (svn r18011) -Feature(ette): [NewGRF] CB 36 for roadvehicle property 09 'running cost factor'. 15 years ago
frosch 040404c5d3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 15 years ago
frosch 9fafef56d0 (svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail consistent. Now always the cargo class decides. 15 years ago
frosch 23980e6486 (svn r17897) -Fix [FS#3255]: CB15 and CB36 (capacity) were not always called when they should.
-Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
15 years ago
frosch 76ff3aaf8f (svn r17758) -Revert (r17208): Use assert_compile() if you cannot count.
-Fix (r7326): Powernaut Helicopter got wrong 'load amount'.
-Fix (r2639): Call the Evil by its name.
15 years ago
frosch 4cb5a3e8a2 (svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when a Engine * is already present. 15 years ago
frosch 2adc2f4324 (svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation. 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
frosch b6156da5e9 (svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work. 15 years ago
rubidium 06e490fadc (svn r17567) -Fix: some doxygen warnings 15 years ago
rubidium c2c0f4403e (svn r17534) -Codechange: unify the naming of callback masks/flags 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
alberth 174284d526 (svn r17327) -Codechange: Allow external use of GetEngineCategoryName(). 15 years ago
rubidium 169df83012 (svn r17296) -Fix/feature [FS#3152]: allow rail wagons to be build when only el rail engines are available 15 years ago