Commit Graph

131 Commits

Author SHA1 Message Date
frosch
70f2b95bda (svn r14611) -Fix (r13437)[FS#2421]: Store the age of a house in the map array instead of the construction year.
Note: Savegames from r13437 to now are broken and have a age of 255 years for a lot houses.
2008-11-23 14:17:41 +00:00
smatz
698f05e756 (svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid after importing older savegame and during town generation
-Codechange: rewrite parts of code responsible for caching index of nearest town
2008-11-18 22:43:59 +00:00
rubidium
52ac592422 (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
frosch
17e208dc16 (svn r14333) -Documentation: Update docs/landscape*. Based on patch by yorick. 2008-09-15 18:50:48 +00:00
rubidium
3e2def0efa (svn r14240) -Doc: add a few pointers/"howto"-ish lines to the obg format documentation about what it does and does not do and how you should fill the data. 2008-09-03 20:51:59 +00:00
rubidium
915a09e4c6 (svn r14197) -Codechange: rework (original) base graphics determination methods. This yields in the following:
-Feature: make configuring the to-be-used base graphics via openttd.cfg and the command line possible.
-Feature: allow both the German as well as non-German toyland graphics as "correct" and official graphics.
-Feature: allow people to create their own base graphics easily and without requiring code changes.
2008-08-31 08:46:43 +00:00
rubidium
fc47ae96c4 (svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc) 2008-08-02 22:48:43 +00:00
rubidium
11bf3902c4 (svn r13926) -Add [YAPP]: Add map accessors for path reservations. (michi_cc) 2008-08-02 22:47:20 +00:00
frosch
6684bc12d5 (svn r13838) -Codechange: Make industry tiles aware of WaterClasses. 2008-07-26 16:14:10 +00:00
skidd13
c2ddbd1516 (svn r13757) -Doc: Update the man file 2008-07-20 15:39:20 +00:00
peter1138
757d61b22f (svn r12746) -Codechange: Add map storage for station animation frame 2008-04-17 06:52:56 +00:00
frosch
81174bc523 (svn r12347) -Feature(ette): Increase house animation frame number from 32 to 128. 2008-03-06 14:21:10 +00:00
smatz
28c61fc4fd (svn r12099) -Documentation: add new RailGroundType to landscape.html 2008-02-10 12:01:14 +00:00
frosch
9b2ca61044 (svn r12070) -Cleanup(r12042): Water-owner of shipdepots is no longer needed. Removed. 2008-02-06 15:32:06 +00:00
peter1138
c05d10dd35 (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
frosch
23e6411fb7 (svn r12029) -Feature: Allow trees on shore. 2008-01-31 17:54:13 +00:00
frosch
67e5fc5718 (svn r12027) -Documentation: Update 'landscape.html' and 'landscape_grid.html' to reflect reality and add some details. 2008-01-31 15:18:07 +00:00
frosch
9d63fd232e (svn r11984) -Fix: Also draw corner shores under rail tracks. 2008-01-25 16:51:35 +00:00
rubidium
f037d98ef4 (svn r11979) -Codechange: drop MSVC 2003 support because MSVC 2003 is broken in such a manner that it triggers an internal compiler error without any clue what of the code is wrong. Even trying to bisect the problem does not give a single line of code that causes the trouble. 2008-01-24 18:47:05 +00:00
frosch
e62dadf74c (svn r11975) -Documentation: Distinguish between station types in 'landscape_grid.html'. 2008-01-24 17:32:03 +00:00
peter1138
b967c9918e (svn r11934) -Codechange: add persistent random data for river and canal tiles. 2008-01-20 18:30:53 +00:00
rubidium
c3ae7faa13 (svn r11589) -Fix [FS#1514]: when ship depots got destroyed they always returned to water, even when it should've been canals. 2007-12-07 21:14:54 +00:00
rubidium
d1a51ebb36 (svn r11320) -Codechange: make lower halftiles at coast floodable. Patch by frosch. 2007-10-20 21:05:18 +00:00
rubidium
2b89ecca47 (svn r11151) -Codechange: add (partial) support for randomizing industry triggers (part of the backend for it). Furthermore update the documentation of the map's bits wrt to industries. 2007-09-23 19:27:35 +00:00
rubidium
99f7432b02 (svn r11115) -Merge: release changes from 0.5. 2007-09-15 12:43:04 +00:00
rubidium
45b0b7755d (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 2007-07-16 23:55:22 +00:00
rubidium
bb73947efd (svn r10378) -Merge: release changes from 0.5. 2007-06-28 19:02:59 +00:00
orudge
f0117974cd (svn r10310) -Fix: Trunk can now be built on OS/2 :) 2007-06-24 20:41:24 +00:00
truelight
19513f2604 (svn r10143) -Add: store the filename of the grfs opened and allow easy access to the name
-Codechange: store the SpriteID in the spritecache too
-Add: add a PNG loader for graphical files
-Documentation: added a document to explain the PNG format
2007-06-13 16:21:11 +00:00
glx
6a4be9758c (svn r10006) -Fix (FS#362): allow different signal types on one tile 2007-05-31 21:21:04 +00:00
rubidium
294a154bf7 (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road. 2007-05-31 15:15:00 +00:00
rubidium
1dfeb8261c (svn r9979) -Merge: release changes from 0.5. 2007-05-29 18:55:15 +00:00
rubidium
d0a39a231a (svn r9913) -Update: the landscape documentation to reflect the changes to the road bits. 2007-05-24 21:59:12 +00:00
rubidium
2a0dca9257 (svn r9700) -Merge: Release changes from 0.5 branch back to trunk. 2007-04-20 20:48:04 +00:00
rubidium
d835957939 (svn r9663) -Merge: Release changes from 0.5 branch back to trunk. 2007-04-17 21:08:05 +00:00
rubidium
6c06a10ffa (svn r9424) -Merge: Release changes from 0.5 branch back to trunk. 2007-03-24 00:02:13 +00:00
maedhros
209101391a (svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
the newhouses grf specs, so all newhouses grfs will be playable in the game.

Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
2007-03-19 11:27:30 +00:00
belugas
a06fb56746 (svn r9106) -Documentation: forgotten usage of m2 (storing TownID) in statue unmovable tile type 2007-03-11 01:22:21 +00:00
belugas
639080ed05 (svn r8956) -Documentation : complete reference of m6 usage is now available.
A few little cleanups here and there.
2007-03-01 20:10:49 +00:00
belugas
a19dd20ebb (svn r8951) -Cleanup: Another bunch of re-formating and re-ordering.
Among which, tiles area now read m1..m6, while the bits are always enumerated from 7 to 0
Hoping it will stay that way...
2007-03-01 04:24:19 +00:00
rubidium
b5a997a446 (svn r8935) -Codechange: unification of track type between road and rail tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType. 2007-02-27 23:36:28 +00:00
Darkvater
116fa34316 (svn r8926) -Merge: Release changes from the 0.5 branch back to trunk. This ensures an updated changelog, readme, etc. 2007-02-27 16:51:49 +00:00
rubidium
9061f83055 (svn r8798) -Fix (8735): update documentation to reflect the used bits for drive through stations. 2007-02-18 11:15:13 +00:00
belugas
52bdfa5c63 (svn r8752) -Cleanup: Reformat, re-arrange, correct tag errors on landscape.html.
No addition nor correction on actual data
2007-02-15 22:03:48 +00:00
rubidium
85da85c70a (svn r8642) -Merge: Release changes from the 0.5 branch back to trunk. This ensures an updated changelog, readme, etc. 2007-02-08 17:57:19 +00:00
belugas
1b2516964d (svn r8365) -Cleanup: Remove unneeded and dead links, install Owner informations, add attribute m6.
More to come on that matter...
2007-01-23 02:31:49 +00:00
Darkvater
75a63767ad (svn r8254) -Merge: Release changes from the 0.5 branch back to trunk. This ensures an updated changelog, readme, et. 2007-01-18 15:39:58 +00:00
peter1138
ab4141bf82 (svn r8103) -Docchange: Include station tile types used by RichK's airports 2007-01-13 16:09:53 +00:00
belugas
04694afabb (svn r8050) -Codechange: Rename map member extra to m6, since its usage has been widden.
Only doc landscape_grid.html has been updated, landscape.html will be done latter.
-CodeChange: Replace a direct access to m6 with SetTropicZone in InitializeLandscape, as it is the only part of m6 still untouched without the brute-forced m6=0
2007-01-11 02:05:13 +00:00
orudge
5652c39bdd (svn r8042) - Fix: OS/2 compilation with GCC (thanks to Paul Smedley and TrueBrain for their help) 2007-01-10 19:39:54 +00:00