3883 Commits

Author SHA1 Message Date
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
meep-eep d6560a80bb Remove SDL_mixer from config, default to MixSDL.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@598 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-29 20:43:54 +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
avolkov 40af544daa minor error correction
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@594 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-29 18:05:15 +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 39cfa34a7c new MixSDL mixer module for SDL_audio (experimental)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@581 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-26 06:01:38 +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 aaf9932f6c code adaptation with types.h
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@577 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-22 20:36:27 +00:00
avolkov d579ddbb6b types.h is online
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@576 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-22 20:15:24 +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
gewlitys 76f9f1f65a updated
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@573 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-22 18:43:26 +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
ghaushe 32c0bf4723 Fixed some variable initialization issues (in do not care conditions, but still)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@568 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-19 03:03:53 +00:00
ghaushe 62d84d85db Fixed a hFree without a corresponding allocate
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@567 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-19 02:14:06 +00:00
ghaushe 2975dd0e52 Implemented voice-over subtitle synchronization
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@565 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-18 23:08:39 +00:00
mcmartin f585650073 DCQ optimization - phase 3 of 3
Replaced one big struct with tagged-union structure


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@564 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-18 20:15:12 +00:00
ghaushe c26c318c7b Patch to display ship stats (ala PC) in outfit screen, from Nic
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@563 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-18 04:45:32 +00:00
mcmartin e5aa5677a4 DCQ optimization (Phase 2 of 3)
This has dropped the .bss segment of the final binary by nearly 16MB.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@562 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-18 03:17:06 +00:00
ghaushe 9f76511706 Added infinity sign from fOSSiL
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@561 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-17 20:34:35 +00:00
meep-eep bcfd3d1f9e Added fixed introx.mod, from FoSSiL.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@560 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-17 19:21:32 +00:00
meep-eep 7f1653d91c Fixed .mod file, from fOSSiL.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@559 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-17 19:10:57 +00:00
mcmartin 2b2551f161 First phase in a DCQ optimization scheme (will have at least three phases)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@558 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-16 15:59:46 +00:00
ghaushe 568ce92ec3 Added patch to implement vertical text alignment (for subtitles) - from Nic
- adds alignment to Commander, Druuge, illwrath, yehat, and Utwig


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@557 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-16 04:30:25 +00:00
ghaushe 97f0989378 Added support for infinity symbol/ 'UNLIMITED' when showing RUs (Nic, fOSSiL)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@556 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-16 04:07:52 +00:00
gewlitys 35cc1d41d4 Fixed a problem in Create_Screen()
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@555 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-15 15:02:04 +00:00