summaryrefslogtreecommitdiff
path: root/ZAPD/ZRoom/Commands/SetRoomBehavior.h
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2021-04-24 16:42:52 -0400
committerGitHub <noreply@github.com>2021-04-24 16:42:52 -0400
commit6d27dbaab3b32ccebb076895fac3cc6aa3240d6c (patch)
tree601c6ab5bef2f93b6d6ef4ba5506eb04dfb59c9f /ZAPD/ZRoom/Commands/SetRoomBehavior.h
parentee8bdea252db4c764f4a2567c32754118fdce10b (diff)
Fix most -Wall warnings (#115)
* started on basic type errors * Done. For now * remove libgfxd binary * Most warnings fixed * Fix conflicts and new warnings * Makefile * Sig * Clang format * destructor * Add a bunch of destructors * clear the scalars vector after freeing the elements * PR fixes (Anghelo Alf) * Fix most clang -Wall warnings
Diffstat (limited to 'ZAPD/ZRoom/Commands/SetRoomBehavior.h')
-rw-r--r--ZAPD/ZRoom/Commands/SetRoomBehavior.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ZAPD/ZRoom/Commands/SetRoomBehavior.h b/ZAPD/ZRoom/Commands/SetRoomBehavior.h
index 9f21662..9f89580 100644
--- a/ZAPD/ZRoom/Commands/SetRoomBehavior.h
+++ b/ZAPD/ZRoom/Commands/SetRoomBehavior.h
@@ -5,11 +5,11 @@
class SetRoomBehavior : public ZRoomCommand
{
public:
- SetRoomBehavior(ZRoom* nZRoom, std::vector<uint8_t> rawData, int rawDataIndex);
+ SetRoomBehavior(ZRoom* nZRoom, std::vector<uint8_t> rawData, uint32_t rawDataIndex);
- virtual std::string GenerateSourceCodePass1(std::string roomName, int baseAddress);
- virtual std::string GetCommandCName();
- virtual RoomCommand GetRoomCommand();
+ virtual std::string GenerateSourceCodePass1(std::string roomName, uint32_t baseAddress) override;
+ virtual std::string GetCommandCName() override;
+ virtual RoomCommand GetRoomCommand() override;
private:
uint8_t gameplayFlags;