Initial commit
This commit is contained in:
19
source/editor/editorstate.c
Normal file
19
source/editor/editorstate.c
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "editorstate.h"
|
||||
#include <stdio.h>
|
||||
|
||||
/*
|
||||
void (*asset_command)(char *asset) = print_file;
|
||||
|
||||
void print_file(char *file)
|
||||
{
|
||||
printf("File path: %s\n", file);
|
||||
}
|
||||
|
||||
void set_new_model(char *modelPath)
|
||||
{
|
||||
printf("Loading new model: %s\n", modelPath);
|
||||
curActor->model = GetExistingModel(modelPath);
|
||||
strcpy(curActor->currentModelPath, modelPath);
|
||||
}
|
||||
|
||||
*/
|
||||
Reference in New Issue
Block a user