R-Type
2
Doom but in better
Loading...
Searching...
No Matches
Image.hpp
Go to the documentation of this file.
1
#pragma once
2
10
enum
image_enum
{
11
PLAYER_ASSET
,
12
MONSTER1_ASSET
,
13
MONSTER_MISSILE_ASSET
,
14
PLAYER_MISSILE_ASSET
,
15
MONSTER2_ASSET
,
16
OBSTACLE1_ASSET
,
17
OBSTACLE2_ASSET
,
18
POWERUP_ASSET
,
19
HEALTHPACK_ASSET
20
};
21
29
struct
Image
{
30
image_enum
asset_id
;
31
float
width
;
32
float
height
;
33
};
image_enum
image_enum
Defines the different types of image assets used in the game.
Definition
Image.hpp:10
HEALTHPACK_ASSET
@ HEALTHPACK_ASSET
Definition
Image.hpp:19
PLAYER_MISSILE_ASSET
@ PLAYER_MISSILE_ASSET
Definition
Image.hpp:14
OBSTACLE2_ASSET
@ OBSTACLE2_ASSET
Definition
Image.hpp:17
PLAYER_ASSET
@ PLAYER_ASSET
Definition
Image.hpp:11
POWERUP_ASSET
@ POWERUP_ASSET
Definition
Image.hpp:18
MONSTER_MISSILE_ASSET
@ MONSTER_MISSILE_ASSET
Definition
Image.hpp:13
MONSTER1_ASSET
@ MONSTER1_ASSET
Definition
Image.hpp:12
MONSTER2_ASSET
@ MONSTER2_ASSET
Definition
Image.hpp:15
OBSTACLE1_ASSET
@ OBSTACLE1_ASSET
Definition
Image.hpp:16
Image
Represents an image asset with a specified width and height.
Definition
Image.hpp:29
Image::asset_id
image_enum asset_id
Definition
Image.hpp:30
Image::width
float width
Definition
Image.hpp:31
Image::height
float height
Definition
Image.hpp:32
game_source
components
Image.hpp
Generated on Thu Feb 6 2025 22:34:20 for R-Type by
1.12.0