22 #ifndef QDENGINE_QDCORE_QD_FILE_OWNER 23 #define QDENGINE_QDCORE_QD_FILE_OWNER 32 void add_to_CD(
int cd_number) {
33 _cd_info |= 1 << cd_number;
35 void remove_from_CD(
int cd_number) {
36 _cd_info &= ~(1 << cd_number);
38 bool is_on_CD(
int cd_number = 1)
const {
39 int inf = (_cd_info) ? _cd_info : 1;
40 return (inf & (1 << cd_number));
42 void clear_cd_info() {
45 uint32 CD_info()
const {
48 void set_CD_info(uint32 inf) {
59 #endif // QDENGINE_QDCORE_QD_FILE_OWNER Definition: qd_file_owner.h:27
Базовый класс для игровых ресурсов.
Definition: console.h:28