mirror of
https://github.com/open-goal/jak-project
synced 2026-06-25 10:12:14 -04:00
ea479bee98
* support enums * better compiler warnings * tweaks to build with clang
15 lines
347 B
C++
15 lines
347 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <unordered_map>
|
|
#include "common/common_types.h"
|
|
#include "common/type_system/TypeSpec.h"
|
|
|
|
struct GoalEnum {
|
|
TypeSpec base_type;
|
|
bool is_bitfield = false;
|
|
std::unordered_map<std::string, s64> entries;
|
|
|
|
bool operator==(const GoalEnum& other) const;
|
|
bool operator!=(const GoalEnum& other) const;
|
|
}; |