074e3032c6
Properly reset keyrepeat delays when cancelling starmap In 0.3, if you go to the starmap, cancel, then go back to the menu, all while in IP, you'll end up keeping the (very fast) starmap keyrepeat for the menu itself.
mcmartin
2004-02-05 08:31:12 +00:00
c2f4470cb2
Rely on UpdateInputState's keyrepeat
mcmartin
2004-02-05 08:29:57 +00:00
ca35d119fa
Removed again some already deleted files which reappeared due to some bizarre cvs glitch
gewlitys
2004-01-27 19:24:30 +00:00
75ef6e0412
Input code refactoring, phase 2 PickMelee uses DoInput now, which also fixes some glitches involving the keyrepeat when flight and menu keys are identical
mcmartin
2004-01-25 06:00:53 +00:00
9df58b5f93
Input refactoring, phase 2 Eventural conversion of all input to use the DoInput regime. This patch covers HyperSpace and ship-to-ship combat.
mcmartin
2004-01-21 21:51:07 +00:00
7b2d5a6427
Input refactoring, phase 1 Instead of two structs with many members, these structs are now an array indexed by an enum. This makes it easier to take actions on the entirety of the input state. The input core itself (input/ and gameinp.c) look a lot messier at the moment; phase 2 will be to clean them up. This phase is mostly to get "typographical" changes across the code out of the way first to minimize update disruption.
mcmartin
2004-01-15 07:52:45 +00:00
702455687a
Thread creation and destruction is now handled by the main loop. Some modifications to the initialization code were also necessary to keep the system from deadlocking itself immediately; only subthreads may now call CreateThread or AssignTask.
mcmartin
2004-01-09 19:11:13 +00:00
248e1e4d6b
Sound code refactoring: core api is now virtualized, MixSDL is divided to generic mixer and driver entities
gewlitys
2004-01-04 03:38:04 +00:00
b729f3f1bc
Optimized MixSDL mixing and resampling routines (mono sources are no longer converted to stereo; removed "clipping smoothing" as it's not really the correct way to handle that; resampling routines now use integer arithmetic for calculating position; + some misc changes). This might fix bug #435.
gewlitys
2003-12-31 20:03:17 +00:00
41140b0e29
Don't use mikmod's hqmixer on big endian machines (workaround for bug #166)
gewlitys
2003-12-31 19:51:34 +00:00
91815f5676
_WINDOWS is not needed after all
gewlitys
2003-12-24 00:40:01 +00:00
3f8cbbacf4
Added some defines to avoid zlib linking problems in VC
gewlitys
2003-12-24 00:23:23 +00:00
2eaee9af88
Better-looking slave shield (bug #32), from Nic
gewlitys
2003-12-17 15:06:02 +00:00
d91cb3953d
Added a discussion of the various data structures used by the DoInput() regime, and by StarCon2Main.
mcmartin
2003-12-07 07:18:56 +00:00
c4eca53dbc
Fixed some glitches with crew modification (Bug #554)
mcmartin
2003-12-06 08:33:47 +00:00
ecce133af3
Fine control on menu sounds (bug #449) Smoothed out various warts in the interfaces that had to do with the global sound resource going NULL on occasion. Added sounds for page up/down where appropriate.
mcmartin
2003-12-05 07:29:02 +00:00
fbb8e3db38
Formatting changes to comply with 78 chars line width
gewlitys
2003-12-04 14:04:04 +00:00
4e74536a12
Replaced __FUNCTION__ with hand written string because VC6 doesn't support it
gewlitys
2003-12-04 13:07:17 +00:00
d8400d22de
Added libs/uio/utils.* to VC project file; renamed sc2code/utils.c to util.c to work around stupid conflict with VC6 (fixes bug #553)
gewlitys
2003-12-03 23:15:23 +00:00
7b882e5025
Updating with recent uio changes.
meep-eep
2003-11-02 12:52:47 +00:00
6065182283
Support for stdio file access through temporary files. Added relevant functions: uio_StdioAccessHandle *uio_getStdioAccess(uio_DirHandle *dir, const char *path, int flags, uio_DirHandle *tempDir); const char *uio_StdioAccessHandle_getPath(uio_StdioAccessHandle *handle); void uio_releaseStdioAccess(uio_StdioAccessHandle *handle); These are made available by including "uioutils.h" in addition to "uio.h".
meep-eep
2003-11-02 00:55:18 +00:00
07fb0bd04e
Interface changes: no more KIND ints, all context.name strings now; Initial version of Event system
avolkov
2003-10-27 05:01:10 +00:00
a6e4933338
Interface changes: no more KIND ints, all context.name strings now; Initial version of Event system
avolkov
2003-10-27 04:50:06 +00:00
a1656ce168
This file shouldn't have been committed in the first place. It just contains some thoughts on uio for my own use.
meep-eep
2003-10-26 21:53:23 +00:00
d3938135ae
Added uio_getFileLocation() and uio_getMountFileSystemType() to uio. Also some small improvements.
meep-eep
2003-10-24 02:49:26 +00:00
b45a4e4ffd
Added uio_getPhysicalAccess(), uio_getMountFileSystemType() and some small improvements.
meep-eep
2003-10-24 02:36:27 +00:00
bedf97dead
First CDP draft
avolkov
2003-10-19 17:48:37 +00:00
b28f8ef04d
Decoder interface additions and changes in preparation for the upcoming CDP architecture -- support for registering external decoders; DukVid file IO changed from resX to uio
avolkov
2003-10-19 11:36:14 +00:00
c5071bbaae
Decoder interface additions and changes in preparation for the upcoming CDP architecture -- support for registering external decoders
avolkov
2003-10-19 11:33:31 +00:00
c4fc899bcf
Fixed fuel usage estimate to selected destination on the starmap. Original bug, not reported.
meep-eep
2003-10-16 21:38:13 +00:00
250bd3e466
Task control normalized
mcmartin
2003-10-16 08:12:11 +00:00
7e8040a0dd
Sound decoders refactoring; The decoders are now virtualized, the high-level decoding code is unified and any format is theoretically streamable.
avolkov
2003-10-08 10:41:10 +00:00
37683f849f
Locking fixes (#504) You *must* hold the GraphicsLock when calling SetFlashRect.
mcmartin
2003-10-08 01:24:35 +00:00
47cb238191
DOS ending clips (LPF animation files); see tools/dos-lpf for format and extractor
avolkov
2003-10-03 07:04:10 +00:00
01aa2e92e9
DOS LPF animation files extractor
avolkov
2003-10-03 07:02:11 +00:00
4b4cf5f373
Bug #319 part 3 fix (fleeing yehat collision after menu)
avolkov
2003-10-01 16:11:42 +00:00
406e666094
Video decoder refactoring; Removed an unnecessary level of indirection; decoder-specific data is kept together with general decoder data.
avolkov
2003-09-24 20:46:48 +00:00
4af483c6af
Removing unnecessary SDL driver from video player. All SDL-specific code moved to tfb_draw system.
avolkov
2003-09-23 23:10:13 +00:00
63e22090d2
Movie player cleanup and additional comments
avolkov
2003-09-23 20:25:48 +00:00
cd98bb8a75
Sound effects list, from MarkVera
gewlitys
2003-09-20 12:10:59 +00:00
51aa717fc6
Migrated the GraphicsLock to an ordinary mutex; it is used exclusively for maintaining critical sections.
mcmartin
2003-09-20 07:38:23 +00:00
3e17b20d47
Relevant video routines moved to libs/video (video playback support phase 2)
avolkov
2003-09-20 01:28:32 +00:00
6fba824435
Added video player and .duk audio/video decoders; Code will attempt playing intro and victory movies (video playback support phase 2)
avolkov
2003-09-20 01:20:21 +00:00
fc49c38865
Added video player and .duk video decoder; Code will attempt playing intro and victory movies (video playback support phase 2)
avolkov
2003-09-20 01:17:21 +00:00
4031518aa5
Added video player (video playback support phase 2)
avolkov
2003-09-20 01:15:52 +00:00
1e08b8a527
Added video player and .duk video decoder (video playback support phase 2)
avolkov
2003-09-20 01:15:03 +00:00
f1e355898a
Buffer tagging and trackplayer chaining abstraction; Trackplayer-specific code is separated from the streamer and is done in callbacks; buffer-tagging is also callback-driven; (movie playback support phase 1)
avolkov
2003-09-18 10:02:10 +00:00
b33f1a5982
Thraddash dilalog fix (forgot to commit this before)
avolkov
2003-09-18 03:39:31 +00:00
c967decff0
Unified the recursive mutex implementations in MixSDL and DCQ code
mcmartin
2003-09-14 02:23:08 +00:00
e9c78782e7
Introduction and first deployment of CrossThreadMutex
mcmartin
2003-09-13 17:54:20 +00:00
a8ed3da9d4
Load/save icons don't flash anymore when in savegame menu (part of bug #291), from Paxtez
gewlitys
2003-09-13 16:21:12 +00:00
9a3b53d291
Savegame slot now defaults to the last one used during one execution of uqm (bug #477), from chmmravatar
gewlitys
2003-09-13 16:06:57 +00:00
b8f4f7dfe9
Fixed one-pixel glitch in shipyard when scrapping (bug #461), from Paxtez
gewlitys
2003-09-13 15:51:03 +00:00
fc5f75dbb9
Adjusted subtitle timings when there are no oggs (part of bug #362), from chmmravatar
gewlitys
2003-09-13 15:41:14 +00:00
50a80d6f63
Fixed crash in conversation summary and ffw/frew problem when selling data to Melnorme (bug #476), from chmmravatar
gewlitys
2003-09-13 15:08:51 +00:00
3358c8e571
XFormControl synchronized with mutexes instead of semaphores
mcmartin
2003-09-13 07:30:35 +00:00
96e1f955a0
Control memory with a mutex instead of a semaphore
mcmartin
2003-09-13 07:10:43 +00:00