Subversion Repositories spk

Rev

Rev 52 | Rev 111 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 52 Rev 68
Line 1... Line 1...
1
/*
1
/*
2
 
2
 
3
EMP Built in Mod
3
EMP Built in Mod
4
 
4
 
5
*/
5
*/
6
#include "CyString.h"
6
#include "String.h"
7
 
7
 
8
#define EMP_X3AP 113
8
#define EMP_X3AP 113
9
#define EMP_X3TC 113
9
#define EMP_X3TC 113
10
#define EMP_X3 81
10
#define EMP_X3 81
11
#define EMPSIZE	641
11
#define EMPSIZE	641
12
 
12
 
13
CyString GetEMPText()
13
Utils::String GetEMPText()
14
{
14
{
15
	CyString strText;
15
	Utils::String strText;
16
 
16
 
17
	strText += "\t\t<t id=\"10053\">ZA_EMP_10053_WARE_CUSTOM1_1_999992cr</t>\n";
17
	strText += "\t\t<t id=\"10053\">ZA_EMP_10053_WARE_CUSTOM1_1_999992cr</t>\n";
18
	strText += "\t\t<t id=\"10063\">ZA_EMP_10063_WARE_CUSTOM2_1_476cr</t>\n";
18
	strText += "\t\t<t id=\"10063\">ZA_EMP_10063_WARE_CUSTOM2_1_476cr</t>\n";
19
	strText += "\t\t<t id=\"10073\">ZA_EMP_10073_WARE_CUSTOM3_1_392cr</t>\n";
19
	strText += "\t\t<t id=\"10073\">ZA_EMP_10073_WARE_CUSTOM3_1_392cr</t>\n";
20
	strText += "\t\t<t id=\"10083\">ZA_EMP_10083_WARE_CUSTOM4_1_1568cr</t>\n";
20
	strText += "\t\t<t id=\"10083\">ZA_EMP_10083_WARE_CUSTOM4_1_1568cr</t>\n";
Line 690... Line 690...
690
	strText += "\t\t<t id=\"62790\">ZB_EMP_62790_WARE_20_29</t>";
690
	strText += "\t\t<t id=\"62790\">ZB_EMP_62790_WARE_20_29</t>";
691
 
691
 
692
	return strText;
692
	return strText;
693
}
693
}
694
 
694
 
695
inline CyString GetX3Emp()
695
inline Utils::String GetX3Emp()
696
{
696
{
697
	CyString strText;
697
	Utils::String strText;
698
 
698
 
699
	strText += "28;0;0;0;0;81;10053;0;35714;1;1;0;35714;-10000;0;0;SS_WARE_SW_CUSTOM1_1;\n";
699
	strText += "28;0;0;0;0;81;10053;0;35714;1;1;0;35714;-10000;0;0;SS_WARE_SW_CUSTOM1_1;\n";
700
	strText += "28;0;0;0;0;82;10063;0;17;1;1;0;17;-100000;0;0;SS_WARE_SW_CUSTOM2_1;\n";
700
	strText += "28;0;0;0;0;82;10063;0;17;1;1;0;17;-100000;0;0;SS_WARE_SW_CUSTOM2_1;\n";
701
	strText += "28;0;0;0;0;83;10073;0;14;1;1;0;14;-100000;0;0;SS_WARE_SW_CUSTOM3_1;\n";
701
	strText += "28;0;0;0;0;83;10073;0;14;1;1;0;14;-100000;0;0;SS_WARE_SW_CUSTOM3_1;\n";
702
	strText += "28;0;0;0;0;84;10083;0;56;1;1;0;56;-100000;0;0;SS_WARE_SW_CUSTOM4_1;\n";
702
	strText += "28;0;0;0;0;84;10083;0;56;1;1;0;56;-100000;0;0;SS_WARE_SW_CUSTOM4_1;\n";
Line 1078... Line 1078...
1078
 
1078
 
1079
	return strText;
1079
	return strText;
1080
}
1080
}
1081
 
1081
 
1082
 
1082
 
1083
inline CyString GetX3TCEmp()
1083
inline Utils::String GetX3TCEmp()
1084
{
1084
{
1085
	CyString strtext;
1085
	Utils::String strtext;
1086
 
1086
 
1087
	CFileIO File("data\\tcemp");
1087
	CFileIO File("data\\tcemp");
1088
	bool read = false;
1088
	bool read = false;
1089
 
1089
 
1090
	if ( File.exists() )
1090
	if ( File.exists() )
Line 1092... Line 1092...
1092
		CyStringList *list = File.ReadLinesStr();
1092
		CyStringList *list = File.ReadLinesStr();
1093
		if ( list )
1093
		if ( list )
1094
		{
1094
		{
1095
			for ( SStringList *str = list->Head(); str; str = str->next )
1095
			for ( SStringList *str = list->Head(); str; str = str->next )
1096
			{
1096
			{
1097
				strtext += str->str;
1097
				strtext += str->str.ToString();
1098
				strtext += "\n";
1098
				strtext += "\n";
1099
			}
1099
			}
1100
			read = true;
1100
			read = true;
1101
 
1101
 
1102
			delete list;
1102
			delete list;