summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
AgeCommit message (Collapse)Author
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-22(svn r17615) -Fix (r17612): town sign could be glitchy when creating town ↵smatz
with custom name (Terkhen)
2009-09-22(svn r17614) -Fix: crash when deleting town while TownDirectory is opensmatz
2009-09-22(svn r17612) -Feature: possibility to choose (randomise or enter custom) ↵smatz
town name before its creation (original patch by Terkhen)
2009-09-22(svn r17611) -Fix: buffers used for verifying company and president name ↵smatz
length were too short, possibly causing false positives
2009-09-21(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' toosmatz
2009-09-21(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'smatz
2009-09-20(svn r17589) -Codechange: rename town_acc to always_acceptedsmatz
2009-09-20(svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a ↵alberth
header file to allow sharing.
2009-09-19(svn r17579) -Fix: remove doxygen docs for removed parameters, or change ↵rubidium
@param to @tparam if necessary
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-09-16(svn r17558) -Feature [NewGRF]: callbacks for houses to disable drawing ↵rubidium
foundations and to disable slope changes, like industry tile callbacks 30 and 3C.
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-10(svn r17493) -Codechange: store the depot index on the maprubidium
2009-09-07(svn r17444) -Fix [FS#3173]: when building roads isn't allowed for town, ↵rubidium
then don't build the initial piece either
2009-09-07(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses ↵smatz
and headquarters anymore
2009-08-22(svn r17268) -Fix [FS#3143]: Station/Town window titles weren't updated when ↵rubidium
they got renamed
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-08(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when ↵smatz
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-07(svn r17107) -Codechange: store type of subsidy source and destination in ↵smatz
the Subsidy struct instead of determining it every time it's needed
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-29(svn r16978) -Fix(r16977): tab indentation instead of space indentation at ↵belugas
beginning of a line, please
2009-07-29(svn r16977) -Fix(r1772)[FS#3059]: make it so that failing to generate many ↵belugas
random towns in scenario editor returns a failing message. Fix by therken Doxygen comments by me
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
2009-07-20(svn r16886) -Codechange: unify naming of some string IDs related to string ↵rubidium
codes and group them logically
2009-07-18(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoordsrubidium
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-16(svn r16841) -Cleanup: spaces/tabs where they don't belongrubidium
2009-07-13(svn r16825) -Codechange: unify dirtying when updating the viewport signs.rubidium
2009-07-13(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and ↵rubidium
UpdateAll[Type]VirtCoords.
2009-07-12(svn r16795) -Fix [FS#3025]: houses wouldn't get build on the map edge.rubidium
2009-07-08(svn r16764) -Codechange: unify the way viewport signs are marked dirtyrubidium
2009-07-07(svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function ↵rubidium
of ViewportSign
2009-07-05(svn r16746) -Codechange: use Town::PostDestructor() instead of not very ↵smatz
clean construct for invalidating nearest town for road tiles
2009-07-01(svn r16714) -Codechange: use pool-like accessors for Subsidysmatz
2009-06-27(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have ↵frosch
to deal with sizeof() wrt. typedef-ed arrays.
2009-06-27(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its ↵frosch
instances to more meaningful names.
2009-06-27(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() ↵smatz
and change its behaviour accordingly
2009-06-26(svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by ↵smatz
Town::GetRandom() and Industry::GetRandom()
2009-06-26(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide ↵smatz
_house_specs[]
2009-06-26(svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile()smatz
2009-06-26(svn r16664) -Codechange: move house-related stuff from town.h and ↵smatz
town_type.h to separate files
2009-06-25(svn r16660) -Codechange: get rid of more dummy tile_type_procssmatz
2009-06-25(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() ↵smatz
and change its behaviour accordingly -Codechange: remove dummy GetAcceptedCargo_*() handlers
2009-06-23(svn r16632) -Codechange: rename Town::flags12 to Town::flagssmatz
2009-06-01(svn r16498) -Codechange: Remove hardly used HASBITS.frosch
2009-06-01(svn r16491) -Codechange: Added parentheses around bitwise operators for ↵alberth
code style.
2009-05-24(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced ↵frosch
vehicles/stations/industries are deleted.
2009-05-23(svn r16403) -Codechange: move code related to subsidies to separate filesmatz