2582 Commits

Author SHA1 Message Date
ghaushe 7fc8986bbb Flash Mutex won't get created everytime SetFlashRect is called now
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@631 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-02 03:46:45 +00:00
meep-eep 3366b59125 Initialise the thread system before the memory system.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@630 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-02 00:07:24 +00:00
ghaushe 72322a330c Hopefully fix all crashing issues related to removing
DrawFromExtraScreen in the flash code


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@629 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-01 23:14:00 +00:00
mcmartin fcccc5a8f5 Purged SetGraphicStrength, as the arith_blit_frame routine supercedes it.
Cleaned up DCQ code appropriately to reflect this.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@626 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-01 06:02:50 +00:00
ghaushe 366c385cb0 finish cacheing code for flash. Build rect in memory, then Stamp to screen
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@625 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-01 05:13:58 +00:00
avolkov 5fd9ec1f70 added improved biadapt scaler for pure mode (--scale=biadv)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@623 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-31 09:27:49 +00:00
avolkov acb7d41e62 added improved biadapt scaler for pure mode (--scale=biadv); enabled nearest-neighboor scaler to use updated-region
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@622 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-31 09:25:43 +00:00
avolkov 604b291408 enabled biadapt to use the updated-region
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@621 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-31 04:24:17 +00:00
ghaushe 200acff93c fix o-scope so it works when showing music instead of voice
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@620 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-31 00:16:23 +00:00
mcmartin b278956958 TFB_FlushGraphics tracks smallest required rectangle to update or rescale
A partial version of only updating the smallest rectangle possible has
been implemented for no scaling and for ScaleNearest.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@618 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 21:24:51 +00:00
avolkov 3e5aad5001 allows loading some resources directly from files, bypassing res-ndx (temporary)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@617 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 21:16:23 +00:00
avolkov a3b093f1b8 removed SDL_mixer sound module
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@616 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 20:29:19 +00:00
avolkov 4d39b079dd removed unnecessary Intermidiate dir redirection (.obj name clashing cannot happen anymore)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@615 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 19:57:53 +00:00
ghaushe ff9c2aec9c missing {} around conditional statement
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@614 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 19:56:28 +00:00
ghaushe ab2ec7d451 fixes bad initialization for o-scope data, as well as an uninitialized var
in comm.c


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@613 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 19:50:56 +00:00
gewlitys 0795bd15b3 removed some redundant and outdated copyright messages
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@612 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 19:37:26 +00:00
avolkov 326130134e comment cleanup
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@611 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 19:34:49 +00:00
avolkov 2d9318065c mixer abstraction layer improvements
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@609 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 19:13:36 +00:00
avolkov 619877fed8 trivial fix for thread descriptor race
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@608 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 19:05:14 +00:00
mcmartin 528ec82d08 Second phase of SDL-Graphics modularization.
New primitives for drawing directly on TFB_Images and TFB_Canvases.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@607 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 07:47:41 +00:00
ghaushe b87d544049 updated for merge of mixsdl and openal common routines.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@606 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 06:33:52 +00:00
ghaushe 56735c4662 merge mixsdl and openal decoders. This removes a lot of duplicate code,
and should make maintenance a lot easier


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@605 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 06:21:23 +00:00
ghaushe 4fdceafc52 * fix o-scope problems with ff/frev and the streaming code
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@604 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 04:28:59 +00:00
avolkov 4116867a54 original buffer parameters stored for OpenAL compatibility
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@603 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 02:02:48 +00:00
mcmartin 59fe69b434 Fixed .dsp
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@602 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 00:07:41 +00:00
mcmartin 68d411effd First phase of remodularizing graphics code
This actually partially *breaks* modularization, at present, but that
will change once TFB_Canvas is fully implemented.  TFB_ImageStruct is
gone, use TFB_Image exclusively instead.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@601 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-29 22:30:54 +00:00
avolkov 71d95f092b common decoders for OpenAL and MixSDL (old removed)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@600 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-29 21:26:21 +00:00
avolkov 599db81e4d common decoders for OpenAL and MixSDL (old removed)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@599 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-29 20:45:26 +00:00
avolkov 3c9b61fddc commond decoders for OpenAL and MixSDL
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@597 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-29 20:23:12 +00:00
avolkov ecfc4fb6de common decoders for OpenAL and MixSDL
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@595 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-29 19:53:23 +00:00
ghaushe 32b5f08765 Adds crude SplioceMultiTrack support for SDL_Mixer so that the number-speech
patch will compile and run cleanly with all audio libs


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@593 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-29 17:49:05 +00:00
ghaushe b934c5749d change default to use pc fonts. I mean, why wouldn't you want them?
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@592 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-29 03:54:05 +00:00
ghaushe a40f9a695b smooth scrolling during comm (ff/frev) option --scroll=3do to enable
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@591 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-29 03:50:33 +00:00
ghaushe f7819c3cf6 * this should fix the slider length to be correct for all samples
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@589 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-27 20:23:15 +00:00
ghaushe 4ed4f72cf3 new streaming code for openal, mixsdl. Supports better subtitle alignemnt
and going forward-backwards one page at a time using the arrow keys


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@588 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-27 06:21:10 +00:00
meep-eep 38d82d7713 Replaced some malloc() calls to HMalloc. Similar for free() and realloc().
mem_init() is now called earlier in the main loop.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@587 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-27 02:12:32 +00:00
avolkov 3151e06906 mixsdl magic number endianness change (minor)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@586 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-26 19:47:15 +00:00
meep-eep 984887d371 Some little things; Removed compiler warnings, added some optimization.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@585 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-26 19:16:42 +00:00
avolkov 3ac91e2076 no cscope with -T 0 trivial bugfix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@584 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-26 17:14:05 +00:00
gewlitys af663e75c0 Fixed nextsampr being uninitialized in two places
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@583 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-26 11:18:58 +00:00
avolkov b022e5a07c new MixSDL mixer module for SDL_audio (experimental)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@582 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-26 06:41:35 +00:00
avolkov 2fa754d872 new MixSDL mixer module for SDL_audio (experimental)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@580 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-26 05:54:10 +00:00
avolkov 08710150e6 bool type added; assertion macro fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@579 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-25 19:30:06 +00:00
gewlitys 659dd69454 Fixed obvious bug with sfx & speech volume control
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@578 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-25 18:02:39 +00:00
avolkov b86d82bdd0 types.h addition to project tree
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@575 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-22 20:05:56 +00:00
avolkov 35cc49d12c Platform-independent integer types (draft 3)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@574 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-22 19:55:16 +00:00
ghaushe 9869021294 Fixed overlapping subtitles when changing tracks
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@572 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-22 02:50:41 +00:00
ghaushe e69bc8e1db minor optimization for main-menu flash. No longer draw to the entire screen
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@571 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-21 03:49:00 +00:00
ghaushe 795ab7723f * fixes for spliced tracks.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@570 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-20 02:37:28 +00:00
ghaushe 95c703ac69 New cacheing scheme for flash-frame (try 2). This one is much simpler
than the previous attempt at optimization, shouldn't have any of the
races, and has much lower overhead.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@569 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-19 04:55:36 +00:00