Crusader_Decomp/rebuild/remorse/include/remorse/combat_tactics.h
MaddoScientisto 8907604b84 Add core functionality for loading and processing game assets
- Implemented palette loading from binary files in `palette.cpp`.
- Added runtime utilities for reading text and JSON files in `runtime.cpp`.
- Created shape archive handling in `shape_archive.cpp`, including frame parsing and pixel decoding.
- Introduced type flag loading functionality in `type_flags.cpp`.
- Developed tests for combat tactics, entity dispatch entries, file system operations, fixed maps, flex archives, glob archives, map rendering, palette loading, shape archives, and type flags.
- Added a Python script for importing Ghidra-exported function slices with reporting capabilities.
2026-04-27 21:15:01 +02:00

22 lines
415 B
C++

#pragma once
#include <array>
#include <filesystem>
#include <optional>
#include <string>
#include <vector>
#include "remorse/compat.h"
namespace remorse {
struct CombatTactic {
u32 index = 0;
std::string name;
std::array<u16, 4> blockOffsets{};
std::vector<u8> bytecode;
};
std::optional<std::vector<CombatTactic>> loadCombatTactics(const std::filesystem::path& path);
} // namespace remorse