2582 Commits

Author SHA1 Message Date
avolkov 2edfddb12b Transparency specification fix for paletted images
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2089 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-20 06:31:55 +00:00
avolkov f1ab2c5d0c Fix for bugs #790 and #5; this reorgs the talk segue and removes a few hacks and hopefully brings all spliced comm edge cases to norm
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2087 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-17 21:30:55 +00:00
gewlitys 0f7b5d4caf config.audioquality obviously should set soundFlags, not soundDriver
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2086 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-17 17:57:54 +00:00
avolkov 078459d6e2 Added 3DO-style throbbing slave shield; --shield option
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2083 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-16 20:35:12 +00:00
avolkov 41e6c9deec Added forgotten headers
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2082 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-16 19:39:51 +00:00
avolkov 8b9585e5e6 More code cleanups and comments; generalization of secondary planetary objects (shields, rings, atmos)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2081 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-16 18:37:48 +00:00
avolkov 754a14533f Finalizing support for externally supplied elevation data (grayscale images)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2079 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-16 06:47:53 +00:00
avolkov af70d11024 Added lighting variance to give rotating planets a 3D look
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2076 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-16 01:22:17 +00:00
avolkov 44970248cb Random code cleanups: prototypes, formatting
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2075 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-15 01:42:14 +00:00
avolkov 10ec759022 Random code cleanups: prototypes, formatting; generalized api for LoadPlanet() to take planet surface definition FRAME rather than IsEarth hack
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2074 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-15 00:29:25 +00:00
avolkov 4c52f07340 Removed unused and no longer needed parameter
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2073 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-14 21:47:59 +00:00
avolkov 1b62c34edf No longer doing font effects this way
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2072 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-14 21:27:53 +00:00
avolkov bc28e3268a Cleanup: ExpandMap() was never used, and its job is done by TopoScale4x() now; (ugly code anyhow)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2071 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-14 18:50:16 +00:00
avolkov e72a80d29f Refactored colormaps storage, management and transforms
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2069 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-14 02:30:37 +00:00
avolkov a1c02c4d06 Rotating 3D planet facelift: actually looks like a sphere now (scaled dx); nicer looking slave shield; random code cleanups
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2067 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-14 01:41:37 +00:00
avolkov e0f08a9bc2 Indexing in resources added after pkg was originally created
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2066 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-13 18:00:34 +00:00
avolkov 868199e570 Refactored colormaps storage, management and xforms; colormaps are now stored as versioned refcounted objects and passed to rendering code by reference; SDL palettes are reset on images only when versions change; folded fades and xforms into single func; supporting several concurrent colormap xforms
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2063 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-13 07:30:37 +00:00
avolkov c232c19b13 Inconsistent game state bug marker
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2060 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-13 01:20:28 +00:00
avolkov dd34200444 Split off comm colormaps from global scclrtab into corresponding race dirs; maped all comm colormaps to the same map #
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2053 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-09 19:32:54 +00:00
avolkov 78cf937b76 Give the SDL window an icon too
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2052 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-08 23:23:59 +00:00
avolkov 06b02af19f minor formatting changes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2050 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-08 16:16:49 +00:00
avolkov 4232dce24a bumped version
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2049 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-08 16:03:52 +00:00
avolkov 982f40ba32 Refactored font engine: fonts are loaded and treated as alpha-channel-only images; rendered through a per-context backing surface which unifies solid color and effects processing; new TFB_Prim_FontChar and underlying methods
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2047 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-08 15:48:31 +00:00
avolkov 1d215b7cec Added missing ifontres.h
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2042 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-08 12:44:41 +00:00
mcmartin 6b67d43499 Many additional setup menu options; only volume remains.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2041 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-08 07:55:11 +00:00
mcmartin f3b188b69d Moved snddriver and soundflags to audiocore.
This is "temporary" in that all these global config variables will be
referenced via the global named resource system in the end.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2040 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-08 05:50:51 +00:00
avolkov 8a4a8c484e Cleaning up some commonly used FRAMEs
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2039 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-07 17:03:11 +00:00
avolkov 687b83dd5f Fixes Pause dialog undrawing incorrectly during the ending sequences
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2038 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-07 16:51:23 +00:00
avolkov 1138286e8b Indexing in the resources added after the ndx was originally created
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2037 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-07 16:50:04 +00:00
avolkov ab18254b63 Removing hotspot abuse from lander reports as it causes desync with new hotspot handling; primitive batches have no advantages now anyway
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2034 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-06 22:11:41 +00:00
avolkov b2fdd16554 Separated IP planets and sun colormaps (as was originally intended)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2033 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-05 16:06:43 +00:00
avolkov 382a2afcbe Indexing in the resources added since the ndx was created
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2032 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-05 14:46:22 +00:00
avolkov a5673967da Trilinear scaler overhaul: moving image hotspot processing to tfb_draw/DCQ; proper handling of src and dst alpha surfaces; src and mipmap alignment fixes; code cleanup
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2029 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-03 09:55:55 +00:00
avolkov 7089b27835 Trilinear scaler overhaul: moving image hotspot processing to tfb_draw/DCQ
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2028 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-03 09:53:02 +00:00
avolkov 68d81531c3 Fix game-clock crash when pausing game during ending sequences
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2027 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-03 09:36:50 +00:00
meep-eep f5fd81058f Separate fields for package, instance and type number in .lst files.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2020 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-30 02:43:10 +00:00
avolkov 6974efece7 Alpha channel friendly collider
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2018 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-28 05:37:17 +00:00
avolkov 4a91ac511d Consider 'eventually fixed'; bug #687 is fixed now
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2016 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-27 23:33:34 +00:00
avolkov 464ce95bf7 Fix a crash bug in SSE nearest when scaling rects of width=1
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2015 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-23 00:05:25 +00:00
meep-eep 264a4ffe81 Removed some dead code.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2014 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-21 22:49:30 +00:00
avolkov 84c8f0ed6d MSVC6 does not do C99 stuff
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2013 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-21 21:52:23 +00:00
mcmartin dcde51b065 Fixed an initializer warning
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2012 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-21 05:06:36 +00:00
meep-eep f9becb0e52 Some cleanup.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2010 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-20 19:47:51 +00:00
meep-eep 8378d06abc Some comments.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2009 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-20 19:47:32 +00:00
meep-eep eda4bfef69 Replaced the binary resource indices by textual ones.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2008 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-20 19:33:17 +00:00
meep-eep 5cc6bf8fc2 Reverting.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2007 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-20 18:21:45 +00:00
meep-eep 28513bf18a Missing file.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2006 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-20 18:21:18 +00:00
meep-eep a28124110a build fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2005 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-20 18:03:55 +00:00
meep-eep c915e958f1 Replaced the binary resource indices by textual ones.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2004 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-20 07:18:10 +00:00
meep-eep 816b362f12 Replaced binary resource index files by textual ones.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2003 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-20 05:56:46 +00:00