mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-18 01:00:26 +02:00
58 lines
1.1 KiB
C
58 lines
1.1 KiB
C
/*
|
|
INTERFACE.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __INTERFACE_H
|
|
#define __INTERFACE_H
|
|
#pragma once
|
|
|
|
/* ---------- constants */
|
|
|
|
enum
|
|
{
|
|
_interface_font_system = 0,
|
|
_interface_font_terminal,
|
|
_interface_color_table_screen,
|
|
_interface_color_table_hud,
|
|
_interface_color_table_editor,
|
|
_interface_color_table_dialog,
|
|
_interface_hud_globals,
|
|
_interface_bitmap_motion_sweep,
|
|
_interface_bitmap_motion_sweep_mask,
|
|
_interface_bitmap_multiplayer_hud,
|
|
_interface_string_list_localization,
|
|
_interface_hud_digits,
|
|
_interface_bitmap_motion_blip,
|
|
_interface_bitmap_iface_map1,
|
|
_interface_bitmap_iface_map2,
|
|
_interface_bitmap_iface_map3,
|
|
NUMBER_OF_INTERFACE_TAGS
|
|
};
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
struct bitmap_data;
|
|
union point2d;
|
|
union real_rectangle2d;
|
|
|
|
/* ---------- prototypes/INTERFACE.C */
|
|
|
|
long interface_get_tag_index(short interface_tag_index);
|
|
void interface_draw_bitmap(
|
|
struct bitmap_data const *bitmap,
|
|
union point2d const *point,
|
|
union real_rectangle2d const *clip,
|
|
real scale,
|
|
real theta,
|
|
real fade);
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __INTERFACE_H
|