cocoaTouch/otherSrc/PascalImports.h
author koda
Sat, 27 Mar 2010 00:03:25 +0000
changeset 3091 9d05c8000ed4
parent 3063 0092dc37fbd6
child 3347 5d0ac8197eb7
permissions -rw-r--r--
some code polish for the ifrontend inu patch for translation
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
2799
558b29bf00c5 add a new way to fetch version info from pascal to c
koda
parents: 2754
diff changeset
    24
	void HW_versionInfo(short int*, char**);
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);
3015
20a9c8160e82 add jump and backjump controls
koda
parents: 2805
diff changeset
    39
	void HW_jump(void);
20a9c8160e82 add jump and backjump controls
koda
parents: 2805
diff changeset
    40
	void HW_backjump(void);
2682
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    41
	
2754
ad4f81fbfb76 touchinput works, invisible buttons added and initial support for chat
koda
parents: 2702
diff changeset
    42
	void HW_chat(void);
ad4f81fbfb76 touchinput works, invisible buttons added and initial support for chat
koda
parents: 2702
diff changeset
    43
	void HW_tab(void);
2805
36a8cebb91e8 new menupage ingame for common actions
koda
parents: 2799
diff changeset
    44
	void HW_pause(void);
3063
0092dc37fbd6 reworked interaction of engine/frontend when closing
koda
parents: 3015
diff changeset
    45
    
0092dc37fbd6 reworked interaction of engine/frontend when closing
koda
parents: 3015
diff changeset
    46
    void HW_terminate(BOOL);
2754
ad4f81fbfb76 touchinput works, invisible buttons added and initial support for chat
koda
parents: 2702
diff changeset
    47
	
2678
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    48
#ifdef __cplusplus
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    49
}
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    50
#endif
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    51
2696
41aa7b56c17b settings are applied to game launch
koda
parents: 2691
diff changeset
    52
#endif