Commit Graph

205 Commits (jgrpp)

Author SHA1 Message Date
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) 16 years ago
frosch 17e208dc16 (svn r14333) -Documentation: Update docs/landscape*. Based on patch by yorick. 16 years ago
frosch 42f33890aa (svn r14333) -Documentation: Update docs/landscape*. Based on patch by yorick. 16 years ago
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) 16 years ago
rubidium fe4f23dba2 (svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc) 16 years ago
rubidium 11bf3902c4 (svn r13926) -Add [YAPP]: Add map accessors for path reservations. (michi_cc) 16 years ago
rubidium ec7cc49825 (svn r13926) -Add [YAPP]: Add map accessors for path reservations. (michi_cc) 16 years ago
frosch 6684bc12d5 (svn r13838) -Codechange: Make industry tiles aware of WaterClasses. 16 years ago
frosch 16c80d031c (svn r13838) -Codechange: Make industry tiles aware of WaterClasses. 16 years ago
peter1138 757d61b22f (svn r12746) -Codechange: Add map storage for station animation frame 16 years ago
peter1138 b2095f37ac (svn r12746) -Codechange: Add map storage for station animation frame 16 years ago
frosch 81174bc523 (svn r12347) -Feature(ette): Increase house animation frame number from 32 to 128. 16 years ago
frosch 08f0179916 (svn r12347) -Feature(ette): Increase house animation frame number from 32 to 128. 16 years ago
smatz 28c61fc4fd (svn r12099) -Documentation: add new RailGroundType to landscape.html 17 years ago
smatz a86921da41 (svn r12099) -Documentation: add new RailGroundType to landscape.html 17 years ago
frosch 9b2ca61044 (svn r12070) -Cleanup(r12042): Water-owner of shipdepots is no longer needed. Removed. 17 years ago
frosch e95e887772 (svn r12070) -Cleanup(r12042): Water-owner of shipdepots is no longer needed. Removed. 17 years ago
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.
17 years ago
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.
17 years ago
frosch 23e6411fb7 (svn r12029) -Feature: Allow trees on shore. 17 years ago
frosch a1c543e064 (svn r12029) -Feature: Allow trees on shore. 17 years ago
frosch 67e5fc5718 (svn r12027) -Documentation: Update 'landscape.html' and 'landscape_grid.html' to reflect reality and add some details. 17 years ago
frosch ef35cefddc (svn r12027) -Documentation: Update 'landscape.html' and 'landscape_grid.html' to reflect reality and add some details. 17 years ago
frosch 9d63fd232e (svn r11984) -Fix: Also draw corner shores under rail tracks. 17 years ago
frosch b329781ab2 (svn r11984) -Fix: Also draw corner shores under rail tracks. 17 years ago
peter1138 b967c9918e (svn r11934) -Codechange: add persistent random data for river and canal tiles. 17 years ago
peter1138 9ca929c812 (svn r11934) -Codechange: add persistent random data for river and canal tiles. 17 years ago
rubidium c3ae7faa13 (svn r11589) -Fix [FS#1514]: when ship depots got destroyed they always returned to water, even when it should've been canals. 17 years ago
rubidium cbb2d39860 (svn r11589) -Fix [FS#1514]: when ship depots got destroyed they always returned to water, even when it should've been canals. 17 years ago
rubidium d1a51ebb36 (svn r11320) -Codechange: make lower halftiles at coast floodable. Patch by frosch. 17 years ago
rubidium 2c67320bae (svn r11320) -Codechange: make lower halftiles at coast floodable. Patch by frosch. 17 years ago
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. 17 years ago
rubidium 4dca543135 (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. 17 years ago
rubidium 45b0b7755d (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 17 years ago
rubidium 3dd6362bb8 (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 17 years ago
glx 6a4be9758c (svn r10006) -Fix (FS#362): allow different signal types on one tile 17 years ago
glx 2958f0c53a (svn r10006) -Fix (FS#362): allow different signal types on one tile 17 years ago
rubidium 294a154bf7 (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road. 17 years ago
rubidium 253aa1b0b0 (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road. 17 years ago
rubidium d0a39a231a (svn r9913) -Update: the landscape documentation to reflect the changes to the road bits. 17 years ago
rubidium b82676be2a (svn r9913) -Update: the landscape documentation to reflect the changes to the road bits. 17 years ago
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.
17 years ago
maedhros 73ff939ddb (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.
17 years ago
belugas a06fb56746 (svn r9106) -Documentation: forgotten usage of m2 (storing TownID) in statue unmovable tile type 17 years ago
belugas e595130668 (svn r9106) -Documentation: forgotten usage of m2 (storing TownID) in statue unmovable tile type 17 years ago
belugas 639080ed05 (svn r8956) -Documentation : complete reference of m6 usage is now available.
A few little cleanups here and there.
18 years ago
belugas ed55f5f073 (svn r8956) -Documentation : complete reference of m6 usage is now available.
A few little cleanups here and there.
18 years ago
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...
18 years ago
belugas 7fd21fb29b (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...
18 years ago
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. 18 years ago
rubidium 4908115355 (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. 18 years ago
rubidium 9061f83055 (svn r8798) -Fix (8735): update documentation to reflect the used bits for drive through stations. 18 years ago
rubidium 62281f3853 (svn r8798) -Fix (8735): update documentation to reflect the used bits for drive through stations. 18 years ago
belugas 52bdfa5c63 (svn r8752) -Cleanup: Reformat, re-arrange, correct tag errors on landscape.html.
No addition nor correction on actual data
18 years ago
belugas 2b307647da (svn r8752) -Cleanup: Reformat, re-arrange, correct tag errors on landscape.html.
No addition nor correction on actual data
18 years ago
belugas 1b2516964d (svn r8365) -Cleanup: Remove unneeded and dead links, install Owner informations, add attribute m6.
More to come on that matter...
18 years ago
belugas 294723d03f (svn r8365) -Cleanup: Remove unneeded and dead links, install Owner informations, add attribute m6.
More to come on that matter...
18 years ago
peter1138 ab4141bf82 (svn r8103) -Docchange: Include station tile types used by RichK's airports 18 years ago
peter1138 85c466b1d1 (svn r8103) -Docchange: Include station tile types used by RichK's airports 18 years ago
rubidium afb5bd0bc6 (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location. 18 years ago
rubidium 5f88e81641 (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location. 18 years ago
celestar 8cd5daa533 (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
celestar d95e2c2dd1 (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals) 18 years ago
Darkvater 84cd451bd5 (svn r6443) -Fix (r6001): Please update the documentation if you mess with the _m[] bits! 18 years ago
Darkvater bd5f2b66cd (svn r6443) -Fix (r6001): Please update the documentation if you mess with the _m[] bits! 18 years ago
tron 5d1ae07dc5 (svn r5326) Remove the indicator bit for custom waypoint graphics, because it just contains redundant information
Yup-yup-ed by: peter1138
18 years ago
tron 9e28713c4c (svn r5326) Remove the indicator bit for custom waypoint graphics, because it just contains redundant information
Yup-yup-ed by: peter1138
18 years ago
peter1138 7826236b23 (svn r4724) - Newstations: Add per-tile random data for station tiles. 18 years ago
peter1138 530b413612 (svn r4724) - Newstations: Add per-tile random data for station tiles. 18 years ago
peter1138 f52f3fa55d (svn r4450) - NewStations, rename *CustomStationSprite() to *CustomStationSpecIndex() to reflect their use, and alter the test for determining if a station has customised graphics. 18 years ago
peter1138 857b8b045b (svn r4450) - NewStations, rename *CustomStationSprite() to *CustomStationSpecIndex() to reflect their use, and alter the test for determining if a station has customised graphics. 18 years ago
celestar 6c44bf5012 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas. 18 years ago
celestar a7d8ad0004 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas. 18 years ago
Darkvater 4014e36aec (svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
- The only change is that the nsignalsw.grf file is kept and that existing nightlies with PBS signals get those signals converted to combo-signals.
19 years ago
Darkvater 4e09974975 (svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
- The only change is that the nsignalsw.grf file is kept and that existing nightlies with PBS signals get those signals converted to combo-signals.
19 years ago
Darkvater f14fa3f6e0 (svn r3451) - Fix documentation; PBS bits were missing for bridge 19 years ago
Darkvater 7e604b72db (svn r3451) - Fix documentation; PBS bits were missing for bridge 19 years ago
Darkvater 7d17583a29 (svn r3445) - Fix: [ 1415379 ] Enhance documentation of lift destination
- Fix: wrong documentation of trees (Tron)
19 years ago
Darkvater 663b1c6c00 (svn r3445) - Fix: [ 1415379 ] Enhance documentation of lift destination
- Fix: wrong documentation of trees (Tron)
19 years ago
Darkvater a95a66c751 (svn r3327) - Fix: [ 1373581 ] landscape.html documentation. Railway types are stored in m3, not m4. According to the mask (RAILTYPE_MASK), this is should be 0..1 but 0..3 are actually reserved. (egladil) 19 years ago
Darkvater 15220f3578 (svn r3327) - Fix: [ 1373581 ] landscape.html documentation. Railway types are stored in m3, not m4. According to the mask (RAILTYPE_MASK), this is should be 0..1 but 0..3 are actually reserved. (egladil) 19 years ago
peter1138 479a9c2e47 (svn r3212) - Waypoints/Depots: Store waypoint index in m2 for waypoints. This moves the ground type bits from m2 to m4 for waypoints and depots (leaving room for depot index in m2 in future), and moves the custom graphics ID to the waypoint struct.
- Waypoints: Until now stat_id was saved but never assigned to. Instead we now save the GRFID/local index of the custom graphics so that GRF file changes can leave graphics intact.
19 years ago
peter1138 754d26407e (svn r3212) - Waypoints/Depots: Store waypoint index in m2 for waypoints. This moves the ground type bits from m2 to m4 for waypoints and depots (leaving room for depot index in m2 in future), and moves the custom graphics ID to the waypoint struct.
- Waypoints: Until now stat_id was saved but never assigned to. Instead we now save the GRFID/local index of the custom graphics so that GRF file changes can leave graphics intact.
19 years ago
tron 371cb91d7d (svn r3013) Update the documentation: The 'owner' attribute was renamed to 'm1' long ago 19 years ago
tron c3a73d4047 (svn r3013) Update the documentation: The 'owner' attribute was renamed to 'm1' long ago 19 years ago
tron 0d912f3811 (svn r2749) Fix typo in the tile documentation 19 years ago
tron 6abf8f89a2 (svn r2749) Fix typo in the tile documentation 19 years ago
tron e3f4aecd37 (svn r2659) Catch up with reality in the landscape documentation 19 years ago
tron 5c5840417e (svn r2659) Catch up with reality in the landscape documentation 19 years ago
hackykid 7f2424b241 (svn r2525) - Fix: [pbs] Fix a mistake in the comments/docs. 19 years ago
hackykid e5df099c9b (svn r2525) - Fix: [pbs] Fix a mistake in the comments/docs. 19 years ago
hackykid ab9c6f126d (svn r2516) - Feature: [pbs] Implement path-based-signalling. This allows multiple trains within the same signal block, provided their paths dont intersect. For this the block must have all exit and entry signals be pbs signals. Place these by ctrl-clicking 4 times on a normal signal.
- Feature: [pbs] Implement autoplacement of pbs blocks, when a block has an entry and an exit pbs signal, covert the entire block to pbs. Can be turned off in the patch settings.
 - Feature: [pbs] Allow showing of reserved status by making the tracks darker, when the pbs debug level is at least 1.
19 years ago
hackykid 60ddaf95f0 (svn r2516) - Feature: [pbs] Implement path-based-signalling. This allows multiple trains within the same signal block, provided their paths dont intersect. For this the block must have all exit and entry signals be pbs signals. Place these by ctrl-clicking 4 times on a normal signal.
- Feature: [pbs] Implement autoplacement of pbs blocks, when a block has an entry and an exit pbs signal, covert the entire block to pbs. Can be turned off in the patch settings.
 - Feature: [pbs] Allow showing of reserved status by making the tracks darker, when the pbs debug level is at least 1.
19 years ago
celestar 189a1c4017 (svn r2499) -Codechange: Moved the semaphore bit from bit 2 to bit 3 in _map_hi for rails, in order to make way for pbs 19 years ago
celestar 27e61cbd84 (svn r2499) -Codechange: Moved the semaphore bit from bit 2 to bit 3 in _map_hi for rails, in order to make way for pbs 19 years ago
Darkvater a25e6eb6bb (svn r1991) - Fix: Fix some of the gaping holes in the colouring, and added some additional info 20 years ago
Darkvater fea811a4b7 (svn r1991) - Fix: Fix some of the gaping holes in the colouring, and added some additional info 20 years ago
Darkvater eb1173c39a (svn r1988) - Docs: Added graphical representation of tile-data to docs section 20 years ago
Darkvater e98a7ff239 (svn r1988) - Docs: Added graphical representation of tile-data to docs section 20 years ago
celestar 2e357e69f9 (svn r1768) -Codechange: Store town index in _map2 of town tiles
Moved house type from _map2 to _map3_hi for MP_HOUSE
  Moved foundation and roadworks from _map2 to _map3 for
MP_STREET
  This increases game speed by a factor of around 15(!) if many cities are around.
  Converting an old game is done automagically, but can take a while
20 years ago
celestar 30a328705e (svn r1768) -Codechange: Store town index in _map2 of town tiles
Moved house type from _map2 to _map3_hi for MP_HOUSE
  Moved foundation and roadworks from _map2 to _map3 for
MP_STREET
  This increases game speed by a factor of around 15(!) if many cities are around.
  Converting an old game is done automagically, but can take a while
20 years ago
pasky d9096f9ea4 (svn r688) Fix eol-style (hopefully). 20 years ago
tron 3a7abc2a35 (svn r659) Support for cutomized TTDPatch-style new stations (no selector GUI yet) (pasky) 20 years ago
celestar eb50427670 (svn r581) -newgrf: Basic support for new stations - only waypoints supported now and only
the first custom one can be placed (no selector GUI, coming soon). This
also moves some global variables to {struct GRFFile} and reorders which
actions are processed in what stage, to get it all working together --
(pasky)
20 years ago
truelight efaeb275f7 (svn r1) Import of revision 975 of old (crashed) SVN 20 years ago