2582 Commits

Author SHA1 Message Date
avolkov 4c40dcf6f0 Timing fixes: code patched to ensure the use of ONE_SECOND constant
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@709 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-07 07:01:23 +00:00
avolkov cf5ff4ddc1 Fixed obvious bug in color xform task (only showed up when timer resolution was cranked)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@708 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-07 05:09:49 +00:00
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
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
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 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 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
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
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 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 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
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
ghaushe f91e06d2e2 Can now compile OpenAL and MixSDL into the same binary. use '-a' to
enable OpenAL at runtime


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@655 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 16:25:46 +00:00
avolkov b4d1bb7cde Added melnorme number-speech (they will pronouce numbers now)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@650 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 15:54:19 +00:00
avolkov b6aaac19f9 removed CRs and lowercased .ICO
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@648 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 03:07:41 +00:00
meep-eep d31a16fccc little fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@644 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 02:21:59 +00:00
meep-eep 19119aa7c0 And another one...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@643 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 01:54:56 +00:00
meep-eep 16b72cb7fb Some updates. Still needs work.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@642 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-03 01:48:13 +00:00
avolkov 4bc6605abb added resource script and icons for win32
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@640 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-02 22:51:31 +00:00
avolkov 0bc3e12161 added resource script and icons for win32
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@639 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-02 22:44:54 +00:00
gewlitys 40c2a4446f Biadv gets interpreted as bilinear for opengl mode
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@638 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-02 20:36:57 +00:00
gewlitys 3763e3750e removed misplaced #include
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@637 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-02 20:33:27 +00:00
meep-eep efda342073 Some things I missed.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@636 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-02 16:16:55 +00:00
meep-eep f02f5f5e82 Some compile-time warnings removed.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@634 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-02 05:45:31 +00:00
avolkov 29f42c75cf warning fixes and minor cleanup
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@633 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-02 05:05:59 +00:00
ghaushe 59fa71af03 flash menu when purchasing a ship even when menu=pc
fix menu border when menu=pc


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@632 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-02 05:05:31 +00:00