Commit Graph

450 Commits

Author SHA1 Message Date
terkhen
fa47477d0d (svn r20710) -Codechange: Clarify the name of some town generation variables. 2010-09-01 18:52:27 +00:00
rubidium
360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
rubidium
7107eef4de (svn r20627) -Codechange: unify the animation code of station, airport, house and industry tiles 2010-08-26 17:01:17 +00:00
smatz
ca2d4c5d6e (svn r20540) -Fix [FS#4049](r20480): use CmdDeleteTown instead of direct use of operator delete 2010-08-18 15:22:40 +00:00
rubidium
f336f61104 (svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns 2010-08-13 12:45:26 +00:00
rubidium
0fd9d4ba1d (svn r20481) -Fix: statues were not removed when towns would be removed 2010-08-13 11:58:45 +00:00
rubidium
cf8062c3bd (svn r20480) -Codechange: make CmdDeleteTown responsible for actually clearing tiles and such; ~Town still checks it though. 2010-08-13 11:57:59 +00:00
rubidium
662900c113 (svn r20473) -Codechange: pass Town instead of TownID to BuildObject 2010-08-12 19:18:58 +00:00
frosch
399818e96f (svn r20469) -Fix (r20227): Building statues used different companys for CMD_LANDSCAPE_CLEAR during testrun and DC_EXEC. 2010-08-12 14:20:02 +00:00
rubidium
1f2276b785 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 2010-08-08 10:59:30 +00:00
rubidium
92767f454e (svn r20409) -Codechange: reduce the number of includes needed by newgrf.h 2010-08-08 09:07:40 +00:00
rubidium
da8c058b89 (svn r20401) -Codechange: let HouseSpec use GRFFileProps 2010-08-07 21:03:38 +00:00
rubidium
d7921b24e6 (svn r20337) -Codechange: unify the construction of objects on the map 2010-08-03 08:58:12 +00:00
terkhen
ec6cba6b92 (svn r20323) -Codechange: Move Delete town code to a command. 2010-08-02 21:07:23 +00:00
terkhen
014771848d (svn r20322) -Codechange: Move Expand town code to a command. 2010-08-02 21:06:06 +00:00
alberth
91eba89331 (svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition. 2010-08-02 20:47:27 +00:00
frosch
c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
alberth
e5b703ddf9 (svn r20279) -Doc: Doxygen additions/improvements. 2010-08-01 17:45:53 +00:00
alberth
1743c86610 (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 2010-07-31 21:02:56 +00:00
terkhen
a6c7630e82 (svn r20227) -Fix [FS#3985]: Don't spend cash when building a statue fails. 2010-07-27 16:40:16 +00:00
alberth
137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium
9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
michi_cc
a8c6eaeb4a (svn r20048) -Feature: Add a setting to forbid towns building level crossings. 2010-07-02 16:34:07 +00:00
michi_cc
9745b96dcf (svn r20047) -Fix (rUnknown): Towns were not able to build level crossings when using original or better town layout. 2010-07-02 16:34:03 +00:00
frosch
a5bea603ea (svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation. 2010-06-05 12:16:12 +00:00
frosch
ee53807e51 (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 2010-05-31 20:22:57 +00:00
frosch
bca1abe146 (svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds. 2010-05-01 13:09:49 +00:00
frosch
dc1a95a9fd (svn r19743) -Fix: NewGrfs could access map bits of not yet constructed industries and houses during construction callbacks. 2010-05-01 13:01:21 +00:00
rubidium
cb92cdf975 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 2010-04-24 13:39:11 +00:00
frosch
ed80045221 (svn r19654) -Codechange: Use Extract<> in more places. 2010-04-17 13:31:41 +00:00
smatz
258b128a56 (svn r19614) -Codechange: "it's" => "its" where appropriate 2010-04-12 14:12:47 +00:00
alberth
68ee4aa7d6 (svn r19482) -Doc: Doxygen additions/updates. 2010-03-20 15:23:26 +00:00
alberth
a7619c7fb3 (svn r19479) -Codechange: Test range of town size and layout instead of against the current last value. 2010-03-20 10:59:06 +00:00
alberth
b0f3fff54b (svn r19478) -Codechange: Resolve TS_ prefix clash between TileSource and TownSize enums. 2010-03-20 10:55:08 +00:00
alberth
ae5b11321b (svn r19400) -Codechange: CheckforTownRating returns a CommandCost. 2010-03-13 15:33:07 +00:00
yexo
23af928ce9 (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 2010-02-28 20:28:08 +00:00
alberth
87c09ddcc0 (svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost. 2010-02-27 17:42:55 +00:00
alberth
01562e2dfc (svn r19272) -Doc: successfull -> successful. 2010-02-27 12:29:44 +00:00
smatz
5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
rubidium
f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 2010-01-18 22:57:21 +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
e202a26990 (svn r18715) -Codechange: make StationFinder a subclass of TileArea 2010-01-04 18:12:10 +00:00
rubidium
0bff19e869 (svn r18567) -Fix [FS#2613]: [NewGRF] House property 15 did not work 2009-12-20 14:53:32 +00:00
smatz
e0a28e8c54 (svn r18550) -Fix (r18281): show expected price of town construction even when the company doesn't have enough money 2009-12-19 21:42:19 +00:00
rubidium
d66fe90ad0 (svn r18415) -Fix [FS#3332]: on slopes the original and better road layouts did not check their minimum distance requirements 2009-12-06 16:14:13 +00:00
smatz
73136f78b3 (svn r18302) -Fix [FS#3328](r18281): city size multiplier was ignored when generating new game 2009-11-26 22:04:11 +00:00
frosch
13a72bb345 (svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
2009-11-24 22:15:42 +00:00
smatz
f7466979b9 (svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others) 2009-11-24 21:18:11 +00:00
smatz
2c63d0d323 (svn r18110) -Codechange [FS#3316]: search for stations nearby only once per producer (instead of once pre produced cargo type) (fonsinchen) 2009-11-15 21:06:13 +00:00
rubidium
b2d7edddfa (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 2009-11-09 09:59:35 +00:00
frosch
040404c5d3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 2009-11-07 22:47:54 +00:00
alberth
5a97b64d73 (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
2009-10-31 19:46:51 +00:00
rubidium
982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
smatz
29dc97afb6 (svn r17615) -Fix (r17612): town sign could be glitchy when creating town with custom name (Terkhen) 2009-09-22 18:55:15 +00:00
smatz
e5204575bb (svn r17614) -Fix: crash when deleting town while TownDirectory is open 2009-09-22 18:50:58 +00:00
smatz
ad2c641bca (svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen) 2009-09-22 13:54:54 +00:00
smatz
499b6df23b (svn r17611) -Fix: buffers used for verifying company and president name length were too short, possibly causing false positives 2009-09-22 12:42:56 +00:00
smatz
a2f43040af (svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too 2009-09-21 20:22:56 +00:00
smatz
13437a998e (svn r17603) -Codechange: since now, towns are 'founded' instead of 'built' 2009-09-21 18:16:00 +00:00
smatz
c3a80f1518 (svn r17589) -Codechange: rename town_acc to always_accepted 2009-09-20 17:44:33 +00:00
alberth
ba5e072881 (svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a header file to allow sharing. 2009-09-20 10:08:10 +00:00
rubidium
2e5596025c (svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary 2009-09-19 15:17:47 +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
06e490fadc (svn r17567) -Fix: some doxygen warnings 2009-09-18 14:23:58 +00:00
rubidium
0c2f375230 (svn r17558) -Feature [NewGRF]: callbacks for houses to disable drawing foundations and to disable slope changes, like industry tile callbacks 30 and 3C. 2009-09-16 19:10:50 +00:00
frosch
0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
rubidium
10c3af4642 (svn r17493) -Codechange: store the depot index on the map 2009-09-10 14:33:07 +00:00
rubidium
33e1a11aa9 (svn r17444) -Fix [FS#3173]: when building roads isn't allowed for town, then don't build the initial piece either 2009-09-07 08:36:52 +00:00
smatz
5d622fd840 (svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore 2009-09-07 07:39:08 +00:00
rubidium
1cfc262fb0 (svn r17268) -Fix [FS#3143]: Station/Town window titles weren't updated when they got renamed 2009-08-22 20:28:30 +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
smatz
738d7fde53 (svn r17107) -Codechange: store type of subsidy source and destination in the Subsidy struct instead of determining it every time it's needed 2009-08-07 22:23:34 +00:00
rubidium
d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
belugas
96f9567fbb (svn r16978) -Fix(r16977): tab indentation instead of space indentation at beginning of a line, please 2009-07-29 12:45:15 +00:00
belugas
e83102f78b (svn r16977) -Fix(r1772)[FS#3059]: make it so that failing to generate many random towns in scenario editor returns a failing message.
Fix by therken
Doxygen comments by me
2009-07-29 03:02:13 +00:00
rubidium
6435dc89fe (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 2009-07-22 10:18:19 +00:00
rubidium
39e6dbd5e3 (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 2009-07-20 11:21:57 +00:00
rubidium
b4f5a1eebb (svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords 2009-07-18 08:41:58 +00:00
smatz
8718babe90 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 2009-07-16 19:00:13 +00:00
rubidium
e39646d93b (svn r16841) -Cleanup: spaces/tabs where they don't belong 2009-07-16 10:01:32 +00:00
rubidium
873adde908 (svn r16825) -Codechange: unify dirtying when updating the viewport signs. 2009-07-13 23:15:13 +00:00
rubidium
79deeee323 (svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords. 2009-07-13 22:33:25 +00:00
rubidium
8cad64558f (svn r16795) -Fix [FS#3025]: houses wouldn't get build on the map edge. 2009-07-12 09:39:30 +00:00
rubidium
bb78e5bb14 (svn r16764) -Codechange: unify the way viewport signs are marked dirty 2009-07-08 08:30:35 +00:00
rubidium
4989b4afb9 (svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign 2009-07-07 16:51:20 +00:00
smatz
8786ebbad7 (svn r16746) -Codechange: use Town::PostDestructor() instead of not very clean construct for invalidating nearest town for road tiles 2009-07-05 13:21:51 +00:00
smatz
93557ba4e9 (svn r16714) -Codechange: use pool-like accessors for Subsidy 2009-07-01 18:45:05 +00:00
frosch
523cde0798 (svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays. 2009-06-27 21:06:58 +00:00
frosch
4c3f480f92 (svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names. 2009-06-27 18:26:50 +00:00
smatz
837b3628d9 (svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly 2009-06-27 17:05:20 +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
0e5af86ead (svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide _house_specs[] 2009-06-26 14:02:27 +00:00
smatz
7b78bae8e7 (svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile() 2009-06-26 13:46:23 +00:00
smatz
d39c08fd9d (svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files 2009-06-26 13:44:14 +00:00
smatz
bd208c30e0 (svn r16660) -Codechange: get rid of more dummy tile_type_procs 2009-06-25 20:08:59 +00:00
smatz
5d301445a2 (svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
2009-06-25 19:23:09 +00:00
smatz
45312433b6 (svn r16632) -Codechange: rename Town::flags12 to Town::flags 2009-06-23 09:52:26 +00:00
frosch
c9eac207ea (svn r16498) -Codechange: Remove hardly used HASBITS. 2009-06-01 15:01:54 +00:00
alberth
580e478e4e (svn r16491) -Codechange: Added parentheses around bitwise operators for code style. 2009-06-01 11:43:36 +00:00
frosch
eeb3f75cfe (svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted. 2009-05-24 16:52:42 +00:00
smatz
1eb48cdded (svn r16403) -Codechange: move code related to subsidies to separate file 2009-05-23 15:46:00 +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
512db5248e (svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get() 2009-05-18 16:21:28 +00:00
rubidium
c0204dc186 (svn r16329) -Fix: possible desync when removing lots of towns in-game (not that we allow removing towns now, but better not have desync prone code lingering around) 2009-05-17 10:35:13 +00:00
smatz
0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 2009-05-17 01:00:56 +00:00
smatz
d495dc5dbc (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 2009-05-16 23:34:14 +00:00
smatz
7126bcd0e1 (svn r16308) -Fix: parameter is invalid when it's equal to length of an array (Yexo) 2009-05-14 23:40:03 +00:00
smatz
a43f7ad823 (svn r16277) -Codechange: enumerize values and remove unneeded values used for testing town rating 2009-05-11 11:55:41 +00:00
frosch
af12760722 (svn r16268) -Fix (r9876): When callback 2E returns an amount of 0, do not transport 1 unit to the station. 2009-05-10 15:42:59 +00:00
rubidium
27e87d1adc (svn r16147) -Feature [FS#2635]: give the town generator a slight tendency to build towns near water by not discarding watery random tiles but by searching for near land (db48x) 2009-04-25 22:12:59 +00:00
rubidium
5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 2009-04-21 23:40:56 +00:00
frosch
d582747919 (svn r16101) -Cleanup (r14591): Remove an assertion to increase performance. 2009-04-20 17:42:14 +00:00
smatz
d046fea1b9 (svn r15890) -Codechange: unify the way 'can a town be placed here?' checks are done
-Change: the requirements for location of 'random' town are now a bit less strict
2009-03-29 15:06:44 +00:00
smatz
fa0b0a5eb7 (svn r15831) -Fix: make sure house class/ID counters don't overflow 2009-03-23 14:09:05 +00:00
smatz
f32f1a78f2 (svn r15744) -Fix (r9667): when town generator failed to create requested number of towns, there were too many cities 2009-03-16 18:38:28 +00:00
rubidium
6487883084 (svn r15729) -Fix: silence MSVC warning 2009-03-15 21:16:07 +00:00
smatz
e0fe28fdc9 (svn r15726) -Codechange: unify coding style for const pointers 2009-03-15 16:04:39 +00:00
rubidium
c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
rubidium
3a3607862d (svn r15697) -Fix (r15695): warning about comparing signed vs unsigned. 2009-03-13 00:48:03 +00:00
belugas
aa441cd4d7 (svn r15695) -Feature [FS#2672]: Allow the number of towns that will be generated in the generate world window to be customized.
Some warnings: 
-the maximum number of towns to be accepted is set to 5000
-the minimum number of towns to be accepted is set to 1
-the number that is specified is NOT guaranteed to be the exact number of towns generated.  The normal mechanism of town creation has not been modified.  So town placement can still fail.
-setting a custom number of town will change your difficulty settings to custom as well
2009-03-12 23:54:20 +00:00
rubidium
e27d12d788 (svn r15689) -Fix [FS#2720]: do not crash when the generate map doesn't contain a suitable location for a town. 2009-03-12 15:14:22 +00:00
peter1138
88e641282c (svn r15662) -Fix (r11795): Don't mark a company as having ratings in a town when querying the cost of a command. 2009-03-10 06:53:00 +00:00
smatz
f5b24edc1e (svn r15642) -Codechange: use a default parameter value in CalcClosestTownFromTile 2009-03-08 01:20:11 +00:00
yexo
47803bc3a7 (svn r15639) -Change: When you disable "Towns are allowed to build roads", pressing "Expand" in the town window in the scenario editor will no longer build roads. 2009-03-07 21:36:13 +00:00
rubidium
56b6d78bf7 (svn r15604) -Fix [FS#2661]: towns would only build houses where the grid would not be, even when they aren't allowed to build roads and the user 'implements' another layout. 2009-03-03 22:46:08 +00:00
yexo
894d61ca47 (svn r15585) -Codechange: Remove TILE_ASSERT and replace all instances with assert(tile < MapSize()). 2009-02-25 21:50:54 +00:00
yexo
b8601d903d (svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers. 2009-02-25 21:45:14 +00:00
smatz
2f63571203 (svn r15572) -Fix (r13730): theoretical buffer overflow when company with too long name funded a road reconstruction 2009-02-24 22:57:02 +00:00
smatz
b8438555df (svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWN 2009-02-16 23:23:33 +00:00
rubidium
6a4ab97d36 (svn r15454) -Fix [FS#2614]: towns did not know about build_on_slopes in some cases, or made decisions on the 'original' slope instead the slope after applying the foundation.. 2009-02-11 20:41:17 +00:00
frosch
d5525b8f2d (svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING. 2009-02-11 18:50:47 +00:00
frosch
f9feb4a0e6 (svn r15449) -Codechange: Rename DC_NO_TOWN_RATING to DC_NO_TEST_TOWN_RATING as that is what it does. 2009-02-11 18:33:27 +00:00
rubidium
5c8cf85613 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 2009-02-09 21:20:05 +00:00
rubidium
4431e82beb (svn r15397) -Fix [FS#2618]: a town could build a statue under a bridge. 2009-02-07 16:02:29 +00:00
frosch
6f9d6ffe80 (svn r15381) -Fix (r11091): When testing for parallel road two tiles away, do not move more than one tile along the road. 2009-02-06 20:51:24 +00:00
frosch
78fc8aa93c (svn r15380) -Fix (r15190)[FS#2603]: Do not use TileY() on negative TileIndexDiffs. But the test was not needed anyway, as those tiles were already tested in previous iterations. 2009-02-06 20:24:44 +00:00
smatz
f561fa2891 (svn r15352) -Codechange: make the arguments passed around while founding a town a bit more readable 2009-02-05 13:33:37 +00:00
smatz
e80255c4ae (svn r15342) -Feature: allow changing town layout in the 'Found new town' window 2009-02-04 22:52:34 +00:00
smatz
3a8d57816a (svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore
-Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
2009-02-04 20:17:25 +00:00
smatz
9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
Yexo
e3c69b7c4e (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. 2009-01-21 02:31:55 +00:00
belugas
9bd7b6bd0c (svn r15172) -Feature: Allow a grf to customize house name via callback 0x14D, during Tile Inquiry process 2009-01-20 16:06:57 +00:00
peter1138
b85389dca5 (svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, therefore it does not belong in _gui. 2009-01-19 12:07:01 +00:00
truebrain
c2406cd42d (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
2009-01-12 17:11:45 +00:00
frosch
b58cdfc294 (svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to 'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code. 2009-01-11 14:26:11 +00:00
smatz
c5db2ea181 (svn r14958) -Codechange [FS#1923]: when checking for unique names, compare only with manually set names
There are situations that aren't solvable (because of different language files), so if the user really wants to have duplicated name, allow him to do so. It solves desyncs between server and clients using different languages. It behaves the same in SP and MP, so users won't see the different behaviour as a bug (and even checking in SP could be worked around by the user).
2009-01-10 15:54:07 +00:00
rubidium
d197060137 (svn r14933) -Codechange: check the whether a pool item can be constructed instead of trying to make it and check for NULL. 2009-01-09 14:59:02 +00:00