jak-project/goalc/build_level/FileInfo.h
water111 c13934708a
Initial implementation of custom level tool (#1482)
* wip

* learning about colors

* gltf node stuff working

* cleanup

* support textures

* bvh generation seems reasonable

* tree layout

* frag packer, untested and doesnt do real stripping yet

* temp

* working collide frags

* handle bad inputs better

* clean up

* format

* include

* another include

* reorganize for release build use
2022-06-19 20:44:07 -04:00

28 lines
769 B
C++

#pragma once
#include <string>
#include "common/common_types.h"
class DataObjectGenerator;
struct FileInfo {
// (file-type symbol :offset-assert 4)
std::string file_type;
// (file-name basic :offset-assert 8)
std::string file_name;
// (major-version uint32 :offset-assert 12)
u32 major_version = 0;
// (minor-version uint32 :offset-assert 16)
u32 minor_version = 0;
// (maya-file-name basic :offset-assert 20)
std::string maya_file_name;
// (tool-debug basic :offset-assert 24)
std::string tool_debug;
// (mdb-file-name basic :offset-assert 28)
std::string mdb_file_name;
size_t add_to_object_file(DataObjectGenerator& gen) const;
};
FileInfo make_file_info_for_level(const std::string& file_name);