cocoaTouch/otherSrc/PascalImports.h
author koda
Sat, 23 Jan 2010 21:57:24 +0000
changeset 2702 48fc46a922fd
parent 2698 90585aba87ad
child 2754 ad4f81fbfb76
permissions -rw-r--r--
rewrite gamesetup to use less memory, rename effects to sound plus some nice actions, settings work in game again
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2678
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
     1
/*
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
     2
 *  PascalImports.h
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
     3
//  fpciphonedel
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
     4
//
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
     5
//  Created by Vittorio on 07/01/10.
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
     6
//  Copyright __MyCompanyName__ 2010. All rights reserved.
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
     7
 *
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
     8
 */
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
     9
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    10
#ifndef PASCALIMPORTS
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    11
#define PASCALIMPORTS
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    12
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    13
#ifdef __cplusplus
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    14
extern "C" {
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    15
#endif
2682
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    16
	
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    17
	/* add C declarations below for all exported Pascal functions/procedure
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    18
	 * that you want to use
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    19
	 */
2698
90585aba87ad objc/pascal finally working
koda
parents: 2697
diff changeset
    20
2702
48fc46a922fd rewrite gamesetup to use less memory, rename effects to sound plus some nice actions, settings work in game again
koda
parents: 2698
diff changeset
    21
	void Game(const char *args[]);
2698
90585aba87ad objc/pascal finally working
koda
parents: 2697
diff changeset
    22
90585aba87ad objc/pascal finally working
koda
parents: 2697
diff changeset
    23
2691
c0da3a98c01c initial support for engine protocol
koda
parents: 2683
diff changeset
    24
	int HW_protoVer(void);
2698
90585aba87ad objc/pascal finally working
koda
parents: 2697
diff changeset
    25
2682
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    26
	void HW_click(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    27
	void HW_zoomIn(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    28
	void HW_zoomOut(void);
2683
bad2a30d5d6c touch input: reset zoom, attack button
koda
parents: 2682
diff changeset
    29
	void HW_zoomReset(void);
2682
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    30
	void HW_ammoMenu(void);
2683
bad2a30d5d6c touch input: reset zoom, attack button
koda
parents: 2682
diff changeset
    31
	
2682
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    32
	void HW_allKeysUp(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    33
	
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    34
	void HW_walkLeft(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    35
	void HW_walkRight(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    36
	void HW_aimUp(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    37
	void HW_aimDown(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    38
	void HW_shoot(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    39
	
2678
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    40
#ifdef __cplusplus
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    41
}
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    42
#endif
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    43
2696
41aa7b56c17b settings are applied to game launch
koda
parents: 2691
diff changeset
    44
#endif