Wed, 08 Aug 2007 01:56:10 +0000(svn r10825) [NewGRF_ports] -Feature: Airport subtype (prop 20) is now read. This restricts buildlist and usage of airports to the selected vehicle subtype. NewGRF_ports
richk [Wed, 08 Aug 2007 01:56:10 +0000] rev 6771
(svn r10825) [NewGRF_ports] -Feature: Airport subtype (prop 20) is now read. This restricts buildlist and usage of airports to the selected vehicle subtype.
Added Seaplanes as new subtype for Airports; bit3=1, value 0x08.
TODO: add Seaplane subtype to aircraft; build, etc.

Tue, 07 Aug 2007 23:15:28 +0000(svn r10824) [NewGRF_ports] -Feature: Added basic code for seaplane airport support. NewGRF_ports
richk [Tue, 07 Aug 2007 23:15:28 +0000] rev 6770
(svn r10824) [NewGRF_ports] -Feature: Added basic code for seaplane airport support.
Adds prop23 to the FSM spec, which sets a placement mask. Bit 7 of each byte in mask decides whether the tile must be placed on water. Non-water tiles in mask must be placed on non-water. Thus allowing some of FSMport to be on land, some on water.
Airport does not flood, but any aircraft on water at reload of a save will explode!
Added seaplaneport.grf as experiment/proof of concept based on small airport. This uses movement orders to a -8 altitude, relative to airport_tile height.
WARNING: There are no restrictions on what kind of aircraft may currently use airport. So it aint realistic... OK :)

Tue, 07 Aug 2007 15:11:52 +0000(svn r10819) [NewGRF_ports] -Codechange: remove a large amount of state machinery of the airports. NewGRF_ports
rubidium [Tue, 07 Aug 2007 15:11:52 +0000] rev 6769
(svn r10819) [NewGRF_ports] -Codechange: remove a large amount of state machinery of the airports.
[NewGRF_ports] -Fix: compilation on gcc.
[NewGRF_ports] -Fix: AIs building "old" airports.

Tue, 07 Aug 2007 14:58:55 +0000(svn r10818) [NewGRF_ports] -Codechange: remove the remnants of the old airports from the GUI. NewGRF_ports
rubidium [Tue, 07 Aug 2007 14:58:55 +0000] rev 6768
(svn r10818) [NewGRF_ports] -Codechange: remove the remnants of the old airports from the GUI.

Tue, 07 Aug 2007 01:25:46 +0000(svn r10817) [NewGRF_ports] -Fix: Committed one file too many. NewGRF_ports
richk [Tue, 07 Aug 2007 01:25:46 +0000] rev 6767
(svn r10817) [NewGRF_ports] -Fix: Committed one file too many.

Tue, 07 Aug 2007 01:23:09 +0000(svn r10816) [NewGRF_ports] -Change: Vertical movement now based on difference in heights between current position and target position, rather than just being in particular states. NewGRF_ports
richk [Tue, 07 Aug 2007 01:23:09 +0000] rev 6766
(svn r10816) [NewGRF_ports] -Change: Vertical movement now based on difference in heights between current position and target position, rather than just being in particular states.

Mon, 06 Aug 2007 19:52:12 +0000(svn r10815) [NewGRF_ports] -Fix: Waypoints class check from newstation code was preventing listing of new classes. NewGRF_ports
richk [Mon, 06 Aug 2007 19:52:12 +0000] rev 6765
(svn r10815) [NewGRF_ports] -Fix: Waypoints class check from newstation code was preventing listing of new classes.

Mon, 06 Aug 2007 03:18:02 +0000(svn r10806) [NewGRF_ports] -Change: Moved orientation buttons to match height of preview window. NewGRF_ports
richk [Mon, 06 Aug 2007 03:18:02 +0000] rev 6764
(svn r10806) [NewGRF_ports] -Change: Moved orientation buttons to match height of preview window.
Updated airports.grf with skidd13's version of daylight's arrows. Many thanks to both.

Mon, 06 Aug 2007 03:10:40 +0000(svn r10805) [NewGRF_ports] -Fix: Cleaned up some reported grfcodec warnings. NewGRF_ports
richk [Mon, 06 Aug 2007 03:10:40 +0000] rev 6763
(svn r10805) [NewGRF_ports] -Fix: Cleaned up some reported grfcodec warnings.

Mon, 06 Aug 2007 03:09:53 +0000(svn r10804) [NewGRF_ports] -Fix: Gui failed when layouts were not contiguous. eg. 01 and 07 NewGRF_ports
richk [Mon, 06 Aug 2007 03:09:53 +0000] rev 6762
(svn r10804) [NewGRF_ports] -Fix: Gui failed when layouts were not contiguous. eg. 01 and 07
Replaced _airport.orientation with _airport.layout_set to aid clarity. Added _airport.direction to store the actual direction. Added search and translation of clicked direction to _airport.layout_set.

Mon, 06 Aug 2007 01:24:26 +0000(svn r10803) [NewGRF_ports] -Change: simplified small airport availability callback NewGRF_ports
glx [Mon, 06 Aug 2007 01:24:26 +0000] rev 6761
(svn r10803) [NewGRF_ports] -Change: simplified small airport availability callback

Mon, 06 Aug 2007 00:44:01 +0000(svn r10802) [NewGRF_ports] -Feature: Added availability dates for airports, using callbacks. Gui modified to disable unavailable airports. If no airports available at all, airport placement disabled. NewGRF_ports
richk [Mon, 06 Aug 2007 00:44:01 +0000] rev 6760
(svn r10802) [NewGRF_ports] -Feature: Added availability dates for airports, using callbacks. Gui modified to disable unavailable airports. If no airports available at all, airport placement disabled.
Dates:
Small airport: 1932-1975 (late early start for testing purposes).
Commuter airport: 1971-2175.

Sun, 05 Aug 2007 23:43:56 +0000(svn r10801) [NewGRF_ports] -Add: saving of layout_set and orientation NewGRF_ports
glx [Sun, 05 Aug 2007 23:43:56 +0000] rev 6759
(svn r10801) [NewGRF_ports] -Add: saving of layout_set and orientation

Sun, 05 Aug 2007 23:06:58 +0000(svn r10800) [NewGRF_ports] -Add: saving of FSMblockmaps. NewGRF_ports
rubidium [Sun, 05 Aug 2007 23:06:58 +0000] rev 6758
(svn r10800) [NewGRF_ports] -Add: saving of FSMblockmaps.

Sun, 05 Aug 2007 17:30:37 +0000(svn r10797) [NewGRF_ports] -Fix: Orientation needed re-initialising when airport selection changed. NewGRF_ports
richk [Sun, 05 Aug 2007 17:30:37 +0000] rev 6757
(svn r10797) [NewGRF_ports] -Fix: Orientation needed re-initialising when airport selection changed.

Sun, 05 Aug 2007 17:08:40 +0000(svn r10796) [NewGRF_ports] -Feature: rb_airport2.grf now includes Small Airport. NewGRF_ports
richk [Sun, 05 Aug 2007 17:08:40 +0000] rev 6756
(svn r10796) [NewGRF_ports] -Feature: rb_airport2.grf now includes Small Airport.

Sun, 05 Aug 2007 16:54:23 +0000(svn r10795) [NewGRF_ports] -Change: GSF_FSMPORTS now uses separate explicit Case, rather than default fallthrough. NewGRF_ports
richk [Sun, 05 Aug 2007 16:54:23 +0000] rev 6755
(svn r10795) [NewGRF_ports] -Change: GSF_FSMPORTS now uses separate explicit Case, rather than default fallthrough.

Sun, 05 Aug 2007 16:52:48 +0000(svn r10794) [NewGRF_ports] -Fix: Orientation not initialised on re-selection of gui. NewGRF_ports
richk [Sun, 05 Aug 2007 16:52:48 +0000] rev 6754
(svn r10794) [NewGRF_ports] -Fix: Orientation not initialised on re-selection of gui.

Sun, 05 Aug 2007 16:51:28 +0000(svn r10793) [NewGRF_ports] -Fix: When replacing a deleted airport, this assert triggered unnecessarily. Removed. NewGRF_ports
richk [Sun, 05 Aug 2007 16:51:28 +0000] rev 6753
(svn r10793) [NewGRF_ports] -Fix: When replacing a deleted airport, this assert triggered unnecessarily. Removed.

Sun, 05 Aug 2007 01:05:26 +0000(svn r10791) [NewGRF_ports] -Change: Modified rb_airport2.grf to use MeusH minipic of commuter airport. Corrected fences of orientation 03. NewGRF_ports
richk [Sun, 05 Aug 2007 01:05:26 +0000] rev 6752
(svn r10791) [NewGRF_ports] -Change: Modified rb_airport2.grf to use MeusH minipic of commuter airport. Corrected fences of orientation 03.

Sun, 05 Aug 2007 00:39:42 +0000(svn r10790) [NewGRF_ports] -Codechange: constify the fsmblockmaps where possible. NewGRF_ports
rubidium [Sun, 05 Aug 2007 00:39:42 +0000] rev 6751
(svn r10790) [NewGRF_ports] -Codechange: constify the fsmblockmaps where possible.
[NewGRF_ports] -Fix: a memleak.

Sun, 05 Aug 2007 00:38:26 +0000(svn r10789) [NewGRF_ports] -Fix (r10788): off-by-one; the "first" value must never be used as it is the marker for multiblocks. NewGRF_ports
rubidium [Sun, 05 Aug 2007 00:38:26 +0000] rev 6750
(svn r10789) [NewGRF_ports] -Fix (r10788): off-by-one; the "first" value must never be used as it is the marker for multiblocks.

Sun, 05 Aug 2007 00:09:19 +0000(svn r10788) [NewGRF_ports] -Fix: a multiblock of more than one block would always allocate a buffer of numblocks-1, overwrite the first block (everything was saved one byte too many to the left). As the number of read blocks was passed to the block initialization function, it would overread the buffer. NewGRF_ports
rubidium [Sun, 05 Aug 2007 00:09:19 +0000] rev 6749
(svn r10788) [NewGRF_ports] -Fix: a multiblock of more than one block would always allocate a buffer of numblocks-1, overwrite the first block (everything was saved one byte too many to the left). As the number of read blocks was passed to the block initialization function, it would overread the buffer.

Sat, 04 Aug 2007 22:10:08 +0000(svn r10786) [NewGRF_ports] -Fix: do not get a pointer of memory that might get overwritten and assume it is correct; just keep the returned struct as-is. NewGRF_ports
rubidium [Sat, 04 Aug 2007 22:10:08 +0000] rev 6748
(svn r10786) [NewGRF_ports] -Fix: do not get a pointer of memory that might get overwritten and assume it is correct; just keep the returned struct as-is.

Sat, 04 Aug 2007 21:46:03 +0000(svn r10785) [NewGRF_ports] -Fix: move the three dummy tables that are only needed in newgrf.cpp to newgrf.cpp so GCC can stop whining about unused variables. NewGRF_ports
rubidium [Sat, 04 Aug 2007 21:46:03 +0000] rev 6747
(svn r10785) [NewGRF_ports] -Fix: move the three dummy tables that are only needed in newgrf.cpp to newgrf.cpp so GCC can stop whining about unused variables.

Sat, 04 Aug 2007 21:33:27 +0000(svn r10784) [NewGRF_ports] -Feature: Added rotation of FSMport movement. NewGRF_ports
richk [Sat, 04 Aug 2007 21:33:27 +0000] rev 6746
(svn r10784) [NewGRF_ports] -Feature: Added rotation of FSMport movement.
Need to add saveload ability.

Sat, 04 Aug 2007 17:26:22 +0000(svn r10783) [NewGRF_ports] -Feature: Added placing FSMport in any of up to 4 different orientations. GUI now has a preview image for each orientation - not interactive, just a screenshot stored. NewGRF_ports
richk [Sat, 04 Aug 2007 17:26:22 +0000] rev 6745
(svn r10783) [NewGRF_ports] -Feature: Added placing FSMport in any of up to 4 different orientations. GUI now has a preview image for each orientation - not interactive, just a screenshot stored.
Next to modify the vehicle movement to account for the station orientation. Need to add saveload ability.
Commuter Airport rb_airport2.grf now includes 2 orientations.
airports.grf modified to include direction arrows.

Fri, 03 Aug 2007 18:24:48 +0000(svn r10767) [NewGRF_ports] -Add: Added sprite and nfo data for newgrf files. NewGRF_ports
richk [Fri, 03 Aug 2007 18:24:48 +0000] rev 6744
(svn r10767) [NewGRF_ports] -Add: Added sprite and nfo data for newgrf files.

Fri, 03 Aug 2007 18:10:15 +0000(svn r10766) [NewGRF_ports] -Sync: with trunk r10651-10765 NewGRF_ports
richk [Fri, 03 Aug 2007 18:10:15 +0000] rev 6743
(svn r10766) [NewGRF_ports] -Sync: with trunk r10651-10765

Tue, 31 Jul 2007 23:31:45 +0000(svn r10742) [NewGRF_ports] -Change: size_x and size_y needed to be stored in FTAClass for correct calculation of Cargo Acceptance. NewGRF_ports
richk [Tue, 31 Jul 2007 23:31:45 +0000] rev 6742
(svn r10742) [NewGRF_ports] -Change: size_x and size_y needed to be stored in FTAClass for correct calculation of Cargo Acceptance.