Remove backup

This commit is contained in:
2025-06-03 19:29:46 +02:00
parent c5370a4614
commit 9b87ddef34
3 changed files with 0 additions and 33 deletions
-25
View File
@@ -1,25 +0,0 @@
#include "templates.h"
GHashTable *entity_templates;
void
EntityTemplates_init ()
{
entity_templates = g_hash_table_new (g_str_hash, g_str_equal);
Entity *tree = malloc (sizeof (Entity));
*tree = (Entity) {
.type = ENTITY_SOLID,
.mesh_type = ENTITY_MESH_X,
.origin = ENTITY_BOTTOM,
.position = { 0.0, 0.0, 0.0 },
.scale = { 1.0, 3.0, 1.0 },
.rotation = 0.0,
.texture = "tree0"
};
ET_ENTADD ("tree", tree);
}
/* To avoid confusion with EM_ENTADD. */
#undef ET_ENTADD
-1
View File
@@ -1 +0,0 @@
emssej@Komputer-Ze-Smieci.2233:1748755544
-7
View File
@@ -21,12 +21,5 @@ EntityTemplates_init ()
ET_ENTADD ("tree", tree);
}
/* Example function for a tick for an entity. */
void
example_entity_tick (Entity *entity)
{
entity->scale[1] += 0.0000001;
}
/* To avoid confusion with EM_ENTADD. */
#undef ET_ENTADD