4014 Commits

Author SHA1 Message Date
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 7b9af3cc3b Initial code for voice synchronization.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@566 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-18 23:26:17 +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
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
meep-eep 6d2fd94cfd Fix to command-line parsing.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@552 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-13 12:49:42 +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
meep-eep c8ffcd9aa2 Updated keys and commandline options.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@549 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-13 02:32:55 +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
meep-eep 993bc36790 Some symbol renames to avoid conflicts with Carbon on OSX.
The naming isn't very consistant now, but all this code will be redone
anyway with the new resource system.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@546 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 20:44:56 +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
meep-eep f9e93e95de Timing fixes, from fOSSiL.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@540 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-10 22:37:24 +00:00
meep-eep 8a35211f73 Tool for making mng animations, for later, from fOSSiL.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@539 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-10 15:58:25 +00:00
gewlitys e72cca8830 updated
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@538 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-10 11:57:18 +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
meep-eep 8d08a1a897 Little addition.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@533 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-06 01:58:24 +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
meep-eep fa6448e719 Fix for MS Windwos when a path contains a drive letter.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@530 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-04 23:41:34 +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
meep-eep c043017049 Don't add '-DHAVE_CONFIG_H' to CFLAGS, it's not used anymore.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@528 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-04 04:15:05 +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
meep-eep c4ae25cccd No longer use SHGetFolderPath on MS Windows.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@525 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-03 00:51:10 +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