d3dxof: Move X files parsing into a separate file.
This commit is contained in:
parent
3807ca733d
commit
eb4eda2757
|
@ -9,6 +9,7 @@ IMPORTS = dxguid uuid ole32 advapi32 kernel32
|
|||
C_SRCS = \
|
||||
main.c \
|
||||
d3dxof.c \
|
||||
parsing.c \
|
||||
regsvr.c
|
||||
|
||||
RC_SRCS = version.rc
|
||||
|
|
1252
dlls/d3dxof/d3dxof.c
1252
dlls/d3dxof/d3dxof.c
File diff suppressed because it is too large
Load Diff
|
@ -42,6 +42,8 @@
|
|||
#define MAX_SUBOBJECTS 500
|
||||
#define MAX_STRINGS_BUFFER 10000
|
||||
|
||||
#define MAX_DATA_SIZE 400000
|
||||
|
||||
typedef struct {
|
||||
DWORD type;
|
||||
LONG idx_template;
|
||||
|
@ -163,4 +165,10 @@ HRESULT IDirectXFileImpl_Create(IUnknown *pUnkOuter, LPVOID *ppObj);
|
|||
HRESULT IDirectXFileFileObjectImpl_Create(IDirectXFileObjectImpl** ppObj);
|
||||
HRESULT IDirectXFileFileSaveObjectImpl_Create(IDirectXFileSaveObjectImpl** ppObj);
|
||||
|
||||
BOOL read_bytes(parse_buffer * buf, LPVOID data, DWORD size);
|
||||
BOOL parse_template(parse_buffer * buf);
|
||||
void dump_template(xtemplate* templates_array, xtemplate* ptemplate);
|
||||
BOOL is_template_available(parse_buffer * buf);
|
||||
BOOL parse_object(parse_buffer * buf);
|
||||
|
||||
#endif /* __D3DXOF_PRIVATE_INCLUDED__ */
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue