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.
richk [Tue, 31 Jul 2007 22:56:30 +0000] rev 6741
(svn r10741) [NewGRF_ports] -Feature: Added multiblock import from newgrf. Catchment area (Prop 22) added.
rb_airport2.grf : Commuter airport FSM updated to include catchment area, and multiblock lock on pos 0x10 Flying. Will only commence landing if both runway, and inway (pos 14) are clear.
richk [Tue, 31 Jul 2007 22:52:47 +0000] rev 6740
(svn r10740) [NewGRF_ports] -Change: Order of vars in MovingData struct modified for gcc compilation.
richk [Tue, 31 Jul 2007 00:36:55 +0000] rev 6739
(svn r10738) [NewGRF_ports] -Feature: FSMblockmap class added. Basic FSM import complete. Need to handle multiple blocks on import. Aircraft controller recoded to work with new 128 bit blocks. Still need to write saveload for new blocks.
rb_airport2.grf updated. Commuter airport FSM working.
richk [Tue, 24 Jul 2007 22:16:32 +0000] rev 6738
(svn r10683) [NewGRF_ports] -Revert: Too eager to un-const... global search/replace removed too many. Restores necessary ones... for the moment ;)
Thanks to Rubidium for corrections.
richk [Tue, 24 Jul 2007 21:54:45 +0000] rev 6737
(svn r10682) [NewGRF_ports] -Feature: Added code to import FSM from within the newgrf, and allocate to compatible structures within Airport. Eventually, it will load to its own dedicated structures.
You can now build an aircraft in a hangar of the Commuter airport. Do not try to start the aircraft. Block handling is completely crippled atm.
opntitle.dat is disabled as existing state machines have been disabled, and it crashes. A load translator will be written later.
rb_airport2.grf updated.
richk [Mon, 23 Jul 2007 22:39:24 +0000] rev 6736
(svn r10668) [NewGRF_ports] -Change: Modified IsHangar(tile) to access the TileIndexDiffC hangar lists directly. This allows portFSM to no longer be an AirportFTAClass in the future, so long as it also contains a TileIndexDiffC list of the hangar locations.
richk [Mon, 23 Jul 2007 22:22:53 +0000] rev 6735
(svn r10667) [NewGRF_ports] -Change: Modified rb_airport2.grf to include Prop 1C, 1D, 1E, 1F. Hangar location is now working.
Cannot yet build aircraft as that requires a state machine to be loaded.
richk [Mon, 23 Jul 2007 22:20:36 +0000] rev 6734
(svn r10666) [NewGRF_ports] -Change: portFSM added to FSMportsSpec.
Un-const AirportFTAClass to allow dynamic creation of FSM.
Initialised with minimum blank data on Prop 08.
Prop 1D Hangar locations added. Placeholders added for Prop 1C, 1E, 1F.
IsHangar modified to work off airport or FSMport spec data, rather than graphics Id.
richk [Sun, 22 Jul 2007 22:28:46 +0000] rev 6733
(svn r10654) [NewGRF_ports] -Change: Can now load and save newgrf airports. Graphics correctly reloaded after save.