Getting to the way it's supposed to be!
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
|
||||
build_release := false;
|
||||
|
||||
build :: (main_path: string, game_name: string) {
|
||||
set_working_directory(#filepath);
|
||||
build :: (main_path: string, game_name: string, working_dir: string = #filepath) {
|
||||
set_working_directory(working_dir);
|
||||
|
||||
w := compiler_create_workspace("Game");
|
||||
opts := get_build_options(w);
|
||||
@@ -18,6 +18,7 @@ build :: (main_path: string, game_name: string) {
|
||||
new_path: [..] string;
|
||||
array_add(*new_path, ..opts.import_path);
|
||||
array_add(*new_path, "../../modules");
|
||||
array_add(*new_path, "modules/ufbx");
|
||||
array_add(*new_path, "modules");
|
||||
opts.import_path = new_path;
|
||||
|
||||
@@ -163,6 +164,7 @@ generate_serialize_procedure_for_entity :: (code_struct: *Code_Struct) {
|
||||
}
|
||||
|
||||
note_struct :: (code_struct: *Code_Struct) {
|
||||
print("Type: %\n", code_struct.defined_type.name);
|
||||
if is_subclass_of(code_struct.defined_type, "Entity") {
|
||||
name := code_struct.defined_type.name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user