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
b4fef6c1f2
fix incorrect 64-bit serialization
...
(was shifting u32 32 bits left, which is 0)
This was SVN commit r1350.
2004-11-18 20:51:49 +00:00
16287e8195
commented out EntityResolver LOG statement (less spew)
...
This was SVN commit r1339.
2004-11-16 18:22:54 +00:00
MarkT
d30e10042f
Minor changes to sound-script interface.
...
This was SVN commit r1332.
2004-11-15 22:30:01 +00:00
e1bb0a3d2e
get ride of separate snd_open_def (simplifies JS interface)
...
filename is assumed to be a definition file if extension == .txt
This was SVN commit r1329.
2004-11-15 18:34:13 +00:00
c3a331b73f
add JS sound binding
...
This was SVN commit r1328.
2004-11-15 18:23:39 +00:00
ae6baf5134
Changed all the spaces back into tabs
...
This was SVN commit r1326.
2004-11-15 13:38:07 +00:00
Fire Giant
8d7c180457
Fixed a missing comma on line 76, which made the batch-file not work any more.
...
This was SVN commit r1325.
2004-11-15 10:05:12 +00:00
2f27947101
Minor oops
...
This was SVN commit r1324.
2004-11-15 04:58:33 +00:00
Fire Giant
eb1424cb8f
Fixed a stupid typo (missing semicolon).
...
This was SVN commit r1315.
2004-11-14 21:16:39 +00:00
Fire Giant
a9fe8c0c61
Changed GUI load sequence in order to fix a problem which came up through the global objects being loaded before the main menu background object. The globals are now in 6_global.xml (should always be at the end of the load order) and the JS initialization now is in 1_init.xml.
...
This was SVN commit r1314.
2004-11-14 21:14:00 +00:00
fb09faf5be
Parser bug-fix
...
This was SVN commit r1313.
2004-11-14 18:56:13 +00:00
2bac35868b
Highly advanced unit-testing framework
...
This was SVN commit r1312.
2004-11-14 18:53:26 +00:00
4af3eca831
Prefer compile-time errors to run-time errors
...
This was SVN commit r1311.
2004-11-14 18:52:22 +00:00
64646cfbbf
Some more verbose error reporting
...
This was SVN commit r1307.
2004-11-12 22:11:04 +00:00
9a69d76feb
Minor update to add link to 5_atlas.xml, so that GUI development of the Atlas Editor is supported.
...
This was SVN commit r1303.
2004-11-11 23:51:52 +00:00
MarkT
793794649f
Combat code, some scripting, broken network, and fixed some bugs.
...
This was SVN commit r1301.
2004-11-11 07:09:32 +00:00
Calefaction
9b47d446d2
Updated to instansiate and tear down the mesh managed.
...
This was SVN commit r1300.
2004-11-08 22:21:50 +00:00
Calefaction
f257c67967
Updated to fix compile errors caued by missing CVertexProgram
...
This was SVN commit r1299.
2004-11-08 22:15:06 +00:00
Calefaction
efe4673f15
Removed, no longer needed. GLSL replacement coming.
...
This was SVN commit r1298.
2004-11-08 22:10:30 +00:00
Calefaction
11900f8b38
*** empty log message ***
...
This was SVN commit r1297.
2004-11-08 22:10:06 +00:00
Calefaction
82108a30c9
Removed, no longer needed (replacement using GLSL coming)
...
This was SVN commit r1296.
2004-11-08 22:09:28 +00:00
Calefaction
e3137cd302
Various updates, including the new MeshManager
...
This was SVN commit r1295.
2004-11-08 22:02:01 +00:00
f66de9d098
log when files are opened (used to arrange files in zip archive)
...
also added mtime to *_stat calls for XMB (check date instead of
checksum)
This was SVN commit r1288.
2004-11-07 23:00:32 +00:00
e48b5f9b64
enable file listing hook in ParseArgs
...
This was SVN commit r1287.
2004-11-07 22:46:57 +00:00
f76d099956
Proper Player Handling
...
This was SVN commit r1286.
2004-11-07 21:59:52 +00:00
c32e6d5215
String conversion fix/extension
...
This was SVN commit r1285.
2004-11-07 21:57:46 +00:00
3136791492
Linux/GCC Compat(tm)
...
This was SVN commit r1284.
2004-11-07 21:30:47 +00:00
5ab0be984b
CStr alterations
...
This was SVN commit r1283.
2004-10-31 22:00:01 +00:00
5e42dad394
CStr alterations
...
This was SVN commit r1282.
2004-10-31 20:29:09 +00:00
Calefaction
3c69a79f0f
Updated to output OpenGL version
...
This was SVN commit r1281.
2004-10-31 07:37:32 +00:00
Calefaction
955ddcf9a1
More programmable pipeline updates
...
This was SVN commit r1280.
2004-10-30 21:57:46 +00:00
2cf79ca6cf
more dox :]
...
This was SVN commit r1279.
2004-10-30 15:17:19 +00:00
4e7b6bd165
improved dox a bit; explicit deque_finished_bufs call, instead of changing update behavior via VS_ flags.
...
This was SVN commit r1278.
2004-10-25 13:07:34 +00:00
728e6e1f10
Update to fix likely GCC compile problem
...
This was SVN commit r1277.
2004-10-24 15:49:52 +00:00
Calefaction
09ce67303e
Updates to fix VC2K5 compile problem
...
This was SVN commit r1276.
2004-10-24 00:48:54 +00:00
06051e3628
cleaned up and documented. ready for use.
...
This was SVN commit r1275.
2004-10-23 19:55:41 +00:00
0c95417dec
Avoid type warnings
...
This was SVN commit r1274.
2004-10-23 19:24:55 +00:00
96807dd6f3
remove resource.h include - not needed, was actually referring to sced resource.h
...
This was SVN commit r1273.
2004-10-23 18:41:02 +00:00
Calefaction
7947293015
Initial programmable pipeline push
...
This was SVN commit r1272.
2004-10-23 18:13:54 +00:00
MarkT
d33d2e4450
Added some support for user profiles
...
This was SVN commit r1270.
2004-10-23 14:39:28 +00:00
01456b797c
further cleanup + fixed another shutdown order bug via h_force_close
...
This was SVN commit r1269.
2004-10-22 22:00:57 +00:00
6f114dcd5e
h_force_close support for sound shutdown issue
...
This was SVN commit r1268.
2004-10-22 21:58:03 +00:00
a8fff67c91
remove "p-pressed" debug_out
...
This was SVN commit r1267.
2004-10-22 21:54:31 +00:00
0f93e53e61
\n on debug_out
...
This was SVN commit r1266.
2004-10-21 15:08:10 +00:00
0a4c838185
Exciting space->tab transformations
...
This was SVN commit r1265.
2004-10-21 15:04:19 +00:00
27d52a8c45
WIP. have added some dox and armor-plated the lower-level components.
...
fixed shutdown order issue mentioned in task report.
further refactoring expected for vsrc_update et al (messy) and list_*
This was SVN commit r1264.
2004-10-20 23:18:52 +00:00
20061f0e38
due to h_allow_free, no longer rely on h_mgr cleaning up buffers (that was a hack, and wouldn't work if OpenAL is reset at runtime)_
...
now snd_cleanup before h_mgr_cleanup - makes sense anyway.
also added snd_update call that doesn't change OpenAL position - this is
so sound works in the main menu.
This was SVN commit r1263.
2004-10-20 23:16:38 +00:00
0540792825
add ERR_AGAIN error
...
This was SVN commit r1262.
2004-10-20 13:36:49 +00:00
1ef7ce088c
add support for forcibly closing cached files (needed when closing all active sounds before resetting openal)
...
This was SVN commit r1261.
2004-10-20 00:58:55 +00:00
0afc3c159d
trivialities: add extern, add assert to make sure oglInit called
...
This was SVN commit r1260.
2004-10-19 17:49:12 +00:00
d30c7ef9aa
use correct path to sound assets
...
This was SVN commit r1259.
2004-10-19 13:45:50 +00:00
8764693bd8
allow 0-length allocs without complaint (required when vfs_loading 0-length files, as happens with current art pack)
...
This was SVN commit r1258.
2004-10-19 13:29:51 +00:00
3c9823fd31
Don't override the printscreen key when the user's looking at some other program
...
This was SVN commit r1257.
2004-10-18 22:08:21 +00:00
34b553e2b2
remove ogg_display junk
...
This was SVN commit r1256.
2004-10-18 14:25:13 +00:00
Calefaction
50dee130ae
Updated to properly support LOD bias settings in config. Fixes mipmap blurryness.
...
This was SVN commit r1254.
2004-10-17 21:01:00 +00:00
e31edf4fb4
Fixed mouse-wheel zooming
...
This was SVN commit r1253.
2004-10-17 10:55:57 +00:00
b5d9f886a4
Don't complain when shutting down without having played a sound
...
This was SVN commit r1252.
2004-10-17 10:21:06 +00:00
f0f7f236b7
sound test filename -> game data, since ogg playing works again.
...
This was SVN commit r1251.
2004-10-16 20:55:56 +00:00
f144aa0686
as per meeting today, disabled use of OpenAL ogg extension; wrote a quick, ugly, no-good hack to decode OGG files 'manually' (using vorbis)
...
(it doesn't stream, it loads the whole thing into memory - baad)
but the steaming pile seems to work! all is good ;)
This was SVN commit r1250.
2004-10-16 20:54:24 +00:00
d272a7ebb4
remove ofs field for vfs_start_io - never used
...
This was SVN commit r1249.
2004-10-16 20:52:18 +00:00
90a0860081
Added load for 4_manual.xml.
...
This was SVN commit r1243.
2004-10-15 18:01:22 +00:00
1798a1ab1d
remove testing code that makes clicks do strange things ;)
...
This was SVN commit r1242.
2004-10-15 17:26:36 +00:00
45ffe69f90
fix sign conversion bug (int -> size_t)
...
This was SVN commit r1241.
2004-10-15 13:42:13 +00:00
390fe343a0
gives sound engine current position during update; also fixed sound shutdown order issue (must come after h_mgr_shutdown)
...
note: you will need to fiddle a bit to test this ATM: see
http://forums.wildfiregames.com/0ad/index.php?showtopic=1672 #5
This was SVN commit r1240.
2004-10-15 13:29:04 +00:00
cd24c9c6f7
fixes for RES_UNIQUE (used by sound instances) - no longer add such handles to the h_find lookup data struct, because it can't handle several instances backed by the same file
...
This was SVN commit r1239.
2004-10-15 13:19:37 +00:00
6f2c1fbb8c
WIP; still tons of debug code
...
now theoretically supports 3d positional sound; solidified snd data
provider -> VSource code
This was SVN commit r1238.
2004-10-15 13:18:34 +00:00
Gee
fd91563f42
Sorry! Totally forgot to add the CInput.cpp/h
...
This was SVN commit r1237.
2004-10-14 21:01:13 +00:00
Gee
cdf7334d34
Added GetHeight()
...
This was SVN commit r1236.
2004-10-14 10:10:43 +00:00
Gee
5b74afce82
Added unifont_height...
...
This was SVN commit r1235.
2004-10-14 10:09:51 +00:00
Gee
f4b410ff82
A bunch of updates:
...
- Added *unfinished* control input.
- The GUI captures the events now, so that you can't press anything in
the game if the GUI is infront of it. The GUI needs some cleaning up
though.
- Made the type 'empty' unpressable, because all those "0 0 100% 100%"
empties were just like pieces of glass making the user unable to select
anything in the game.
- A bunch of other updates I made like weeks ago and never committed.
This was SVN commit r1234.
2004-10-14 10:09:26 +00:00