XenevaOS
Loading...
Searching...
No Matches
XenevaOS
Process
Doomgeneric
w_merge.h
Go to the documentation of this file.
1
//
2
// Copyright(C) 2005-2014 Simon Howard
3
//
4
// This program is free software; you can redistribute it and/or
5
// modify it under the terms of the GNU General Public License
6
// as published by the Free Software Foundation; either version 2
7
// of the License, or (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU General Public License for more details.
13
//
14
// DESCRIPTION:
15
// Handles merging of PWADs, similar to deutex's -merge option
16
//
17
// Ideally this should work exactly the same as in deutex, but trying to
18
// read the deutex source code made my brain hurt.
19
//
20
21
#ifndef W_MERGE_H
22
#define W_MERGE_H
23
24
#define W_NWT_MERGE_SPRITES 0x1
25
#define W_NWT_MERGE_FLATS 0x2
26
27
// Add a new WAD and merge it into the main directory
28
29
void
W_MergeFile
(
char
*filename);
30
31
// NWT-style merging
32
33
void
W_NWTMergeFile
(
char
*filename,
int
flags
);
34
35
// Acts the same as NWT's "-merge" option.
36
37
void
W_NWTDashMerge
(
char
*filename);
38
39
// Debug function that prints the WAD directory.
40
41
void
W_PrintDirectory
(
void
);
42
43
#endif
/* #ifndef W_MERGE_H */
44
flags
uint8_t flags
Definition
virtio.h:0
W_NWTDashMerge
void W_NWTDashMerge(char *filename)
W_MergeFile
void W_MergeFile(char *filename)
W_NWTMergeFile
void W_NWTMergeFile(char *filename, int flags)
W_PrintDirectory
void W_PrintDirectory(void)
Generated by
1.9.8