Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
soundcommand.hpp
Go to the documentation of this file.
1#pragma once
2
5
6using SoundID = unsigned long long;
7
8enum class SoundAction {
9 PLAY,
10 DO_DELETE // can't just be DELETE because that is already being set by some other macro on windows
11};
12
14 SoundCommand() = default;
17
21
22 DEF_SERIALIZE(Archive& ar, const unsigned int version) {
23 ar & id & action & source;
24 }
25};
GLuint id
Definition: glad.h:1776
GLsizei GLsizei GLchar * source
Definition: glad.h:1897
unsigned long long SoundID
Definition: soundcommand.hpp:6
SoundAction
Definition: soundcommand.hpp:8
Definition: soundcommand.hpp:13
DEF_SERIALIZE(Archive &ar, const unsigned int version)
Definition: soundcommand.hpp:22
SoundCommand(SoundID id, SoundAction action, const SoundSource &source)
Definition: soundcommand.hpp:15
SoundSource source
Definition: soundcommand.hpp:20
SoundCommand()=default
SoundID id
Definition: soundcommand.hpp:18
SoundAction action
Definition: soundcommand.hpp:19
Definition: soundsource.hpp:10