Subversion Repositories spk

Rev

Rev 101 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#include "../StdAfx.h"
#include "CustomiseShip.h"

#include "Form1.h"

namespace Creator {
        CyStringList *CustomiseShip::GetShields()
        {
                return ((Form1 ^)m_pMainForm)->GetShields();
        }

        CyStringList *CustomiseShip::GetLasers(int game)
        {
                return ((Form1 ^)m_pMainForm)->GetLasers(game);
        }

        CyStringList *CustomiseShip::GetMissiles(int game)
        {
                return ((Form1 ^)m_pMainForm)->GetMissiles(game);
        }

        CyStringList *CustomiseShip::GetCockpits()
        {
                return ((Form1 ^)m_pMainForm)->GetCockpits(this->ComboGame->SelectedIndex + 1);
        }


        String ^CustomiseShip::FindText(int game, int page, int id)
        {
                return ((Form1 ^)m_pMainForm)->FindText((game == -1) ? (this->ComboGame->SelectedIndex + 1) : game, page, id);
        }
}