mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-11-09 17:51:58 +00:00
refactor: support multiple variants for games in zonecode
This commit is contained in:
61 files changed
+411
-288
No files matched your search
@@ -1,9 +1,15 @@
|
||||
#include "BaseRenderingContext.h"
|
||||
|
||||
BaseRenderingContext::BaseRenderingContext(std::string game, const WordSize gameWordSize, std::vector<const FastFileBlock*> fastFileBlocks)
|
||||
BaseRenderingContext::BaseRenderingContext(std::string game,
|
||||
const WordSize gameWordSize,
|
||||
const std::endian endianness,
|
||||
std::vector<const FastFileBlock*> fastFileBlocks)
|
||||
: m_game(std::move(game)),
|
||||
m_word_size_mismatch(gameWordSize != OWN_WORD_SIZE),
|
||||
m_word_size(gameWordSize),
|
||||
m_pointer_size(GetPointerSizeForWordSize(gameWordSize)),
|
||||
m_endianness_mismatch(std::endian::native != endianness),
|
||||
m_endianness(endianness),
|
||||
m_blocks(std::move(fastFileBlocks)),
|
||||
m_default_normal_block(nullptr),
|
||||
m_default_temp_block(nullptr)
|
||||
|
||||
Reference in new issue
Block a user