789 Commits

Author SHA1 Message Date
ghaushe eb6878d7ee Clean up trackplayer.c Hopefully this removes many of the weird crashing
issues.  ZFP no longer stutter.  Rewind after playing sort-of works,
but still needs more work.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@689 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 02:23:33 +00:00
ghaushe 5ffa64991b Correctly detect button presses on keyboards with alternate key mappings.
This may fix the key-mapping issues Mac users have reported


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@688 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 20:19:07 +00:00
gewlitys 71e99b18cf OpenGL mode now fully supports partial screen updates
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@687 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 19:59:28 +00:00
avolkov be80caebf1 Fixed melee ship selection-box bugs
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@685 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 09:18:35 +00:00
ghaushe 224593e705 Added a 4th button DEVICE_BUTTON4 currently assigned as 'Esc' which
executes an emergency-escape (the old chord still works too)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@678 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 03:52:50 +00:00
gewlitys 54e97e3bca Biadapt and biadv scaling now works in OpenGL mode too; separated scaling
code from pure.c to 2xscalers.c


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@674 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 01:18:34 +00:00
ghaushe ffcf8c68dc Fix bug #5 (lockup when aborting orz initial communication)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@673 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 01:10:52 +00:00
ghaushe 6d712cc53b Minor changes to installer and installer directions
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@661 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 18:16:24 +00:00
ghaushe b20848a700 Added '-a' switch to go between OpenAL and MixSDL at runtime
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@656 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 16:33:32 +00:00
avolkov 63805946f3 Added melnorme number-speech
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@653 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 16:09:44 +00:00
avolkov e38e04270d added resource script and icons for win32
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@641 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-02 22:58:08 +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
avolkov b57dfabfcd added improved biadapt scaler for pure mode (--scale=biadv)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@624 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-31 09:48:48 +00:00
avolkov d8cf18e51b removed SDL_mixer sound module
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@619 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-30 22:06:47 +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
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 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 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
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
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 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 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
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
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
mcmartin 0b6470b809 New header file, explicitly for DrawCommands.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@554 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-14 14:24:42 +00:00
ghaushe 7f8f68cefe Added correct lander font - from fOSSiL
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@553 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-13 17:39:59 +00:00
ghaushe 982ae7ec88 -Updated menu system to support multiple hierarchies.
- fixed the PCmenu hierarchy for The Main Starmap, Manifest, and Scan menus
  - most menu functions now reside in menu.c (new file) instead of sis.c


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@551 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-13 05:13:44 +00:00
ghaushe 654b62a865 Protect checking clock state with a mutex to prevent deadlock condition
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@550 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-13 04:42:25 +00:00
ghaushe 1d133995b5 Renamed DrawText function to prevent name collisions in OSX - from peterb
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@548 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 22:46:38 +00:00
ghaushe 39ddda171e Added minor PCMenu cleanups (Gradient Colors, Outfit Screen) from Nic
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@547 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 22:22:32 +00:00
mcmartin 0a6d03fcae Streamlined and refactored DCQ interface
The DrawCommands have changed slightly, and a battery of interface
routines for enqueuing commands has been added to gfx_common.c.  This
code is relatively independent of the underlying graphics library, and
has been taken out of the sdl/3do* files.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@545 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 18:50:41 +00:00
gewlitys 1b7a8c8827 Fixed OpenGL colors on MacOS X
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@544 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 18:09:52 +00:00
ghaushe 9d829033c8 Changed cmd-line options once again (hopefully for the last time)
- new options are of format --opt=pc/3do
  - availiable options are --menu, --cscan, --font, --music
  - only --music has a 'short' version (-m) -e has been removed


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@543 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 03:44:35 +00:00
ghaushe 0e471c82cd Added alternating-pixel font effect (used for lander text messages)
- currently this is only enabled for PC, since the 3DO needs color changes
  - added new obbkgnd.21.png which is the correct background for pc lander txt
Changed "CAPTAIN", "FUEL", and "CREW" fonts (SIS) to be correct for PC
Set black background for flagstat.0.png to be true black


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@542 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 00:27:54 +00:00
ghaushe d3f142632b Added support for Gradiated fonts (as in 'FUEL', 'CREW')
- added option to use Gradiated font for Ship-name (as in PC version)
Changed cmd-line options for PC settings:  now '--pcopt=font,menu,scan'


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@541 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-11 19:49:43 +00:00
ghaushe dc52203d01 minor PCMenu fixes from Nic, fOSSiL, and PhracturedBlue
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@537 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-08 14:26:13 +00:00
ghaushe b1c28f2a41 Updated mingw directions, and made build process easier
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@536 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-08 05:53:47 +00:00
ghaushe 9dacb5c6ee added settings menu to PCMenus, use correct font for PCMenus.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@535 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-07 18:55:54 +00:00
ghaushe 611f3286b5 Added 'b' option to use PC Menus (text). See TODO for limitations
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@534 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-06 02:53:43 +00:00
ghaushe 8f91cb52f6 Initialize TimeCounter to 0 on load-game (this ensures the gameclock isn't
running in the savegame)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@532 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-05 23:19:52 +00:00
ghaushe bd8d3053d2 Added '-a' switch to support 'PC-style' course-scan (i.e. use text instead
of images)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@531 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-05 05:21:21 +00:00
ghaushe 7f0251ba4d Replaced CondVar with a Semaphore in the new Signalling code.
This removes the race between releasing the bank semaphore and starting the
WaitCondVar (which was causing deadlocks in Windows)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@529 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-04 16:55:31 +00:00
mcmartin 578cf23ba3 FlushGraphics now tracks and wakes each thread individually, lessening
the stuttering when multiple threads are performing Flush operations.

Also, a number of comments have been reworked for accuracy.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@527 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-03 12:14:19 +00:00
meep-eep af999b15ea updated
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@526 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-03 00:52:00 +00:00
gewlitys 67212a7491 Readded key repeat as the previous problem with it is now fixed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@524 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-02 20:39:29 +00:00
gewlitys 00e66a6815 Reverted key repeat because of some problems
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@523 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-02 19:31:39 +00:00