Changeset 657:02dbe9fe9d87 for src


Ignore:
Timestamp:
08/08/15 07:24:29 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added constant for P3D as well as a check for the version (re #273).

Location:
src/mlx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/const.py

    r656 r657  
    4545## Flight simulator type: X-Plane 10
    4646SIM_XPLANE10 = 4
     47
     48## Flight simulator type: Prepar3D
     49SIM_P3D = 5
    4750
    4851#-------------------------------------------------------------------------------
  • src/mlx/fsuipc.py

    r559 r657  
    381381                    fsType = const.SIM_MSFSX \
    382382                             if pyuipc.fs_version == pyuipc.SIM_FSX \
     383                             else const.SIM_P3D \
     384                             if pyuipc.fs_version == pyuipc.SIM_P3D \
    383385                             else const.SIM_MSFS9
    384386
Note: See TracChangeset for help on using the changeset viewer.