planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
rubidium
0cfe86cead
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
2012-01-03 20:26:05 +00:00
truebrain
aa1a0053b0
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-20 17:57:56 +00:00
yexo
e98786e15d
(svn r23457) -Codechange: introduce Industry::TileBelongsToIndustry() to simplify code checking for that
2011-12-09 16:11:42 +00:00
frosch
856db2751a
(svn r23049) -Fix [FS#4810]: Use the same forest-check for the vegetation-map colour as for nearby station names.
2011-10-21 19:10:35 +00:00
terkhen
7e0daae1ec
(svn r22567) -Codechange: Store persistent storages inside a pool.
2011-06-12 20:47:45 +00:00
terkhen
3914192556
(svn r22556) -Codechange: Remove constness from the town pointer at industries.
2011-06-12 20:31:44 +00:00
alberth
9ef150d7ea
(svn r21267) -Doc: Typo fixes.
2010-11-20 13:33:24 +00:00
alberth
af72592ce1
(svn r21173) -Codechange: Don't recompute target industry counts each time.
2010-11-13 15:19:43 +00:00
alberth
93765020f1
(svn r21172) -Feature: Better control over how many new industries are created during the game.
2010-11-13 15:17:55 +00:00
alberth
40d69ce604
(svn r21171) -Change: Reset industry build data at game start or load.
2010-11-13 15:15:25 +00:00
alberth
701fb1907f
(svn r21170) -Codechange: Store industry management data in the save game (some of it is used in the very near future).
2010-11-13 15:13:14 +00:00
alberth
a9009b2acb
(svn r21168) -Feature: Use desired industry counts rather than relative probability to decide which industry to build.
2010-11-13 15:07:34 +00:00
alberth
6d73213ab7
(svn r21167) -Codechange: Use IndustryBuildData::builddata instead of a local variable.
2010-11-13 15:04:58 +00:00
alberth
c8e5a7b411
(svn r21166) -Codechange: Move MaybeNewIndustry() to IndustryBuildData::TryBuildNewIndustry().
2010-11-13 15:02:31 +00:00
frosch
1abaae6002
(svn r20900) -Codechange: Move ProductionLevels enum to industry.h
2010-10-04 20:10:31 +00:00
frosch
8a55246fe6
(svn r20896) -Codechange: Split recompution of productionrates for non-smooth economy to separate function.
2010-10-04 19:23:50 +00:00
alberth
e45a8f61cc
(svn r20674) -Codechange: Remove declared functions that do not exist (anymore) otherwise.
2010-08-28 20:15:45 +00:00
frosch
d006eff7a9
(svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage. (Spotted by yexo)
2010-03-21 11:05:39 +00:00
frosch
be6c18454a
(svn r19481) -Codechange: Turn _industry_counts into a static member of Industry.
2010-03-20 14:30:16 +00:00
terkhen
c39a4b22aa
(svn r19062) -Codechange: Move smallmap related functions to their own header.
2010-02-08 21:19:41 +00:00
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
6cac8be361
(svn r18717) -Codechange: use TileArea in industry instead of three separate variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
2010-01-04 18:21:07 +00:00
rubidium
310465da07
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
2009-09-19 09:51:14 +00:00
rubidium
6b25288ba1
(svn r17472) -Fix [FS#3182]: industry list was rebuilt too early during industry removal causing the removed industry to be still in the list after removal
2009-09-08 12:22:28 +00:00
smatz
09e1ecc8ac
(svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile()
2009-08-30 11:47:41 +00:00
smatz
1889ebff85
(svn r17315) -Codechange: move code related to industry types to separate file
2009-08-30 11:40:01 +00:00
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
smatz
0502a6df42
(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
...
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
2009-08-08 16:42:55 +00:00
rubidium
d361ecd8f0
(svn r16914) -Codechange: split Station and BaseStation into different files
2009-07-22 11:35:35 +00:00
frosch
34d45cdf9d
(svn r16725) -Documentation: raw_industry_cost_multiplier
2009-07-02 17:08:54 +00:00
smatz
873a205ae6
(svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by Town::GetRandom() and Industry::GetRandom()
2009-06-26 15:08:54 +00:00
smatz
3793b966c3
(svn r16380) -Codechange: rename pool.hpp to pool_type.hpp
2009-05-22 15:39:22 +00:00
smatz
d6e203ebe2
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-22 15:23:47 +00:00
smatz
50624d5c0f
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
2009-05-22 15:13:50 +00:00
smatz
7eb14aa49f
(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index variable instead of var->index
2009-05-22 14:23:36 +00:00
rubidium
1cc82de384
(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.
2009-05-17 11:18:34 +00:00
rubidium
f1955333c9
(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions)
2009-05-17 11:17:53 +00:00
smatz
0c10daa243
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
2009-05-17 01:00:56 +00:00
smatz
cf986c3099
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
2009-05-16 23:44:36 +00:00
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
2009-05-16 23:34:14 +00:00
smatz
e0fe28fdc9
(svn r15726) -Codechange: unify coding style for const pointers
2009-03-15 16:04:39 +00:00
rubidium
89e1afdaa0
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
2009-02-09 02:57:15 +00:00
smatz
b00e510140
(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints
2009-01-03 16:06:58 +00:00
smatz
7fbd5beb0f
(svn r14746) -Fix: don't let any disaster vehicle (Helicopter or Airplane) target invalid industry
2008-12-26 19:37:50 +00:00
belugas
9419a28a4b
(svn r14332) -Fix[FS#1885]: Balance the monthly random industry changes, by introducing a daily random industry change.
...
This will allow to perform more changes per month on big maps and less on smaller maps, while not overtaxing the IndustryMonthlyLoop process.
Thanks to frosch, for nice code ideas and rewrites
2008-09-15 17:18:22 +00:00
belugas
9506434539
(svn r14105) -Fix: Some typos that are more grammatical errors, as it seems.
...
Provided by ln
I've added a little fix on currency.cpp too, why not :)
2008-08-20 01:38:12 +00:00
glx
dc1c529a31
(svn r13174) -Codechange: make a class of the IndustryDirectoryWindow.
2008-05-18 23:36:33 +00:00
rubidium
e0e1bf76a2
(svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers.
2008-05-07 09:07:19 +00:00
rubidium
1ce0b03bf0
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
2008-05-06 15:11:33 +00:00