summaryrefslogtreecommitdiff
path: root/src/w_wad.c
AgeCommit message (Collapse)Author
2008-05-04Remove Vanilla Doom reload hack.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1140
2008-05-02Memory-mapped WAD access.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1136
2008-05-02Add W_CacheLumpNum,Name API to WAD code for releasing a lump back toSimon Howard
cache when it is no longer needed. Switch existing code to use the new API instead of Z_ChangeTag. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1134
2008-05-02Add WAD I/O abstraction layer - first step for mmapped WAD access.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1133
2008-03-09Split out configuration file code from m_misc.c into m_config.c. MoveSimon Howard
screenshot code into v_video.c Add M_FileLength common function for finding the length of an open file. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1102
2007-08-31Use gcc packed attribute for all structures read/written to disk. ThisSimon Howard
fixes architectures where structure fields are aligned differently to optimise reads, causing the game to crash. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 960
2007-06-16Switch to djb2 hash function and shut up compiler warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 908
2007-03-15Use SDL for endianness byte swapping. m_swap.c removed; m_swap.h renamedSimon Howard
to i_swap.h. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 857
2006-12-22Add definitions for PATH and directory separators.Simon Howard
Allow multiple directories to be specified in DOOMWADDIR, in the same way as PATH. Make -iwad search through all search paths for the specified IWAD. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 799
2006-11-10Fix for playing demos on PPC (actually, fix for loading single lumpSimon Howard
files on non-little-endian machines). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 749
2006-10-18Shut up warnings in w_wad.c.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 706
2006-10-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-09-20Fix code style :-)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 630
2006-09-20add extra defines when buildingRussell Rice
don't crash if numlumps = 0 (which is caused when an iwad has an invalid path) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 629
2006-09-02Add -nwtmerge option, which behaves the same as NWT's -merge option. What thisSimon Howard
does is load a PWAD, then search through the IWAD sprites list, removing lumps where there are lumps of the same name in the PWAD. The PWAD must then be loaded again with the normal -file option. This is needed to run TiC's Obituary TC: chocolate-doom -nwtmerge obtic2.wad -file obtic1.wad obtic2.wad -deh obtic1.deh Also add W_PrintDirectory debug function, W_AddFile changed to return handle. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 596
2006-06-16Add hash table for fast texture lookup; refactor P_GroupLines to use anSimon Howard
O(n) rather than O(n^2) algorithm: faster loading maps like sid.wad map03 Subversion-branch: /trunk/chocolate-doom Subversion-revision: 558
2006-03-24Ooops!Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 437
2006-03-24Generate a hash table for fast lump name lookups.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 436
2006-03-24Make memblock_t internal to z_zone.c. Adjust Z_ChangeTag #define toSimon Howard
cope with this. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 434
2006-02-03Support NWT-style WAD merging (-af and -as command line parameters).Simon Howard
Restructure WAD loading so that merged WADs are always loaded before normal PWADs. Remove W_InitMultipleFiles(). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 362
2006-01-24More endianness fixesSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 342
2006-01-10Shut up compiler warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 280
2005-10-08Store the cache as part of the lumpinfo_t struct. Add W_AddFile prototypeSimon Howard
to header. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 167
2005-08-30More Windows fixesSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 58
2005-08-30Windows fixesSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 57
2005-08-04Silence compiler warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 37
2005-08-04Loading diskSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 33
2005-07-23Use standard C file functions for WAD codeSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 15
2005-07-23Update copyright to GNU GPLSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 8
2005-07-23Initial revisionSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 4