1
0
forked from 0ad/0ad
Commit Graph

1218 Commits

Author SHA1 Message Date
f1dac9c626 better error handling: lots of little changes.
added some error codes, tried to eliminate unspecific return -1  where
it made sense.

This was SVN commit r1436.
2004-12-01 21:37:01 +00:00
6c2f455547 added tga and raw encoders (based on common routine extracted from bmp encoder), so I wouldn't have to add NOT_IMPLEMENTED error returns :P
This was SVN commit r1435.
2004-12-01 21:34:49 +00:00
2c0d5c0248 bugfix: needs to use full path conversion routine
This was SVN commit r1434.
2004-12-01 21:34:01 +00:00
c0ef326340 1) file.cpp: add functions for relative path conversion, also better dox
2) ERR_PATH_LENGTH (instead of ERR_VFS_): now used by file.cpp also
3) better document file_enum and FileCB

This was SVN commit r1433.
2004-12-01 18:44:38 +00:00
f04af0077e ignore .svn folders (and their contents) when mounting dirs
This was SVN commit r1432.
2004-12-01 08:16:01 +00:00
4d83cba7e6 add required precompiled header include
This was SVN commit r1431.
2004-12-01 06:52:39 +00:00
2eed8a8b45 even longer SND_CARD_LEN
This was SVN commit r1430.
2004-11-30 23:40:44 +00:00
b8d0df4b03 Re-enabled crash-dumping exception handler
This was SVN commit r1427.
2004-11-30 15:52:10 +00:00
b50ddcc9bc Added all external libraries
This was SVN commit r1424.
2004-11-29 04:22:37 +00:00
MarkT
f930bf1df4 Added semi-intelligent text parser for XMLs - so that numeric properties on entities are no longer stored as strings instead.
This was SVN commit r1409.
2004-11-27 20:02:51 +00:00
d9f30a5d42 Faster Ogg reading (~2.5x in extremely unoptimised builds)
This was SVN commit r1408.
2004-11-27 04:14:34 +00:00
fe54b3deeb Fixed minor warnings
This was SVN commit r1406.
2004-11-27 03:22:04 +00:00
c82c7d2e2a Increased SND_CARD_LEN to handle "Realtek AC97 Audio"
This was SVN commit r1405.
2004-11-27 02:57:54 +00:00
caf8471132 Testing svk (and fixing tab usage)
This was SVN commit r1404.
2004-11-26 21:34:35 +00:00
Gee
caff02e8da I had to ask some things to make some word-processing easier/faster. Feel free to adjust anything that's crooked.
This was SVN commit r1395.
2004-11-24 23:47:48 +00:00
Gee
0adc8f6ca2 Unfinished Input box.
This was SVN commit r1394.
2004-11-24 23:39:52 +00:00
30ad195c0b Linux/GCC Compat
This was SVN commit r1393.
2004-11-23 23:56:10 +00:00
7bf6d11d8c "*.<ext>" filter as per new vfs_next_dirent
This was SVN commit r1392.
2004-11-23 23:52:52 +00:00
7a84eca26b "*.<ext>" filter as per new vfs_next_dirent; also use ARRAY_SIZE
This was SVN commit r1391.
2004-11-23 23:52:39 +00:00
5a09dcd81b "*.xml" filter as per new vfs_next_dirent
This was SVN commit r1390.
2004-11-23 23:52:13 +00:00
d9ed18f8ca fixed stupid bug, simplified vfs_next_dirent
This was SVN commit r1389.
2004-11-23 23:51:34 +00:00
86940ee0aa Minor changes in MP player handling, slightly more correct
This was SVN commit r1388.
2004-11-23 23:46:15 +00:00
b3cba5f48c Deadlock Fix in Linux code
This was SVN commit r1387.
2004-11-23 23:37:10 +00:00
313df4064c vfs_next_dirent filter can now match *? wildcards (no longer limited to extensions)
updated dox, and added ERR_VFS_DIR_END code

This was SVN commit r1386.
2004-11-23 21:12:18 +00:00
5c923bbe70 update filter dox to bring in line with new vfs_next_dirent
also accounts for new ERR_VFS_DIR_END code when checking errors

This was SVN commit r1385.
2004-11-23 21:11:00 +00:00
5857361da2 add ERR_VFS_DIR_END code
This was SVN commit r1384.
2004-11-23 21:08:59 +00:00
9a00cd11d5 add match_wildcard function (for vfs_next_dirent)
This was SVN commit r1383.
2004-11-23 20:52:03 +00:00
03db724b99 better error handling: no assert blowing up in your face if SndData_reload fails (or is made to fail)
This was SVN commit r1382.
2004-11-23 19:08:30 +00:00
2fe43a46fc Other changes to incomplete systems
This was SVN commit r1381.
2004-11-23 18:21:43 +00:00
033666c2de Various ancient changes that were never committed (since they don't quite work yet)
This was SVN commit r1380.
2004-11-23 18:19:27 +00:00
4596b7dfc8 sound driver version detect code takes DLL search path into account; hardened
This was SVN commit r1378.
2004-11-22 07:41:02 +00:00
3b5ab280d4 add win_exe_dir (application's start directory)
This was SVN commit r1377.
2004-11-22 07:40:32 +00:00
affc35521f remove dsound.h - fixes compile error on vc6/7 hybrid (probably mismatched DX headers)
This was SVN commit r1376.
2004-11-22 03:03:25 +00:00
2fadd87e4f remove zlib.h from header to xeromyces.cpp
it's only used to forward-declare a function used in the impl =>
shouldn't be in header
also added ZLIB_DLL before zlib.h

This was SVN commit r1375.
2004-11-22 00:19:08 +00:00
b2ba38e7a4 define ZLIB_DLL before zlib.h
This was SVN commit r1374.
2004-11-22 00:17:37 +00:00
af56d5829b improved png write code while searching for cause of bug #24
This was SVN commit r1373.
2004-11-22 00:10:16 +00:00
73834cee73 upgraded to libpng 1.2.7 to fix bug #24
This was SVN commit r1372.
2004-11-22 00:09:36 +00:00
bfd2a43dfb sound code: now uses DX5 (instead of default of DX8), more error checking vs. bug #33
This was SVN commit r1371.
2004-11-21 08:41:40 +00:00
daab6788b9 add SetPosition and SetGain wrappers. untested
This was SVN commit r1366.
2004-11-20 21:32:00 +00:00
d4f31c09da replace detect() with individual routines; add sound card system_info;
add g_Quickstart that skips writing system_info (speeds up startup by
700ms)

This was SVN commit r1364.
2004-11-19 22:58:01 +00:00
c9303e0e40 delay load dsound.dll
This was SVN commit r1363.
2004-11-19 22:56:17 +00:00
c6cf8593c9 add windows sound card info query (via directsound; OpenAL is entirely unhelpful)
This was SVN commit r1362.
2004-11-19 22:43:02 +00:00
d489c48652 safer check if TSC is useable (and CPU detect has occurred)
This was SVN commit r1361.
2004-11-19 22:42:20 +00:00
2f9a735232 add win_sys_dir for win-specific code
This was SVN commit r1360.
2004-11-19 22:41:37 +00:00
1ba56151ca explicit string size; remove reference to detect()
This was SVN commit r1359.
2004-11-19 22:41:05 +00:00
d5473db68e warning fix: remove redundant uint >= 0
This was SVN commit r1358.
2004-11-19 22:40:27 +00:00
4a9fc1e1d1 add sound card info; remove central detect() call
This was SVN commit r1357.
2004-11-19 22:40:00 +00:00
cda100e72d fix warning: cast -1 to uint
This was SVN commit r1353.
2004-11-18 20:56:45 +00:00
df2e7f1b08 fix warning: add typecast to JSVAL_NULL
This was SVN commit r1352.
2004-11-18 20:56:13 +00:00
e04df2616b remove redundant size_t >= 0 check to satisfy ICC
This was SVN commit r1351.
2004-11-18 20:52:27 +00:00