diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2021-05-26 20:04:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-26 20:04:02 -0400 |
| commit | 4410b554e835ab7844c8eb78fd54fa3842d50f16 (patch) | |
| tree | 065b8f53d6e1052c9f7ad1917c1b3b66d5eef645 /ZAPD/ZRoom/ZRoomCommand.cpp | |
| parent | 769f5702a422d14bfb0a60a39319da4b4bf9ec1f (diff) | |
Check XML resource attributes (#126)
* register attibutes
* fix array problems
* cutscene problems
* Set inner
* fix merge
* ups
* Run format
* small cleaning
* A small blob cleanup
* Simplify the logic a bit
* ups
* Fix merge problem
* Fix merge issues
* Fix merge issues
* fix merge-produced type
* Fix merge issues
* run format and update easteregg
* register ZPath attributes
* dumb problems
* How dumb can I be?
* future proof change
* empty commit
* Check if Width and Height attributes of ZTexture has only decimal digits
Diffstat (limited to 'ZAPD/ZRoom/ZRoomCommand.cpp')
| -rw-r--r-- | ZAPD/ZRoom/ZRoomCommand.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ZAPD/ZRoom/ZRoomCommand.cpp b/ZAPD/ZRoom/ZRoomCommand.cpp index e600ca4..6c45c32 100644 --- a/ZAPD/ZRoom/ZRoomCommand.cpp +++ b/ZAPD/ZRoom/ZRoomCommand.cpp @@ -40,9 +40,14 @@ std::string ZRoomCommand::GetCommandCName() const return "SCmdBase"; } -RoomCommand ZRoomCommand::GetRoomCommand() const +ZResourceType ZRoomCommand::GetResourceType() const { - return RoomCommand::Error; + return ZResourceType::RoomCommand; +} + +size_t ZRoomCommand::GetRawDataSize() const +{ + return 0x08; } std::string ZRoomCommand::GetCommandHex() const |
