Consider shadow as color.

This commit is contained in:
lzwdgc 2018-07-10 00:29:51 +03:00
parent 5c8565d9d1
commit d3aa6a395f
3 changed files with 8 additions and 9 deletions

View file

@ -40,7 +40,9 @@ target_link_libraries(mmo_extractor
file(GLOB mmp_extractor_src "mmp_extractor/*")
add_executable(mmp_extractor ${mmp_extractor_src})
target_link_libraries(mmp_extractor common)
target_link_libraries(mmp_extractor
common
)
file(GLOB model_src "model/*")
add_library(model ${model_src})

View file

@ -100,10 +100,7 @@ struct segment
uint16_t getTexture() const { return texture_index & 0x0fff; } // first 4 bits are unk (flags?)
};
struct shadow
{
uint8_t unk[4];
};
using shadow = color;
struct normal
{

View file

@ -16,16 +16,16 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "mmp.h"
#include <primitives/filesystem.h>
#include <iostream>
#include <set>
#include <stdint.h>
#include <string>
#include <sstream>
#include "mmp.h"
#include <primitives/filesystem.h>
using namespace std;
int main(int argc, char *argv[])