mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 01:47:43 +00:00
RumbleFxTable: Use std::array for the lookup table
Strongly enforces the type of the array and also allows size querying, etc, directly from the type.
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "CRumbleVoice.hpp"
|
||||
#include <array>
|
||||
#include "Runtime/Input/CRumbleVoice.hpp"
|
||||
|
||||
namespace urde {
|
||||
|
||||
extern const SAdsrData RumbleFxTable[];
|
||||
using RumbleFXTable = std::array<SAdsrData, 24>;
|
||||
|
||||
extern const RumbleFXTable RumbleFxTable;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user