cocoaTouch/otherSrc/PascalImports.h
author koda
Sat, 16 Jan 2010 17:30:37 +0000
changeset 2698 90585aba87ad
parent 2697 75880595a9f1
child 2702 48fc46a922fd
permissions -rw-r--r--
objc/pascal finally working hwengine becomes a library for the iphone use custom sdl_image to fix bug remove thread code and forward_argc/forward_argv
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
90585aba87ad objc/pascal finally working
koda
parents: 2697
diff changeset
    21
	void Game(void);
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