mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-14 17:33:25 +00:00
Consider shadow as color.
This commit is contained in:
parent
5c8565d9d1
commit
d3aa6a395f
3 changed files with 8 additions and 9 deletions
|
|
@ -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})
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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[])
|
||||
|
|
|
|||
Loading…
Reference in a new issue