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
meep-eep
e03695fcfb
Stumbled upon the author of the ADPCM code from MPlayer, which was used as
...
the basis of the DUK audio decoder.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2070 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-14 06:00:00 +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
b97ebc40d3
3d planet facelift
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2068 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-14 01:52:11 +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
47afb42e17
name change
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2065 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-13 15:30:30 +00:00
avolkov
21a454d53d
refactored colormaps
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2064 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-13 07:31:43 +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
0daed2aa5b
bug #794
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2062 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-13 03:24:39 +00:00
avolkov
4dc6a849c3
Corrected image with crosshair removed
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2061 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-13 03:21:46 +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
28e75ebc64
Perfect DOS originals with original palettes intact
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2059 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-12 18:30:20 +00:00
avolkov
1e1e42bf41
'picked ou' typo fix
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2058 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-12 18:28:31 +00:00
avolkov
0a3d578ff4
these do not actually refer to colormaps (truecolor)
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2057 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-09 20:20:13 +00:00
avolkov
b275b69496
obsolete and unneeded; removing as per #275
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2056 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-09 20:07:55 +00:00
avolkov
54473db082
split comm cmaps
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2055 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-09 20:06:04 +00:00
avolkov
6af1084e76
Correcting colormap_index, it's not actually used
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2054 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-09 20:00:11 +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
18b4b0b5ca
removed extra newline
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2051 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-08 17:34:35 +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
9deba9a7f2
new font engine
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2048 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-08 16:02:09 +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
ccf43eb5f9
Added new format font effects
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2046 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-08 14:37:55 +00:00
avolkov
612c36132d
New format gradient font effects
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2045 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-08 14:34:30 +00:00
avolkov
949bee9560
New format DOS lander report font effect
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2044 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-08 14:31:15 +00:00
avolkov
2c5246c50c
Fixed CRLFs
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2043 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-08 14:29:27 +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
077e2deb3e
pause at game end
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2036 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-06 22:41:57 +00:00
avolkov
4f981943e3
lander report
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2035 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-06 22:27:46 +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
50866c5a1d
Resized Skiff frames to allow it to rescale better and minimize the 'bopping'
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2031 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-05 10:04:41 +00:00
avolkov
4201d4abc4
Trilinear overhaul
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2030 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-03 09:59:48 +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
avolkov
6e4d3afc10
Sa-Matra gfx
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2026 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-12-03 09:19:52 +00:00