Debian Codegraph @

src/platforms/gameshell.h

raw symbols SCIP
1
2 /**
3 *
4 * @file gameshell.h
5 *
6 * Part of the OpenJazz project
7 *
8 * @par Licence:
9 * Copyright (c) 2015-2026 Carsten Teibes
10 *
11 * OpenJazz is distributed under the terms of
12 * the GNU General Public License, version 2.0
13 *
14 */
15
16
17 #ifndef _GAMESHELL_H
18 #define _GAMESHELL_Hcxx . . $ `src/platforms/gameshell.h:18:9`!
19
20 #ifdef GAMESHELL
21
22 /* Device uses SDL1.2 */
23
24 // Video config
25 #define DEFAULT_SCREEN_WIDTH 320
26 #define DEFAULT_SCREEN_HEIGHT 240
27 #define FULLSCREEN_ONLY
28 #define NO_RESIZE
29 #define FULLSCREEN_FLAGS (SDL_FULLSCREEN | SDL_SWSURFACE | SDL_HWPALETTE)
30
31 // Controller config
32 #define NO_CONTROLLER_CFG
33
34 // Keyboard config
35 #define DEFAULT_KEY_JUMP (SDLK_j) /* A button */
36 #define DEFAULT_KEY_SWIM (SDLK_j) /* A button */
37 #define DEFAULT_KEY_FIRE (SDLK_k) /* B button */
38 #define DEFAULT_KEY_CHANGE (SDLK_o) /* Y button */
39 #define DEFAULT_KEY_ENTER (SDLK_RETURN) /* START button */
40 #define DEFAULT_KEY_ESCAPE (SDLK_ESCAPE) /* MENU button */
41 #define DEFAULT_KEY_STATS (SDLK_SPACE) /* SELECT button */
42 #define DEFAULT_KEY_PAUSE (SDLK_p)
43 #define DEFAULT_KEY_YES (SDLK_y)
44 #define DEFAULT_KEY_NO (SDLK_n)
45
46 #endif
47
48 #endif