Subversion Repositories spk

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 cycrow 1
#include "../StdAfx.h"
2
#include "CustomiseShip.h"
3
 
4
#include "Form1.h"
5
 
6
namespace Creator {
7
	CyStringList *CustomiseShip::GetShields()
8
	{
9
		return ((Form1 ^)m_pMainForm)->GetShields();
10
	}
11
 
12
	CyStringList *CustomiseShip::GetLasers(int game)
13
	{
14
		return ((Form1 ^)m_pMainForm)->GetLasers(game);
15
	}
16
 
17
	CyStringList *CustomiseShip::GetMissiles(int game)
18
	{
19
		return ((Form1 ^)m_pMainForm)->GetMissiles(game);
20
	}
21
 
22
	CyStringList *CustomiseShip::GetCockpits()
23
	{
24
		return ((Form1 ^)m_pMainForm)->GetCockpits(this->ComboGame->SelectedIndex + 1);
25
	}
26
 
27
 
28
	String ^CustomiseShip::FindText(int game, int page, int id)
29
	{
30
		return ((Form1 ^)m_pMainForm)->FindText((game == -1) ? (this->ComboGame->SelectedIndex + 1) : game, page, id);
31
	}
32
}