OrbiterSDK and Visual Studio newbie here :hello:
I want to implement an MFD that works only with a sub-class of VESSEL3 that I also want to implement myself.
For this there are currently two projects in my Visual Studio Express 2010:
How do I have to setup my projects so that the MFD can cast the vessel instance to my AVTVessel base class?
I added AVTVessel.h to the MFD project and included it in the MFD's .cpp file but the file cannot be found.
Can I do both the vessel and MFD implementation in the very same Visual Studio project or do they need to be separate projects?
Are there any addons which do this and could be studied?
I want to implement an MFD that works only with a sub-class of VESSEL3 that I also want to implement myself.
For this there are currently two projects in my Visual Studio Express 2010:
- the implementation of my vessel base class (AVTVessel) which extends VESSEL3
- the implementation of my MFD (AVTMFD) that should only work for vessels which are sub-classes of the AVTVessel class
How do I have to setup my projects so that the MFD can cast the vessel instance to my AVTVessel base class?
I added AVTVessel.h to the MFD project and included it in the MFD's .cpp file but the file cannot be found.
Can I do both the vessel and MFD implementation in the very same Visual Studio project or do they need to be separate projects?
Are there any addons which do this and could be studied?