mirror of
https://github.com/zeldaret/ss
synced 2026-07-02 04:00:20 -04:00
26af4db82d
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
17 lines
476 B
C++
17 lines
476 B
C++
#ifndef BITWISE_FLAG_HELPERS_H
|
|
#define BITWISE_FLAG_HELPERS_H
|
|
|
|
#include "common.h"
|
|
|
|
class BitwiseFlagHelper {
|
|
public:
|
|
bool checkFlag(u16 slot, u16 shift, const u16 *pData, u16 flagCount);
|
|
bool checkFlag2(u16 slot, u16 shift, const u16 *pData, s32 flagCount) {
|
|
return checkFlag(slot, shift, pData, flagCount);
|
|
}
|
|
void setFlag(u16 slot, u16 shift, u16 *pData, u16 flagCount);
|
|
void unsetFlag(u16 slot, u16 shift, u16 *pData, u16 flagCount);
|
|
};
|
|
|
|
#endif
|