Skip to content

Commit

Permalink
Code maintenance NBT parsing (#256)
Browse files Browse the repository at this point in the history
* refactor NBT

remove C++11 warnings (override)
move Tag* code into own sub files

* cleanup

* remove keyword virtual from derived classes (is automatically set)
* add toUInt for Tag_Int
* use enum declaration in header file to define Tag value type
* detail warning messages in case base class is not able to implement functionality
* remove obsolete destructors
  • Loading branch information
EtlamGit authored Oct 11, 2021
1 parent c4856d3 commit a757683
Show file tree
Hide file tree
Showing 7 changed files with 739 additions and 639 deletions.
4 changes: 4 additions & 0 deletions minutor.pro
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ HEADERS += \
mapview.h \
minutor.h \
nbt.h \
nbt_tag.h \
nbt_tagdatastream.h \
overlayitem.h \
properties.h \
propertietreecreator.h \
Expand Down Expand Up @@ -75,6 +77,8 @@ SOURCES += \
mapview.cpp \
minutor.cpp \
nbt.cpp \
nbt_tag.cpp \
nbt_tagdatastream.cpp \
properties.cpp \
propertietreecreator.cpp \
searchblockpluginwidget.cpp \
Expand Down
Loading

0 comments on commit a757683

Please sign in to comment.