3883 Commits

Author SHA1 Message Date
ghaushe 87accb33dc cleanup of do_subtitles More work is still needed as add_text gets called
way too frequently, but do_subtitles is quite manageable now.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@707 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-07 04:31:30 +00:00
ghaushe d73e8ded19 Support for running without .ogg files being present.
This also moves all subtitle-page splitting into trackplayer.  The final stage
is to remove all of this code from do_sutitles (since it is no longer being
used).


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@706 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-07 03:31:25 +00:00
avolkov d5c3b119d1 Fixes potential crash
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@705 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-07 00:36:25 +00:00
ghaushe 9622db8e44 Slider and ff/frew should now behave well when track ends
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@704 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 18:38:07 +00:00
meep-eep aaef620504 OpenBSD fix.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@703 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 17:47:27 +00:00
meep-eep 1df065052e OpenBSD fix.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@702 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 17:46:06 +00:00
meep-eep 110e1f399b OpenBSD fix.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@701 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 17:33:31 +00:00
meep-eep 9846714376 Another fix for OpenBSD.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@700 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 17:21:25 +00:00
avolkov 64b6d08cab Minor cleanup and warning removal
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@699 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 16:46:57 +00:00
meep-eep 85a2c795ac Fixed problem with certain sh versions.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@698 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 16:04:15 +00:00
ghaushe eaaee4bf2f Removed unused files from the pleanet code. This should allow changing
DataOffs into a TFB_Image*


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@697 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 15:21:32 +00:00
mcmartin b3c3c4552a Strengthened the TFB_Draw library with constructors and destructors
Some code has been changed to use this, some redundant routines have been
removed or renamed


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@696 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 14:48:56 +00:00
avolkov 36c69054b8 Added 'nosound'; --sound=openal|mixsdl|none option; -a is gone
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@695 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 05:06:55 +00:00
avolkov dd5d85ca98 Added 'nosound'; --sound=openal|mixsdl|none option; -a is gone
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@694 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 04:56:04 +00:00
avolkov 2bcd5de8cf Added --sound=openal|mixsdl|none option; -a is gone
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@693 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 04:43:20 +00:00
avolkov 0651c4e8e5 Added 'nosound' driver; misc sound_chooser fixes and warning removals
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@692 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 04:41:55 +00:00
ghaushe f6bb075813 Fix problem where pressing 'down' when selecting SIS ship, caused flash
rect to gradually turn white (closes bug #130).  Fixed a potential
crash in the flash code when going from main-menu to load-screen


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@691 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 04:27:14 +00:00
ghaushe 406a322a5d Prevent a segfault when checking for playing tracks when none are queued.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@690 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-06 02:48:10 +00:00
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
gewlitys f2c38ac4dd Disabled img->dirty for now, it interfered badly with planet surface
zooming; cleaned some old comments


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@686 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 19:08:13 +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
avolkov fdaecb9e96 minor semantical correction
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@684 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 09:02:43 +00:00
avolkov 583a0c1202 Reverted melee ship selection box drawing; free_ship() is back; fixes #11, #29 and #30
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@683 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 08:57:26 +00:00
mcmartin 04d9ae174d Fixed stupid Lock/Unlock bug
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@682 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 07:23:21 +00:00
mcmartin 075ad942a4 Added STAMPFILL_PRIM support for non-screen Drawables
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@681 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 05:52:00 +00:00
avolkov 3ff6dd63aa Minor semantic fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@680 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 04:45:04 +00:00
avolkov f8830b8e5f MixSDL mixer: code cleanup (mixerint.h -- internal stuff -- added)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@679 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 04:43:51 +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
avolkov acfdfa9eda MixSDL mixer: code cleanup; resampling fixes; mixing quality improvements (smoothed-out clipping)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@677 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 03:43:51 +00:00
mcmartin 23f8be1d0c New document, describing the graphics libraries
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@676 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 01:34:52 +00:00
avolkov 4f006f65f0 SDL_ANYFORMAT uncommented (was commented out by mistake)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@675 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 01:31:56 +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
mcmartin 648cb1adbd Moved the definition of TFB_GFX_NUMSCREENS to where it belongs
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@672 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 01:02:11 +00:00
ghaushe 771331a5bd Make DEBUG_TRACK_SEM a compile-time define so it doesn't impact performance
of release builds


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@671 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 00:13:52 +00:00
gewlitys 384292799a Removed all bug entries and added URL to bugzilla database
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@670 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-05 00:00:40 +00:00
gewlitys 1c6be55f02 not needed anymore
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@669 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-04 23:44:07 +00:00
ghaushe 24fdfe52c9 chmmr timestamp info was missing
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@668 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-04 14:42:21 +00:00
ghaushe 6f89afc7fe Melnorm text should no longer overlap. Perhaps fix momentary
display of wrong subtitles too


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@667 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-04 05:27:54 +00:00
ghaushe e2ef3fffb4 correct another function definition mismatch in sound_chooser.c
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@666 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 21:29:08 +00:00
ghaushe f4fd9c74ae Removed done items from TODO, added new slider issues
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@665 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 20:35:44 +00:00
avolkov 3f964c218a Removed some things that were implemented/fixed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@664 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 20:04:29 +00:00
ghaushe 5f9485e540 Align stats on outfit screen -from Nic
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@663 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 19:02:53 +00:00
avolkov bb7be02b72 Include needed for some FPU math
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@662 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 18:25:57 +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 f56125d7ad Minor cleanup to audio merge.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@660 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 18:10:05 +00:00
meep-eep 241dc6d52d Doesn't depend on bash being in any specific location anymore.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@659 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 17:43:35 +00:00
ghaushe ce7f64e395 Add MixSDL/OpenAL merge to the .dsp file too
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@658 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 16:47:59 +00:00