Could you implement these function that allows you to create an entity and bmap from a void* buffer? They should be easy to implement. The idea is to be able to these object from static data or an uncompressed buffer (using zlib or something), without using the add_buffer function. Memory can be managed manually, accessing and deleting.

I was thinking something like this:
Code:

ent_createbuffer(void* buffer, long size, VECTOR*, EVENT);
bmap_createbuffer(void* buffer, long size);


I am not sure if you need to pass the size of the buffer to the function.

It's use is something like this:
Code:

// ENTITY
void* buffer = file_load("model.mdl", NULL , &size);
ent_createbuffer(buffer, size, nullvector, NULL);
// BMAP
void* buffer = file_load("bitmap.bmp", NULL , &size);
bmap_createbuffer(buffer, size);



I would really benifit from these functions, and I am sure many others will too. What do you think about it conitec?

PS: Make sure it is avaiable in commercial version