Pavel Stupnikov
fef8b831a9
Change: Switch town growth rate and counter to actual game ticks ( #6763 )
7 years ago
Jonathan G Rennison
f6d374ade4
Merge branch 'house_placing' into jgrpp
...
This reverts the house picking/placing patch back to v2.
This is to fix house placement/town growth desync issues introduced in v4.
# Conflicts:
# src/settings_gui.cpp
# src/settings_type.h
# src/town_gui.cpp
9 years ago
Jonathan G Rennison
95b65163e3
Revert back to v2 of house picking/placing patch.
9 years ago
Jonathan G Rennison
41a06e698f
Merge branch 'house_placing' into jgrpp
...
# Conflicts:
# src/settings_gui.cpp
# src/settings_type.h
# src/town_gui.cpp
9 years ago
patch-import
0fd34a17a5
Update to v4 of house placing patch.
9 years ago
Jonathan G Rennison
44ed3cb3bd
Merge branch 'town-rating-label' into jgrpp
...
Conflicts:
src/lang/english.txt
src/town_cmd.cpp
9 years ago
patch-import
33d395ad59
Import town rating label patch
...
http://www.tt-forums.net/viewtopic.php?p=1118282#p1118282
9 years ago
patch-import
19dcbb1cb9
Import Picking and placing single houses in scenario editor patch
...
Minor whitespace fixes
http://www.tt-forums.net/viewtopic.php?f=33&t=68894&view=unread#p1099696
9 years ago
rubidium
84b7773724
(svn r27105) -Fix [FS#6195]: grow_counter was not properly bounded by growth_rate, but by some other value used to calculate growth_rate.
10 years ago
rubidium
30f778e933
(svn r27105) -Fix [FS#6195]: grow_counter was not properly bounded by growth_rate, but by some other value used to calculate growth_rate.
10 years ago
frosch
88175c2503
(svn r25968) -Add: [Script] ScriptTown::TOWN_GROWTH_NONE to indicate no town growth via ScriptTown::SetGrowthRate and GetGrowthRate.
11 years ago
frosch
9a41aefcc4
(svn r25968) -Add: [Script] ScriptTown::TOWN_GROWTH_NONE to indicate no town growth via ScriptTown::SetGrowthRate and GetGrowthRate.
11 years ago
frosch
56365e81e1
(svn r25922) -Codechange: Rename TOWN_IS_FUNDED to TOWN_IS_GROWING. It is not tied to funding a town.
11 years ago
frosch
12b30103b1
(svn r25922) -Codechange: Rename TOWN_IS_FUNDED to TOWN_IS_GROWING. It is not tied to funding a town.
11 years ago
frosch
670c4879cf
(svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES.
11 years ago
frosch
6a0439a789
(svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES.
11 years ago
frosch
0a0ab26fdf
(svn r25814) -Doc: Some Town members.
11 years ago
frosch
3e8d498bc5
(svn r25814) -Doc: Some Town members.
11 years ago
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
rubidium
76d5833650
(svn r24179) -Codechange: move some variables of Town to TownCache
13 years ago
rubidium
41e5c839e0
(svn r24179) -Codechange: move some variables of Town to TownCache
13 years ago
rubidium
0cfe86cead
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
13 years ago
rubidium
e40eb8177a
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
13 years ago
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)
13 years ago
truebrain
1c9bec1999
(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)
13 years ago
truebrain
6961332f05
(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI
13 years ago
truebrain
ad48ab9237
(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI
13 years ago
truebrain
b00fcef81a
(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only)
13 years ago
truebrain
afcf07ac8a
(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only)
13 years ago
rubidium
3d605f6488
(svn r23595) -Codechange: add comma after last enum to get a more uniform coding style
13 years ago
rubidium
df16ebd730
(svn r23595) -Codechange: add comma after last enum to get a more uniform coding style
13 years ago
rubidium
24263638bf
(svn r23526) -Codechange: unify cargos vs cargoes
13 years ago
rubidium
3d88c74389
(svn r23526) -Codechange: unify cargos vs cargoes
13 years ago
terkhen
a6557b4f09
(svn r23407) -Codechange: Keep a bitmap of all cargos accepted by towns.
13 years ago
terkhen
de0bf0663a
(svn r23407) -Codechange: Keep a bitmap of all cargos accepted by towns.
13 years ago
terkhen
a9cc00bf68
(svn r23405) -Codechange: Keep a matrix of cargos accepted by houses for each town (michi_cc).
13 years ago
terkhen
59d8b0204f
(svn r23405) -Codechange: Keep a matrix of cargos accepted by houses for each town (michi_cc).
13 years ago
truebrain
2306f2ab6d
(svn r23300) -Add: show on the GUI when a town grows and make a general framework to store goals of a town
13 years ago
truebrain
f906ebd2a5
(svn r23300) -Add: show on the GUI when a town grows and make a general framework to store goals of a town
13 years ago
truebrain
19791d3189
(svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
13 years ago
truebrain
229e572663
(svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
13 years ago
truebrain
ed6ec8c52a
(svn r23296) -Codechange: I found a fund building, but do I fund found buildings?
13 years ago
truebrain
389ffec7db
(svn r23296) -Codechange: I found a fund building, but do I fund found buildings?
13 years ago
michi_cc
56a592dcbd
(svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct.
13 years ago
michi_cc
6548ec6e9e
(svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct.
13 years ago
yexo
72500ddedf
(svn r22920) -Cleanup: replace two very old town variables taht were rarely used by small functions that compute there value on-the-fly when necessary
13 years ago
yexo
40d5419cd2
(svn r22920) -Cleanup: replace two very old town variables taht were rarely used by small functions that compute there value on-the-fly when necessary
13 years ago
frosch
43b88046d0
(svn r22888) -Doc: Doxygenize Town struct. (adf88)
13 years ago
frosch
a3eb319415
(svn r22888) -Doc: Doxygenize Town struct. (adf88)
13 years ago
terkhen
2eb8903dce
(svn r22568) -Change: Add a list of persistent storages to the Town class.
14 years ago
terkhen
7ffc8c0173
(svn r22568) -Change: Add a list of persistent storages to the Town class.
14 years ago
frosch
62b6d0eb0e
(svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks.
14 years ago
frosch
474b4799e8
(svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks.
14 years ago
rubidium
1de34d3103
(svn r20816) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille)
14 years ago
rubidium
af18c30f30
(svn r20816) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille)
14 years ago
rubidium
bd4524646c
(svn r20443) -Codechange: more TileHash to a more generic location
14 years ago
rubidium
1dbd2223ad
(svn r20443) -Codechange: more TileHash to a more generic location
14 years ago
alberth
91eba89331
(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition.
14 years ago
alberth
0e900039f3
(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition.
14 years ago
frosch
c18839704b
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
alberth
e5b703ddf9
(svn r20279) -Doc: Doxygen additions/improvements.
14 years ago
alberth
dc6ed2c2c0
(svn r20279) -Doc: Doxygen additions/improvements.
14 years ago
terkhen
9f14507ec5
(svn r20150) -Cleanup: Remove an unused function header.
14 years ago
terkhen
c960e1a5eb
(svn r20150) -Cleanup: Remove an unused function header.
14 years ago
rubidium
f09a74a996
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
15 years ago
rubidium
398418b8fa
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
15 years ago
rubidium
92648be718
(svn r19798) -Codechange: generalise the waypoint naming method
15 years ago
rubidium
863ff6522b
(svn r19798) -Codechange: generalise the waypoint naming method
15 years ago
smatz
d2e99657fa
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
15 years ago
smatz
53aaabe6e9
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
15 years ago
alberth
ae5b11321b
(svn r19400) -Codechange: CheckforTownRating returns a CommandCost.
15 years ago
alberth
6b6ff9c52b
(svn r19400) -Codechange: CheckforTownRating returns a CommandCost.
15 years ago
alberth
8bda21c5a0
(svn r19399) -Doc: Doxyment enum TownRatingCheckType.
15 years ago
alberth
7134201524
(svn r19399) -Doc: Doxyment enum TownRatingCheckType.
15 years ago
alberth
87c09ddcc0
(svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost.
15 years ago
alberth
566f87b2de
(svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost.
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
82fc28f77f
(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
b2d7edddfa
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
15 years ago
rubidium
c2221885f4
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
15 years ago
smatz
ad2c641bca
(svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen)
15 years ago
smatz
1da745c9ad
(svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen)
15 years ago
smatz
a2f43040af
(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too
15 years ago
smatz
93d275f1be
(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too
15 years ago
alberth
ba5e072881
(svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a header file to allow sharing.
15 years ago
alberth
17a52eb852
(svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a header file to allow sharing.
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
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
15 years ago
smatz
2a430d981f
(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
15 years ago
rubidium
79deeee323
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
15 years ago
rubidium
e067d4a4b8
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
15 years ago
smatz
8786ebbad7
(svn r16746) -Codechange: use Town::PostDestructor() instead of not very clean construct for invalidating nearest town for road tiles
15 years ago
smatz
59f94619c7
(svn r16746) -Codechange: use Town::PostDestructor() instead of not very clean construct for invalidating nearest town for road tiles
15 years ago
smatz
873a205ae6
(svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by Town::GetRandom() and Industry::GetRandom()
15 years ago
smatz
ff33ed94ce
(svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by Town::GetRandom() and Industry::GetRandom()
15 years ago