4014 Commits

Author SHA1 Message Date
mcmartin f915dbf8a1 Fixed completely idiotic buffer check error. Oops.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@873 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-08 16:48:50 +00:00
gewlitys 627997f3b5 Replaced GetGraphicScaleIdentity() with a define; moved melee scale step
reducing to process.c instead


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@872 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-08 15:50:45 +00:00
gewlitys 3c39c2269c fix win32 compilation
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@871 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-08 15:11:56 +00:00
mcmartin b914bc4070 Removed rotozoom; new sprite-scaler does not touch the heap
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@870 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-08 14:40:55 +00:00
ghaushe df9a72bb49 Planet spins during lander launch and return.
Fix skipping after doing a scan or landing  on the planet
(bug 31, 223)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@869 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-08 02:18:46 +00:00
ghaushe b638ff774e only update portion of screen that has changed on entering orbit.
This is about the smoothest I know how to make it.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@868 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-08 01:36:35 +00:00
ghaushe c884eb7528 rotating planet should now be smoother than before.
planet zoom while entering orbit decelerates (ala 3DO)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@867 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-08 00:27:26 +00:00
ghaushe 53b6ea685c do_subtitles no longer tries to draw to the screen, thuscompleting one
more step in themain, audio, and graphics thread seperation.

Thiis also should illiminate all of the subtitle text overlap issues (bug232)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@866 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-07 17:57:03 +00:00
ghaushe ffddaf54b4 Leave planet-side with 'Esc' key. Matches PC behaviour, and the manual:
If your crew level starts dropping dramatically, flee quickly with the ESCAPE key!

the keys that trigger leaving planetside are button3, left-shift or Esc


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@865 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-07 14:29:41 +00:00
ghaushe 3fd77b1b83 Fix potential race between stopping the rotate_starbase task and
destroying the frame  (bug 230)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@864 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-07 06:30:40 +00:00
ghaushe 38ad179d23 Cleanup shipyard door animations (fixes 215)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@863 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-07 05:14:14 +00:00
avolkov 82d123527e Misc .ani fixes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@862 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-07 03:27:37 +00:00
gewlitys b0d1e3651c Moved image scaling to DCQ thread; fixes scale-out-of-sync problem in
melee. Also reduced number of scaling steps.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@861 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-07 03:04:43 +00:00
avolkov ce63e30100 Partially fixes Mycon captain portret problems
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@860 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-07 03:00:36 +00:00
avolkov f54f8b2b12 Fixes asteroid destruction crash bug
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@859 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-07 02:57:36 +00:00
avolkov 08e6b1994f Misc .ani fixes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@858 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-07 02:56:35 +00:00
ghaushe 161e9fb671 Zoomed planet view no longer abuses ScaledImg.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@857 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-06 01:11:30 +00:00
ghaushe 5d7ebc8e36 Fix for crash during cyborg combat.
fixes 204 and 218 - from chmmravatar


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@856 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-06 00:19:50 +00:00
mcmartin d54438b23f Added -g cmdline option for gamma correction, from chmmravatar
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@855 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-05 23:06:18 +00:00
ghaushe 2b4048bdfa Fix for Fot twitching (fixes bug 217) - from Nic
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@854 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-05 04:49:26 +00:00
gewlitys 26488be769 Yehat subtitle positioning now matches PC version more closely, from Nic
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@853 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-04 18:56:47 +00:00
gewlitys 15459039f5 Fix for VC7 compilation
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@852 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-04 17:09:27 +00:00
mcmartin 7fee7237d2 Fixed up the CondBank so that it uses Condition Variables properly.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@851 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-04 06:49:29 +00:00
mcmartin 46989c4c68 FRAME_DESC.HotSpot is now a POINT instead of a DWORD.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@850 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-04 01:35:50 +00:00
mcmartin 8ddfacdc0a Centralized NULL checking for Stamp drawing.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@849 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-03 05:29:20 +00:00
mcmartin 02856f0cb4 Removed all unused variable/parameter warnings
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@848 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-03 05:17:33 +00:00
meep-eep 8fd821963a installation permissions fix.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@846 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-03 02:29:48 +00:00
mcmartin 02839d47f8 Removed the last vestiges of K&R function declarations, fixing more warnings
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@845 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-03 02:05:39 +00:00
mcmartin a7f4654e3b "most strict" checking is less so, since -Wshadow is silly and -Werror isn't
usable yet


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@844 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-03 02:04:02 +00:00
meep-eep 769646b1e3 Fixed typos that sneaked in there.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@843 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-03 01:57:06 +00:00
meep-eep 6693e0a874 Installation permission bugs fixed.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@842 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-03 01:41:54 +00:00
mcmartin 3fab89624a Removed some compiler warnings.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@841 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-03 00:21:05 +00:00
meep-eep b5f7dc11ca Get rid of a warning.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@840 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-01 18:10:32 +00:00
gewlitys cd5a0b86a5 Updated to conform mcmartin's latest changes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@839 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-01 14:34:17 +00:00
mcmartin 954a333685 Streamlined the 'legacy' graphics code implementation.
The vtable-style code that was implementing the drawing of primitives
turned out to be entirely unnecessary; every virtual call was inside a
switch or if on the type of the primitive.  Code has been restructured to
be more consistent and simpler.  Never-used primitives (composites and
polygons) have been removed entirely.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@838 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-01 07:14:15 +00:00
ghaushe 0f487716ad Fix gaphics glitches during dialog. Spathi eye and ZFP are most noticable,
but al aliens are afffected.   Closes 23, 156


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@837 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-03-01 02:42:28 +00:00
gewlitys db2d6bf416 updated
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@836 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-27 01:23:50 +00:00
ghaushe 435e1ea8f2 Fix Syreen, Slylandro, and Kohr-Ah ship effects to be screen-size independant.
SaMatra may still need work, tho Closes #93 (bug 199 has been opened on
the SaMatra issue)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@835 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-27 00:03:09 +00:00
ghaushe 67ce59584c Fix Syreen, Slylandro, and Kohr-Ah ship effects to be screen-size independant.
SaMatra may still need work, tho Closes #93 (bug 199 has been opened on
the SaMatra issue)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@834 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-26 23:55:52 +00:00
gewlitys 566d55e8a3 updated
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@833 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-26 18:41:06 +00:00
gewlitys 570eb15ee0 Line clipping is now handled correctly; fixes #28 (one pixel
corruptions) and #198 (beam weapons changing direction)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@832 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-26 17:05:59 +00:00
ghaushe 80ea46fdc3 Fix Vux warp distance again. now it actually matches 3do
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@831 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-26 03:45:11 +00:00
ghaushe 8facb6dcb2 Fix 1->many mapping of keyboards (again)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@830 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-25 21:06:58 +00:00
ghaushe 6a5900d546 Vux warps in near enemy (fixes bug 93) -from Nic
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@829 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-25 18:23:33 +00:00
ghaushe 743eb52e4b the key state (up/down) now only stores the actual key, without modifiers (i.e. 'f' not 'F')
Fixes bug #144 (possibly 187 too?)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@828 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-25 00:39:42 +00:00
avolkov 47bf0c05db UQM version # printed in main menu
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@827 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-25 00:31:06 +00:00
ghaushe 19e6ef2c76 the key state (up/down) now only stores the actual key, without modifiers (i.e. 'f' not 'F')
Fixes bug #144 (possibly 187 too?)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@826 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-25 00:22:26 +00:00
avolkov 2dfd6952b0 PC shipyard image minor palette fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@825 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-24 22:06:30 +00:00
avolkov 6ba5940bdd Added PC hangar animation cel
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@824 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-24 20:44:59 +00:00
avolkov eea87e2576 Added PC Shipyard + hangar animation
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@823 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-02-24 20:43:22 +00:00