Alison Watson 5 years ago
parent
commit
2e5f9c35de

+ 1
- 0
pk7/acs/CWMain.ds View File

@@ -24,6 +24,7 @@ __library("CWMain");
24 24
 #define and				&&
25 25
 #define or				||
26 26
 #define INT_MAX			0x7FFFFFFF
27
+#define script			__extscript "ACS"
27 28
 
28 29
 __function void SWepFunc(str arg1, str arg2, str arg3)
29 30
 {

BIN
pk7/acs/CWMain.o View File


+ 2
- 2
pk7/acs/inc/CWAtchMenu.dh View File

@@ -1,6 +1,6 @@
1 1
 __library("CWAtchMenu");
2 2
 
3
-__script CW_MENUOPEN(int arg1)
3
+script CW_MENUOPEN(int arg1)
4 4
 {
5 5
 	/* id index
6 6
 	 * 30 - selected box
@@ -84,7 +84,7 @@ __script CW_MENUOPEN(int arg1)
84 84
 	goto start;
85 85
 };
86 86
 
87
-__script CW_MENUCLOSE(void)
87
+script CW_MENUCLOSE(void)
88 88
 {
89 89
 	ACS_NamedTerminate("CW_MENUOPEN",0);
90 90
 	for(int i = 30; i < 73; i++)

+ 1
- 1
pk7/acs/inc/CWAttach.dh View File

@@ -1,6 +1,6 @@
1 1
 __library("CWAttach");
2 2
 
3
-__script CW_ATTACH(int arg1)
3
+script CW_ATTACH(int arg1)
4 4
 {
5 5
 	switch(arg1)
6 6
 	{

+ 1
- 1
pk7/acs/inc/CWGetVal.dh View File

@@ -1,6 +1,6 @@
1 1
 __library("CWGetVal");
2 2
 
3
-__script CW_GETVAL(int arg1)
3
+script CW_GETVAL(int arg1)
4 4
 {
5 5
 	int pis_spdmod = CheckInventory("PistolFSpeedMod");
6 6
 	int pis_accmod = CheckInventory("PistolAccuracyMod");

+ 1
- 1
pk7/acs/inc/CWKeyFinder.dh View File

@@ -1,6 +1,6 @@
1 1
 __library("CWKeyFinder");
2 2
 
3
-__script CW_KEYFIND(void) __enter
3
+script CW_KEYFIND(void) __enter
4 4
 {
5 5
 	start:
6 6
 	int rel = GetPlayerInput(-1,MODINPUT_BUTTONS) & BT_RELOAD;

+ 1
- 1
pk7/acs/inc/CWLaser.dh View File

@@ -1,6 +1,6 @@
1 1
 __library("CWLaser");
2 2
 
3
-__script CW_LASER(void) __enter
3
+script CW_LASER(void) __enter
4 4
 {
5 5
 	start:
6 6
 	if( (CheckInventory("PistolLaz") and CheckWeapon("CPistol")) or (CheckInventory("ShotgunLaz") and CheckWeapon("CShotgun")) )

Loading…
Cancel
Save