2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-06-27 23:01:55 +00:00

Add dumping of iw4 loaded sounds

This commit is contained in:
Jan
2020-10-18 17:41:14 +02:00
parent ac022ee78a
commit 019e772cd2
6 changed files with 130 additions and 3 deletions

View File

@ -0,0 +1,10 @@
#pragma once
#include <cstdint>
constexpr uint32_t MakeMagic32(const char ch0, const char ch1, const char ch2, const char ch3)
{
return static_cast<uint32_t>(ch0)
| static_cast<uint32_t>(ch1) << 8
| static_cast<uint32_t>(ch2) << 16
| static_cast<uint32_t>(ch3) << 24;
}