Add gameobject flipping; prefabs autoload

This commit is contained in:
2023-01-05 21:34:15 +00:00
parent 1521593269
commit e24eef6c8f
11 changed files with 42 additions and 21 deletions

View File

@@ -54,9 +54,8 @@ static void gameobject_setpickcolor(struct gameobject *go)
int MakeGameobject()
{
if (gameobjects == NULL) arrsetcap(gameobjects, 100);
if (gameobjects == NULL) arrsetcap(gameobjects, 5000);
YughInfo("Making new gameobject");
struct gameobject go = {
.editor.id = arrlen(gameobjects),
.scale = 1.f,