rubidium
377ce6c5bf
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
2009-02-08 12:25:13 +00:00
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
2009-01-31 20:16:06 +00:00
belugas
d7971e5e37
(svn r15293) -Feature [FS#2583]: Give a more meaningful message when towns refuse construction of noise-controlled airports
2009-01-29 03:12:31 +00:00
smatz
659989af45
(svn r15278) -Fix [FS#2332]: test noise limit of nearest town instead of st->town
2009-01-26 21:09:17 +00:00
peter1138
792d1bd883
(svn r15073) -Fix (r15067) [FS#2532]: Default copy constructors don't necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations.
2009-01-13 20:43:53 +00:00
peter1138
02bda12599
(svn r15067) -Fix [FS#2531]: Possible compiler bug, alleviated by using SmallVector instead of using std::set. SmallVector does everything needed anyway.
2009-01-13 18:18:53 +00:00
smatz
26e5ccb60d
(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack
2009-01-12 19:49:23 +00:00
truebrain
a3dd7506d3
(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
f5cff71284
(svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to 'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code.
2009-01-11 14:26:11 +00:00
smatz
0cd41d1dc6
(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
db546e607f
(svn r14956) -Fix [FS#1832]: building new station parts didn't allocate a new station spec effectively breaking variable 41. This was due to the limited number of station specs that we can have per station. This fix makes newly build station parts create a new spec until one cannot allocate new station specs anymore and it'll revert to the old behaviour (sharing station specs).
2009-01-10 14:30:01 +00:00
rubidium
1b546505d2
(svn r14955) -Fix: newgrf station specs didn't get deallocated when building a new station part over them.
2009-01-10 14:01:17 +00:00
rubidium
f0b0691bfe
(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
rubidium
c8c61e36bd
(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)
2009-01-08 16:35:45 +00:00
rubidium
9877b71ee0
(svn r14853) -Codechange: rename GetClosestStationFromTile to GetClosestDeletedStation as that's what it does instead of finding non-deleted stations.
2009-01-05 21:06:38 +00:00
smatz
7368c740a6
(svn r14828) -Codechange: move most of save/load-specific code to separate files
2009-01-04 15:32:25 +00:00
rubidium
1357b0a4c2
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
2009-01-02 22:42:05 +00:00
rubidium
87e5a8b52b
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
2008-12-28 14:37:19 +00:00
smatz
419f6e099f
(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
2008-12-26 18:01:15 +00:00
smatz
d1ea050232
(svn r14700) -Fix (r1): loading of very old savegames was broken (STNS chunk is stored before MAP in old savegame)
2008-12-20 01:35:12 +00:00
frosch
259a073f0c
(svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and PALETTE_MODIFIER_COLOR in spritelayout drawing.
...
-Fix [FS#2419]: The modifiers were not applied in all cases.
2008-11-22 16:04:11 +00:00
frosch
b759ccd032
(svn r14604) -Codechange: Simplify a function and rename it, and fix some comments.
2008-11-22 15:48:43 +00:00
rubidium
a1853ea27c
(svn r14598) -Feature: Action0Industries property 24 (industry suuplies default name for nearby station).
2008-11-19 23:55:34 +00:00
frosch
11ef57d81e
(svn r14529) -Codechange: Turn FindCatchmentRadius() into Station::GetCatchmentRadius().
2008-10-25 14:19:09 +00:00
rubidium
a14ad77a36
(svn r14528) -Codechange: cache the closest town for all road tiles instead of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus)
2008-10-25 13:51:47 +00:00
rubidium
7588513003
(svn r14526) -Fix [FS#2379]: make sure trains stop at the end of a station; a 3/8th length train did stop 2/8th of it's length too early causing a 63/8th long train not to fit in a 4 tile station.
2008-10-24 20:53:57 +00:00
smatz
bb4a4a255d
(svn r14508) -Fix (r14501): arrays were not properly zeroed
2008-10-21 14:56:23 +00:00
rubidium
9df75b3f9e
(svn r14501) -Codechange: use sizeof(variable) instead of sizeof(type) or hardcoded amounts (magic constant) for memset (Alberth)
2008-10-20 15:42:56 +00:00
frosch
5a1df325e2
(svn r14488) -Fix: Synchronize drawing of spritelayouts in DrawTileLayout (Houses), IndustryDrawTileLayout, DrawStationTile, DrawTile_Station and DrawTile_Track (Waypoint).
...
Now transparency options, PALETTE_MODIFIER_TRANSPARENT and SPRITE_MODIFIER_OPAQUE should work for all of them.
2008-10-18 17:21:56 +00:00
frosch
dea505cbb8
(svn r14459) -Fix [FS#2343]: Update station-spread when building or removing oilrigs to make them consistent with station-spread-calculation on game-load and to make oilrig-stations behave like any other station type.
2008-10-12 10:22:13 +00:00
frosch
70e1e83eb2
(svn r14456) -Fix: Obiwan in catchment-area and station-spread of docks.
2008-10-10 20:09:29 +00:00
rubidium
719891c23e
(svn r14446) -Fix [FS#2330]: when a road stop gets moved make sure to update the destination of RVs going to that road stop.
2008-10-07 18:46:12 +00:00
rubidium
3b798599b6
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
2008-09-30 20:39:50 +00:00
smatz
1266b1a73f
(svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies)
2008-09-15 19:02:50 +00:00
smatz
5df524ecc0
(svn r14323) -Fix (r14064): forgot a return...
2008-09-14 16:01:46 +00:00
rubidium
defecbc6ef
(svn r14308) -Fix [FS#2268]: pay extra when tram/road bits need to be build for a roadstop.
2008-09-13 10:41:00 +00:00
smatz
66be028ad4
(svn r14307) -Fix: when deleting a station, remove news items regarding it
2008-09-13 10:19:51 +00:00
smatz
37edc141e2
(svn r14293) -Change: do not show PBS track reservation in the intro game
2008-09-11 21:53:59 +00:00
rubidium
9474db5cb6
(svn r14258) -Codechange: rework the way to query the vehicle hash to make sure it always results in the same irregardless of the order of the hash-linked-list.
...
-Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
2008-09-07 11:23:10 +00:00
rubidium
2d94337e1a
(svn r14064) -Fix [FS#1752]: check for the length of strings (in bytes) in the command. Checking for the length in pixels is impossible because that differs per client.
2008-08-13 06:22:04 +00:00
smatz
b595d59497
(svn r14022) -Fix (r13957) [YAPP]: Removing station tiles could produce stale reservations, too. (michi_cc)
2008-08-08 13:53:06 +00:00
smatz
5229e45363
(svn r14021) -Fix (r13957) [YAPP]: Overbuilding station tiles with non-track tiles could produce stale reservations. (michi_cc)
2008-08-08 13:29:18 +00:00
frosch
96b9fba333
(svn r13996) -Fix (r13845): Oilrigs from pre r13838 save games can have unknown water class.
2008-08-04 18:54:19 +00:00
rubidium
753da05bc6
(svn r13957) -Codechange [YAPP]: Free the old path reservation on removing some tracks and reroute trains afterwards. (michi_cc)
2008-08-02 22:55:08 +00:00
rubidium
df99103a31
(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc)
2008-08-02 22:47:34 +00:00
rubidium
ad36ea6b29
(svn r13912) -Codechange: remove some casts by returning the proper type instead of void*.
2008-08-01 15:07:31 +00:00
frosch
74c63ac9e2
(svn r13845) -Fix (r13838): When adding a WaterClass to oilrig station tiles, also make use of it.
2008-07-27 09:12:18 +00:00
frosch
16c80d031c
(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.
2008-07-26 16:14:10 +00:00
smatz
05c2a8eba4
(svn r13830) -Feature: show additional NewGRF info in the Tile Info window for stations, houses and industries
2008-07-25 22:37:34 +00:00
smatz
690859bf57
(svn r13758) -Fix (r13226): always use st->airport_tile, st->xy is different in many cases
2008-07-20 15:50:41 +00:00
rubidium
d06529ef4d
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
2008-07-17 20:13:01 +00:00
smatz
29985b768c
(svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences are now drawn until first non-opaque sprite is found (bit 14 not set)
...
This is to balance performance, code complexity and NewGRF requirements
2008-06-18 16:48:58 +00:00
glx
f56fe58d48
(svn r13472) -Backport (r13467 from NoAI): make CmdRemoveRoadStop use p2 as documented (only look at bit 0, not at the complete value)
2008-06-11 15:08:52 +00:00
smatz
bd5067b5a0
(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places
2008-06-10 21:59:22 +00:00
rubidium
923e21129c
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-29 15:13:28 +00:00
smatz
ee904e1df5
(svn r13295) -Codechange: remove now redundant check
2008-05-27 19:03:06 +00:00
smatz
9c7d4ffd4c
(svn r13293) -Fix (r13226): airport far from a town generated too much noise
2008-05-27 18:20:14 +00:00
belugas
5f782d06be
(svn r13257) -Fix(r13226): Typo has found its way on the code... Thanks cirdan
2008-05-26 02:25:17 +00:00
rubidium
8c9cc415e3
(svn r13255) -Codechange: move _opt to _settings.
2008-05-25 22:36:44 +00:00
rubidium
4625695653
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
...
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25 19:17:03 +00:00
frosch
ca30288c9d
(svn r13234) -Fix: Check/affect town rating when removing/bulldozing town-owned road under drivethrough stops.
...
-Fix: Reset the 'town-owned-road'-flag when removing and rebuilding road under drivethrough stops.
2008-05-24 22:15:10 +00:00
frosch
6e7a7412cd
(svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by RoadOwner.
...
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
2008-05-24 19:36:20 +00:00
belugas
fc35ad9ee9
(svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is.
...
Initial concept : TTDPatch (moreairpots), Initial code : Pasky
Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
2008-05-24 02:54:47 +00:00
frosch
eca692ef90
(svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window.
2008-05-21 22:15:39 +00:00
rubidium
9defec7876
(svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
2008-05-18 16:51:44 +00:00
rubidium
76b8970a33
(svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
2008-05-15 13:39:36 +00:00
smatz
386a3f1d20
(svn r13016) -Codechange: unify the detection if rail catenary should be drawn
2008-05-08 16:48:29 +00:00
rubidium
d03994098b
(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
belugas
b49b4f627f
(svn r12934) -Codechange: Before verification of local authority, just make sure airport can physically be built there. Just moving tests
2008-05-02 02:06:57 +00:00
smatz
dd00683a46
(svn r12915) -Fix [FS#1960](r12857): don't initialize Station struct with tile=0, buoys will never change that value
2008-04-28 23:34:23 +00:00
rubidium
1aa7d9faff
(svn r12897) -Codechange: some coding style in station_cmd.cpp.
2008-04-25 15:22:32 +00:00
belugas
bf702602c1
(svn r12875) -Codechange: Use defined const instead of cast magic
2008-04-24 18:30:41 +00:00
belugas
fbeaf0389d
(svn r12874) -Codechange: The closest town is already known. Do not search for it again.
2008-04-24 18:17:53 +00:00
rubidium
dce1b33196
(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code.
2008-04-23 22:16:41 +00:00
smatz
ccfe024a2a
(svn r12852) -Fix: do not try to draw rail catenary above non-rail station tiles
2008-04-23 19:07:18 +00:00
rubidium
5ef8c01ce7
(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
2008-04-21 14:33:33 +00:00
rubidium
15680e477a
(svn r12800) -Codechange: move the animated tile related functions out of texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions.
2008-04-20 08:22:59 +00:00
peter1138
210d757499
(svn r12798) -Feature: Add some support for NewGRF station animation. (Thanks to mart3p for samples and fixes)
2008-04-19 23:19:12 +00:00
rubidium
acafc26426
(svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).
2008-04-18 04:54:09 +00:00
rubidium
9d8fa486af
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
2008-04-18 04:37:06 +00:00
smatz
5050ba84fb
(svn r12756) -Cleanup: variable scope and coding style in station*
2008-04-17 20:03:28 +00:00
rubidium
02cdf01507
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-17 19:10:30 +00:00
rubidium
e8ee93b593
(svn r12689) -Feature: non-stop(or rather no non-stop) and via orders for road vehicles.
2008-04-13 16:54:19 +00:00
peter1138
a45c1d45e5
(svn r12674) -Fix [FS#1902]: Colour remaps on station sprites only worked for company colours.
2008-04-12 22:11:21 +00:00
smatz
6af1fb2bdd
(svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining
2008-04-06 23:49:45 +00:00
rubidium
1bd5a29df5
(svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin.
2008-04-06 22:32:20 +00:00
rubidium
d6623cf654
(svn r12588) -Codechange: do not access the destination of an order directly.
2008-04-06 07:48:51 +00:00
rubidium
5b47f81b0f
(svn r12584) -Codechange: do not access the order type directly.
2008-04-05 23:36:54 +00:00
rubidium
aef20ec54d
(svn r12580) -Codechange: merge some logical related to non-stop orders.
2008-04-05 15:30:15 +00:00
smatz
febc5150c9
(svn r12547) -Feature: invisibility options to make objects invisible instead of transparent
2008-04-03 19:55:40 +00:00
rubidium
2edd403656
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
2008-03-31 00:06:17 +00:00
rubidium
eeabab4555
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
2008-03-28 08:53:36 +00:00
peter1138
6184676ec7
(svn r12410) -Codechange: abstract out the test for catenary on electric rails
2008-03-25 12:10:13 +00:00
glx
4a4be744b6
(svn r12258) -Fix: GetProductionAroundTiles() may fail if only the second production slot exists
2008-02-25 16:30:12 +00:00
frosch
b7993793c8
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
2008-02-20 17:49:50 +00:00
smatz
29125c0e68
(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges
2008-02-18 16:11:31 +00:00
glx
044ca2bbf6
(svn r12155) -Fix (r12154): some warnings (always compile before commit)
2008-02-16 00:10:03 +00:00
glx
3e70ee6ed7
(svn r12154) -Codechange: removed a magic number
2008-02-15 23:57:03 +00:00
frosch
a40d761d7f
(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID
2008-02-15 18:40:42 +00:00
frosch
fd0f57a794
(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID
2008-02-15 18:34:26 +00:00
frosch
43c0f7ea8e
(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
2008-02-14 15:59:16 +00:00
smatz
e3301db213
(svn r12095) -Fix [FS#1703]: when a company bankrupts, remove drive-through road stops, ship depots and buoys too. Update owners of water and road.
2008-02-09 17:30:13 +00:00
smatz
802c949755
(svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player property to allow further fixes
2008-02-09 15:07:31 +00:00
smatz
221494bd3f
(svn r12093) -Fix: do not set station owner for buoys when merging company
2008-02-09 12:20:50 +00:00
frosch
918591c05b
(svn r12072) -Fix: Make docks at sea flood neighboured tiles.
2008-02-06 16:19:28 +00:00
frosch
7860d8d18a
(svn r12071) -Feature(ette): Draw river- and canal-edges under docks and shipdepots.
2008-02-06 16:12:23 +00:00
peter1138
1d891a8b15
(svn r12042) -Fix [FS#1676]: Reimplement how rivers and canals are stored in the map, allowing the sea/river/canal status to also be
...
stored for buoys, docks, locks and depots. All these are now allowed on rivers and removal of them will revert to the
original water type.
2008-02-02 09:28:43 +00:00
peter1138
67782add11
(svn r12036) -Fix: For station tiles, only get road types for road stops.
2008-02-01 20:10:57 +00:00
frosch
a1b98cda59
(svn r11999) -Fix: Do entrance-slope-check for every tile of railstations.
2008-01-28 14:36:54 +00:00
maedhros
21eef65e77
(svn r11994) -Codechange: Remove numbers from string names where the strings aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
2008-01-27 17:32:12 +00:00
frosch
6f6708e844
(svn r11983) -Codechange: Add some helper functions for slopes and use them.
2008-01-25 15:47:58 +00:00
peter1138
0f966a316a
(svn r11956) -Fix [FS#1675]: Disallow building locks and docks on rapids.
2008-01-23 08:47:49 +00:00
smatz
96a18d859f
(svn r11944) -Fix: allow building drive-through road/tram stops at road/tram track that has no owner
2008-01-22 15:40:29 +00:00
smatz
9556623281
(svn r11871) -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station
2008-01-16 01:18:15 +00:00
rubidium
576f8ad93e
(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*.
2008-01-15 18:44:22 +00:00
smatz
245f05a7cc
(svn r11864) -Codechange: pass owner whose signals we will update instead of complex detection later
2008-01-15 15:00:01 +00:00
peter1138
ea6535c864
(svn r11860) -Fix: Test station class validity against number of classes, not abosolute limit.
2008-01-15 11:43:06 +00:00
rubidium
d4e6a6bf57
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
2008-01-13 01:21:35 +00:00
peter1138
ab8382c0db
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
...
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
2008-01-12 19:58:06 +00:00
rubidium
ac528411df
(svn r11818) -Codechange: split player.h into smaller pieces.
2008-01-12 14:10:35 +00:00
smatz
f44a9a5d5b
(svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very long track
...
-Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
2008-01-09 23:00:59 +00:00
rubidium
998d7644f6
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
2008-01-09 21:05:03 +00:00
rubidium
46650c54b6
(svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114).
2008-01-09 16:55:48 +00:00
rubidium
b4b3190b62
(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...
2008-01-09 09:57:48 +00:00
rubidium
a3ccdcea36
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
2008-01-07 14:23:25 +00:00
rubidium
b0ac283aec
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
2008-01-07 00:57:19 +00:00
peter1138
75472cbc16
(svn r11729) -Codechange: Don't rely on the first railtype's sprite offset being zero when drawing road stations.
2007-12-31 11:13:51 +00:00
peter1138
06d578d07e
(svn r11720) -Codechange: [NewGRF] Add support for bit 30 of station tile layouts; forcing a sprite to always be opaque.
2007-12-29 21:06:54 +00:00
rubidium
384503e7d3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
2007-12-27 13:35:39 +00:00
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
2007-12-26 13:50:40 +00:00
rubidium
2786d789a1
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
2007-12-26 11:45:43 +00:00
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
2007-12-25 11:26:07 +00:00
rubidium
bf98e25e43
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
2007-12-25 09:48:53 +00:00
rubidium
8f0e68285b
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
2007-12-22 23:30:28 +00:00
rubidium
6a9e77e079
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
2007-12-21 22:50:51 +00:00
rubidium
9e9cfe6e59
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
2007-12-21 21:50:46 +00:00
rubidium
433a9f3c09
(svn r11675) -Codechange: split the string types from the string functions.
2007-12-21 19:49:27 +00:00
smatz
4a80cf8482
(svn r11670) -Feature [FS#1565]: list neutral stations where the player has service in the station list too
2007-12-19 23:35:14 +00:00
rubidium
5b49e75453
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
2007-12-19 23:26:02 +00:00
rubidium
8896bea306
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-19 19:44:29 +00:00
glx
a9dafdff48
(svn r11666) -Fix (r11504): when removing buoys, return to water or canal depending on their owner
2007-12-19 02:41:25 +00:00
rubidium
e4ef359f47
(svn r11663) -Codechange: moving of the road related types and functions.
2007-12-18 20:38:16 +00:00
smatz
c26a265f21
(svn r11659) -Fix [FS#1563]: do not allow modifying non-uniform stations when non-uniform stations are disabled
2007-12-18 18:02:00 +00:00
smatz
0b08f7370d
(svn r11657) -Fix: show better error message when trying to convert rail
...
-Codechange: merge DoConvert functions into one, make test and exec runs the same for tunnels/bridges
2007-12-17 22:29:27 +00:00
smatz
acf6e08f78
(svn r11642) -Codechange: VehicleFromPos does check for v->tile == tile, so remove useless checks
2007-12-15 23:11:18 +00:00
smatz
dfba33819b
(svn r11603) -Fix [FS#1481]: make price for railtype conversion more realistic
2007-12-08 19:53:30 +00:00
smatz
49d632c31b
(svn r11577) -Fix: invalidate 'list trains/roadvehs/ships/planes' widgets when station part is added/removed
2007-12-05 19:13:42 +00:00
smatz
eda5921284
(svn r11576) -Codechange: enumerize and comment station GUI
2007-12-05 17:08:10 +00:00
smatz
079482f0a2
(svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places
2007-12-05 16:55:33 +00:00
smatz
ddc8f2d16f
(svn r11570) -Fix: do not flood rail station tiles when there is a vehicle on it (when non-uniform stations are ON)
2007-12-04 21:39:03 +00:00