Go to the source code of this file.
Data Structures | |
| struct | ConfigFile |
Defines | |
| #define | DEFAULT_SCREEN_WIDTH 640 |
| #define | DEFAULT_SCREEN_HEIGHT 480 |
| #define | SCALE 1 |
| #define | SCREEN_WIDTH DEFAULT_SCREEN_WIDTH * SCALE |
| #define | SCREEN_HEIGHT DEFAULT_SCREEN_HEIGHT * SCALE |
| #define | FLASCREEN_WIDTH 320 |
| #define | FLASCREEN_HEIGHT 200 |
| #define | DEFAULT_FRAMES_PER_SECOND 500 |
| #define | NUMOFCOLORS 256 |
Functions | |
| void | init_vars () |
Variables | |
| ConfigFile | cfgfile |
| char * | cdDir |
Prequengine: a Little Big Adventure engine
Copyright (C) 2008 Prequengine team
Copyright (C) 2002-2007 The TwinEngine team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Definition in file main.h.
| #define DEFAULT_FRAMES_PER_SECOND 500 |
Default frames per second
Definition at line 44 of file main.h.
Referenced by init_configurations().
| #define FLASCREEN_HEIGHT 200 |
Original FLA screen height
Definition at line 42 of file main.h.
Referenced by process_frame(), and scale_fla_2x().
| #define FLASCREEN_WIDTH 320 |
Original FLA screen width
Definition at line 40 of file main.h.
Referenced by process_frame(), and scale_fla_2x().
| #define NUMOFCOLORS 256 |
Number of colors used in the game
Definition at line 47 of file main.h.
Referenced by adjust_palette(), black_2_white(), convert_pal_2_RGBA(), and set_back_pal().
| #define SCALE 1 |
Scale screen to double size
Definition at line 34 of file main.h.
Referenced by copy_screen(), and scale_fla_2x().
| #define SCREEN_HEIGHT DEFAULT_SCREEN_HEIGHT * SCALE |
Original screen height
Definition at line 38 of file main.h.
Referenced by add_redraw_area(), allocate_video_memory(), clear_screen(), copy_screen(), cross_fade(), draw_column_grid(), sdl_initialize(), set_clip(), and toggle_fullscreen().
| #define SCREEN_WIDTH DEFAULT_SCREEN_WIDTH * SCALE |
Original screen width
Definition at line 36 of file main.h.
Referenced by add_redraw_area(), add_redraw_current_area(), allocate_video_memory(), blit_box(), clear_screen(), copy_grid_mask(), copy_screen(), cross_fade(), draw_brick_sprite(), draw_character(), draw_column_grid(), draw_splitted_box(), init_screen_buffer(), scale_fla_2x(), sdl_initialize(), set_clip(), and toggle_fullscreen().
| void init_vars | ( | ) |
Definition at line 375 of file main.c.
References cellingGridIdx, currentlyFollowedActor, currentSceneIdx, currentTextBank, currMenuTextBank, currMenuTextIndex, isUsingOrhoProjection, leftMouse, needChangeScene, renderBottom, renderLeft, renderRight, renderTop, reqBgRedraw, rightMouse, sceneActors, sceneHero, SCREEN_TEXTLIMIT_BOTTOM, SCREEN_TEXTLIMIT_RIGHT, set_camera_position(), setSomethingVar1, setSomethingVar2, setSomethingVar3, and useCellingGrid.
Referenced by init_all(), and new_game().
| char* cdDir |
Configuration file structure
Contains all the data used in the engine to configurated the game in particulary ways.
A detailled information of all types are in main.h header file.
Definition at line 118 of file main.h.
Referenced by apply_celling_grid(), change_grid(), draw_button_gfx(), fade_in(), fade_out(), game_engine_loop(), giveup_menu(), init_cdrom(), init_configurations(), init_dialogue_bank(), init_engine(), main(), main_menu(), play_fla_movie(), play_fla_sample(), play_midi_music(), play_movie(), play_track_music(), play_track_music_cd(), play_track_music_mp3(), process_actors_drawlist(), process_menu(), scale_fla_2x(), sdl_initialize(), show_game_options(), show_giveup_menu(), stop_midi_music(), stop_sample(), stop_track_music(), stop_track_music_cd(), stop_track_music_mp3(), and toggle_fullscreen().
1.5.5