from dataclasses import dataclass from Options import PerGameCommonOptions, Toggle, Choice class ShuffleDoors(Toggle): """If enabled, most doors will open from receiving an item rather than fulfilling the in-game requirements.""" display_name = "Shuffle Doors" class KeyholderSanity(Toggle): """ If enabled, 26 locations will be created for placing each key into its respective Green Ending keyholder. NOTE: This does not apply to the two disappearing keyholders in The Congruent, as they are not part of Green Ending. """ display_name = "Keyholder Sanity" class DaedalusRoofAccess(Toggle): """ If enabled, the player will be logically expected to be able to go from the castle entrance to any part of Daedalus that is open to the air. If disabled, the player will only be expected to be able to enter the castle, the moat, Icarus, and the area at the bottom of the stairs. Invisible walls that become opaque as you approach them are added to the level to prevent the player from accidentally breaking logic. """ display_name = "Allow Daedalus Roof Access" class VictoryCondition(Choice): """Victory condition.""" display_name = "Victory Condition" option_gray_ending = 0 option_purple_ending = 1 option_mint_ending = 2 option_black_ending = 3 option_blue_ending = 4 option_cyan_ending = 5 option_red_ending = 6 option_plum_ending = 7 option_orange_ending = 8 option_gold_ending = 9 option_yellow_ending = 10 option_green_ending = 11 option_white_ending = 12 @dataclass class Lingo2Options(PerGameCommonOptions): shuffle_doors: ShuffleDoors keyholder_sanity: KeyholderSanity daedalus_roof_access: DaedalusRoofAccess victory_condition: VictoryCondition r'>author
path: root/src/consts.h
blob: e0af6cd3c8397c8e14145b977baeaf486ebcf075 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef CONSTS_H_9561E49C
#define CONSTS_H_9561E49C

const int GAME_WIDTH = 720;
const int GAME_HEIGHT = 480;

const int CANVAS_WIDTH = 240;
const int CANVAS_HEIGHT = 160;

const int LUCAS_MOVEMENT_SPEED = 2;
const int PARTY_FRAME_DELAY = 20; // true delay is this divided by movement speed (so for Lucas walking it's 10)

const int MESSAGE_TEXT_WIDTH = 196;

const int NUM_SPRITE_LAYERS = 2;

#endif /* end of include guard: CONSTS_H_9561E49C */