mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-01-17 05:18:21 +01:00
42 lines
700 B
C
42 lines
700 B
C
#pragma once
|
|
/*
|
|
This file is part of libswirl
|
|
*/
|
|
#include "license/bsd"
|
|
|
|
#include <functional>
|
|
#include "core_structs.h" // for ISP_TSP and co
|
|
#include "refsw_lists_regtypes.h"
|
|
|
|
struct RegionArrayEntry {
|
|
RegionArrayEntryControl control;
|
|
ListPointer opaque;
|
|
ListPointer opaque_mod;
|
|
ListPointer trans;
|
|
ListPointer trans_mod;
|
|
ListPointer puncht;
|
|
};
|
|
|
|
struct DrawParameters
|
|
{
|
|
ISP_TSP isp;
|
|
TSP tsp[2];
|
|
TCW tcw[2];
|
|
};
|
|
|
|
enum RenderMode {
|
|
RM_OPAQUE,
|
|
RM_PUNCHTHROUGH,
|
|
RM_OP_PT_MV, // OP and PT with modvol
|
|
RM_TRANSLUCENT,
|
|
RM_MODIFIER,
|
|
};
|
|
|
|
#define TAG_INVALID (1 << 31)
|
|
|
|
typedef u32 parameter_tag_t;
|
|
|
|
struct taRECT {
|
|
int left, top, right, bottom;
|
|
};
|