#include <string>#include <stdlib.h>#include <iostream>#include <fstream>#include "SDL.h"#include "SDL_image.h"#include "sound.h"#include "misc.h"#include "tiledata.h"#include "tiles.h"#include "screen.h"#include "menu.h"#include "fgentity.h"#include "character.h"#include "fgitem.h"#include "player.h"#include "stats.h"#include "fgentitylist.h"#include "bgentity.h"#include "bgdraw.h"
Go to the source code of this file.
Defines | |
| #define | window_width 640 |
| #define | window_height 480 |
| #define | play_width 560 |
| #define | play_height 480 |
| #define | bit_depth 16 |
| #define | default_level1_mapfile "maps/level1.ppm" |
Functions | |
| int | main (int argc, char *argv[]) |
| #define bit_depth 16 |
| #define default_level1_mapfile "maps/level1.ppm" |
Definition at line 68 of file piedmont.cpp.
| #define play_height 480 |
Definition at line 66 of file piedmont.cpp.
| #define play_width 560 |
Definition at line 65 of file piedmont.cpp.
| #define window_height 480 |
| #define window_width 640 |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 70 of file piedmont.cpp.
References FGEntityList::add_fgentity(), paul_info::base_health, bit_depth, Screen::configure(), paul_info::damage, paul_info::direction, DOOR_BEGIN, DOOR_END, ENEMY_BEGIN, ENEMY_END, EXIT_BEGIN, EXIT_END, GENERATOR_BEGIN, GENERATOR_END, get_level_filename(), Tiles::get_tiledata(), GOLD_BEGIN, GOLD_END, paul_info::hitpoints, BGDraw::initialize(), KEY_BEGIN, KEY_END, paul_info::keys, paul_info::level, Sound::load_bgm(), Sound::load_sfx(), Tiles::load_tileimages(), Sound::NUM_SAMPLES, Sound::play_bgm(), Sound::play_sample_name(), POWERUP_BEGIN, POWERUP_END, process_tile(), paul_info::ranged, paul_info::score, SCROLL_BEGIN, SCROLL_END, BGDraw::set_background(), FGEntityList::set_background_draw(), FGEntityList::set_bgentity(), FGItem::set_damage(), BGDraw::set_display(), FGItem::set_generatorinfo(), FGEntity::set_index(), FGEntity::set_location(), FGItem::set_needkey(), FGItem::set_nextlevel(), FGItem::set_numframes(), BGDraw::set_paul_info(), Stats::set_paul_info(), FGEntity::set_paul_info(), Character::set_paul_info(), FGEntityList::set_paul_info(), Player::set_paul_info(), FGEntityList::set_player(), FGItem::set_pointchange(), FGItem::set_scorechange(), FGEntityList::set_screen(), Player::set_screen(), BGDraw::set_size(), Stats::set_stats_display(), FGItem::set_teleporterinfo(), FGEntity::set_tiledata(), Character::set_tileinfo(), FGEntity::set_walkable(), TELEPORTER_BEGIN, TELEPORTER_END, FGEntityList::test(), paul_info::tilesize, TILESIZE, TRAPS_BEGIN, TRAPS_END, Stats::update(), Screen::update_screen(), wait_frame(), paul_info::win_height, paul_info::win_width, window_height, and window_width.
1.5.5