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.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1318 8092fc87-c524-0410-9efc-e669fe64eaf9
PickMelee uses DoInput now, which also fixes some glitches involving
the keyrepeat when flight and menu keys are identical
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1315 8092fc87-c524-0410-9efc-e669fe64eaf9
Eventural conversion of all input to use the DoInput regime.
This patch covers HyperSpace and ship-to-ship combat.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1314 8092fc87-c524-0410-9efc-e669fe64eaf9
Simplified the gameinp routines; "CurrentInputState" and
"PulsedInputState" allow for keyrepeat information to be available or
ignored for every input action in the game.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1313 8092fc87-c524-0410-9efc-e669fe64eaf9
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.
This refactoring has the eventual goal of eliminating the special purpose
input code scattered throught battles, SuperMelee's menus, and IP
exploration.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1312 8092fc87-c524-0410-9efc-e669fe64eaf9
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.
All threads are guaranteed to get a WaitThread () on them when they're
finished now, which hopefully will stop thread ID leaking (bug #561).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1311 8092fc87-c524-0410-9efc-e669fe64eaf9
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.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1294 8092fc87-c524-0410-9efc-e669fe64eaf9
util.c to work around stupid conflict with VC6 (fixes bug #553)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1291 8092fc87-c524-0410-9efc-e669fe64eaf9
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".
An other function that's available through uioutils is
int uio_copyFile(uio_DirHandle *srcDir, const char *srcName,
uio_DirHandle *dstDir, const char *newName);
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1288 8092fc87-c524-0410-9efc-e669fe64eaf9
in preparation for the upcoming CDP architecture --
support for registering external decoders;
DukVid file IO changed from resX to uio
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1280 8092fc87-c524-0410-9efc-e669fe64eaf9
in preparation for the upcoming CDP architecture --
support for registering external decoders
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1279 8092fc87-c524-0410-9efc-e669fe64eaf9
The decoders are now virtualized, the high-level decoding code is unified
and any format is theoretically streamable.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1266 8092fc87-c524-0410-9efc-e669fe64eaf9
You *must* hold the GraphicsLock when calling SetFlashRect.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1265 8092fc87-c524-0410-9efc-e669fe64eaf9
Removed an unnecessary level of indirection;
decoder-specific data is kept together with general decoder data.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1261 8092fc87-c524-0410-9efc-e669fe64eaf9