cocoaTouch/otherSrc/PascalImports.h
author convert-repo
Wed, 16 Jun 2010 04:10:50 +0000
changeset 3504 6a28efdec1f5
parent 3395 095273ad0e08
permissions -rw-r--r--
update tags
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[]);
3365
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents: 3347
diff changeset
    22
    void GenLandPreview();
2698
90585aba87ad objc/pascal finally working
koda
parents: 2697
diff changeset
    23
90585aba87ad objc/pascal finally working
koda
parents: 2697
diff changeset
    24
2799
558b29bf00c5 add a new way to fetch version info from pascal to c
koda
parents: 2754
diff changeset
    25
	void HW_versionInfo(short int*, char**);
2698
90585aba87ad objc/pascal finally working
koda
parents: 2697
diff changeset
    26
2682
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    27
	void HW_click(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    28
	void HW_zoomIn(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    29
	void HW_zoomOut(void);
2683
bad2a30d5d6c touch input: reset zoom, attack button
koda
parents: 2682
diff changeset
    30
	void HW_zoomReset(void);
2682
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    31
	void HW_ammoMenu(void);
2683
bad2a30d5d6c touch input: reset zoom, attack button
koda
parents: 2682
diff changeset
    32
	
2682
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    33
	void HW_allKeysUp(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    34
	
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    35
	void HW_walkLeft(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    36
	void HW_walkRight(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    37
	void HW_aimUp(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    38
	void HW_aimDown(void);
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    39
	void HW_shoot(void);
3015
20a9c8160e82 add jump and backjump controls
koda
parents: 2805
diff changeset
    40
	void HW_jump(void);
20a9c8160e82 add jump and backjump controls
koda
parents: 2805
diff changeset
    41
	void HW_backjump(void);
2682
d4c395f25db2 additional modifications for touch input
koda
parents: 2678
diff changeset
    42
	
2754
ad4f81fbfb76 touchinput works, invisible buttons added and initial support for chat
koda
parents: 2702
diff changeset
    43
	void HW_chat(void);
ad4f81fbfb76 touchinput works, invisible buttons added and initial support for chat
koda
parents: 2702
diff changeset
    44
	void HW_tab(void);
2805
36a8cebb91e8 new menupage ingame for common actions
koda
parents: 2799
diff changeset
    45
	void HW_pause(void);
3063
0092dc37fbd6 reworked interaction of engine/frontend when closing
koda
parents: 3015
diff changeset
    46
    
3347
5d0ac8197eb7 camera panning ftw
koda
parents: 3063
diff changeset
    47
	void HW_cursorUp(int);
5d0ac8197eb7 camera panning ftw
koda
parents: 3063
diff changeset
    48
	void HW_cursorDown(int);
5d0ac8197eb7 camera panning ftw
koda
parents: 3063
diff changeset
    49
	void HW_cursorLeft(int);
5d0ac8197eb7 camera panning ftw
koda
parents: 3063
diff changeset
    50
	void HW_cursorRight(int);
5d0ac8197eb7 camera panning ftw
koda
parents: 3063
diff changeset
    51
    
3063
0092dc37fbd6 reworked interaction of engine/frontend when closing
koda
parents: 3015
diff changeset
    52
    void HW_terminate(BOOL);
2754
ad4f81fbfb76 touchinput works, invisible buttons added and initial support for chat
koda
parents: 2702
diff changeset
    53
	
3395
095273ad0e08 adding a somewhat working autoration for ipad (uStore.pas and uWorld.pas got mixed in the last two commits)
koda
parents: 3385
diff changeset
    54
    void HW_setLandscape(BOOL);
2678
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    55
#ifdef __cplusplus
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    56
}
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    57
#endif
334016e8d895 injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff changeset
    58
2696
41aa7b56c17b settings are applied to game launch
koda
parents: 2691
diff changeset
    59
#endif