mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
tabs -> spaces
git-svn-id: https://svn.eduke32.com/eduke32@6539 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
cba4b950ef
commit
a66703b01a
1 changed files with 15 additions and 15 deletions
|
@ -112,22 +112,22 @@ void SCRIPT_FreeSection(ScriptSectionType * section)
|
||||||
}
|
}
|
||||||
|
|
||||||
#define AllocSection(s) \
|
#define AllocSection(s) \
|
||||||
{ \
|
{ \
|
||||||
(s) = (ScriptSectionType *)Xmalloc(sizeof(ScriptSectionType)); \
|
(s) = (ScriptSectionType *)Xmalloc(sizeof(ScriptSectionType)); \
|
||||||
(s)->name = NULL; \
|
(s)->name = NULL; \
|
||||||
(s)->entries = NULL; \
|
(s)->entries = NULL; \
|
||||||
(s)->lastline = NULL; \
|
(s)->lastline = NULL; \
|
||||||
(s)->nextsection = (s); \
|
(s)->nextsection = (s); \
|
||||||
(s)->prevsection = (s); \
|
(s)->prevsection = (s); \
|
||||||
}
|
}
|
||||||
#define AllocEntry(e) \
|
#define AllocEntry(e) \
|
||||||
{ \
|
{ \
|
||||||
(e) = (ScriptEntryType *)Xmalloc(sizeof(ScriptEntryType)); \
|
(e) = (ScriptEntryType *)Xmalloc(sizeof(ScriptEntryType)); \
|
||||||
(e)->name = NULL; \
|
(e)->name = NULL; \
|
||||||
(e)->value = NULL; \
|
(e)->value = NULL; \
|
||||||
(e)->nextentry = (e); \
|
(e)->nextentry = (e); \
|
||||||
(e)->preventry = (e); \
|
(e)->preventry = (e); \
|
||||||
}
|
}
|
||||||
|
|
||||||
ScriptSectionType * SCRIPT_SectionExists(int32_t scripthandle, const char * sectionname)
|
ScriptSectionType * SCRIPT_SectionExists(int32_t scripthandle, const char * sectionname)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue