add 3D textures
This commit is contained in:
parent
5a5614e8ad
commit
b4d3f541e7
23 changed files with 817 additions and 144 deletions
|
|
@ -197,9 +197,10 @@
|
|||
}
|
||||
|
||||
#define FUNC5RID(m_type, m_arg1, m_arg2, m_arg3, m_arg4, m_arg5) \
|
||||
int m_type##allocn() { \
|
||||
for (int i = 0; i < m_type##_pool_max_size; i++) { \
|
||||
m_type##_id_pool.push_back(server_name->m_type##_create()); \
|
||||
List<RID> m_type##_id_pool; \
|
||||
int m_type##allocn(m_arg1 p1, m_arg2 p2, m_arg3 p3, m_arg4 p4, m_arg5 p5) { \
|
||||
for (int i = 0; i < pool_max_size; i++) { \
|
||||
m_type##_id_pool.push_back(server_name->m_type##_create(p1, p2, p3, p4, p5)); \
|
||||
} \
|
||||
return 0; \
|
||||
} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue