2582 Commits

Author SHA1 Message Date
meep-eep a1796afa51 Comment about C (non-)compatibility of HRealloc().
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2002 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-19 22:28:49 +00:00
meep-eep 14eb6b839e Some documentation, debugging function.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2001 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-18 04:55:26 +00:00
avolkov 889fc26fca Do not simulate planet approach (zoom) when already in orbit
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1995 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-14 01:06:19 +00:00
avolkov 1e2c356182 Bringing back 'Entering Planetary Orbit' wait screen; some code cleanups
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1994 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-14 00:59:10 +00:00
avolkov 1b7b238be2 DrawSISFrame() does not need to obtain its own GraphicsLock as everyone who calls should have it already; also obtaining GraphicsLock a bit earlier in some cases (more correct)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1990 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-12 22:20:12 +00:00
avolkov 1a4ca6892e We do not need a separate planet mask for collision detection anymore, as Melee planet images have proper transparency
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1989 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-12 20:34:11 +00:00
avolkov c6538f98b6 Better handling of Alpha vs. Colorkey; add proper locking to 32bpp StampFill
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1988 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-11 05:46:44 +00:00
avolkov df93f6399b Experimental RGB_FONTS; better handling of Alpha vs. Colorkey; other misc not-so-relevant fixes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1987 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-11 05:44:33 +00:00
avolkov 119581c81b Do not use RLE coding on dynamic work surfaces (too slow)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1986 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-11 05:00:46 +00:00
meep-eep dfa6107f2c Fix warnings.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1985 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-11 01:32:53 +00:00
meep-eep e07b42268f Fix warning
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1984 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-11 01:31:01 +00:00
meep-eep 3b7cea1db8 Add missing 'extern'.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1983 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-11 01:11:32 +00:00
meep-eep b07f1a18ec Fix warnings.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1982 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-11 00:55:29 +00:00
meep-eep 53e38dc102 Fix warning.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1981 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-11 00:50:30 +00:00
avolkov ff9efd2182 Fix for non-alpha 32bpp image StampFill
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1980 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-10 03:52:47 +00:00
avolkov 7c4366522c font effects cleanup
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1978 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-10 00:35:20 +00:00
avolkov 9b7f3c46c7 supporting StampFill for 32bpp images; optional support for alpha fonts (via 32bpp)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1977 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-10 00:33:29 +00:00
avolkov 9b65379250 Fix MacOSX builds (not SDL_cpuinfo.h in OSX SDL framework)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1974 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-09 04:25:32 +00:00
avolkov e2341cacbf unused variable removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1971 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-08 19:58:34 +00:00
avolkov 78f11b65fa Removing personal definitions that were commited by mistake
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1970 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-08 18:44:56 +00:00
avolkov 2fee49f15c code formatting (line length) changes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1969 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-08 17:28:59 +00:00
avolkov 11c9983fc9 erroneous leftover hack removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1968 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-08 16:49:45 +00:00
meep-eep b67158a5a1 Warnings fixed.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1967 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-08 03:31:10 +00:00
meep-eep 29a803d76f Fix printf insufficient arguments.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1966 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-08 03:22:11 +00:00
avolkov fb515d9544 SDL_cpuinfo include fix (letter case error)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1965 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-07 22:31:51 +00:00
avolkov 412e962074 Gfx engine changes: always 32bpp internally (facilitates alpha channel usage), optimized and asm scaler code, only using alpha channel where needed (speed gain)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1964 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-07 21:22:53 +00:00
avolkov e0d1a04bec need USE_DEBUG_KEY here too
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1961 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-07 18:08:23 +00:00
avolkov f8610f7e2b Removed erroneous (C) notice and obsolete comment
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1960 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-07 06:00:16 +00:00
avolkov fb3a7fa5ca MikMod hacks removal, stage 2: getting rid of unnecessary SDL_RWops and uio
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1958 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-07 04:55:03 +00:00
avolkov 20d68b22a3 MikMod i/o hacks removal, stage 1
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1957 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-07 03:52:58 +00:00
avolkov f61933b155 filename typo fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1956 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-07 00:48:22 +00:00
meep-eep ee8400df19 Fast escape fix (bug #619).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1954 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-06 20:38:22 +00:00
avolkov 5960b615d3 extra debug info
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1953 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-06 20:06:57 +00:00
avolkov 569b031a23 removing const warnings and batching writes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1952 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-06 20:02:29 +00:00
avolkov 8b2d0f0068 Data being written out should really be const
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1951 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-06 20:00:44 +00:00
avolkov 0b97e23219 small content dir fix for MinGW/Cygwin
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1950 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-06 19:53:38 +00:00
avolkov fd0d747561 erroneously checked-in file. nothing there
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1949 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-06 19:40:34 +00:00
avolkov 84905b2b0b New topographical 4x planet surface scaler
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1947 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-05 16:54:45 +00:00
avolkov b4cd24552d Useless (and erroneous) flag removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1946 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-04 00:07:55 +00:00
avolkov e7d64ddf9c Accelerated 32bpp scalers, Preview 1
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1945 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-03 06:59:19 +00:00
avolkov 2eadc028e0 Acceleration platform defs
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1944 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-03 01:41:19 +00:00
avolkov 75f9492a91 Accelerated 32bpp scalers, Preview 1
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1943 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-03 01:40:38 +00:00
avolkov ab348cc7f2 added newline at end of file to get rid of warning
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1942 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-02 23:59:46 +00:00
meep-eep 49a3707dd3 Fix comm slider when using Tremor (bug #785).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1941 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-01 13:00:09 +00:00
meep-eep 5d10765ab6 Support for Tremor for Ogg Vorbis decoding.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1940 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-11-01 03:20:07 +00:00
avolkov 8773de0572 Allow setting --scale=none option from cmdline to override the saved config
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1938 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-10-31 19:26:15 +00:00
avolkov 3bbf980303 Unnecessary #include removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1937 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-10-31 19:15:37 +00:00
avolkov 3336e61318 Partial fix for bug #772; dropping strobe rate from unrealistic 60fps
to a human 15fps; code cleanup and strobe length independent from rate.

The rate used to be determined by SleepThread(1) which really meant
"as fast as possible" (the '1' got converted to 'ONE_SECOND/120' during
the ONE_SECOND patches). The "possible" part is not the same it was
11 years ago ;). The new 15fps rate was determined experimentally --
adjust as needed.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1935 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-10-31 16:29:42 +00:00
avolkov eb0e2e6839 Handle immediate color xforms correctly for ambient_anim_task (fix for bug #772)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1934 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-10-31 16:17:52 +00:00
avolkov 2884b11542 Game-state file I/O is now entirely in memory instead of temp files
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1932 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-10-31 14:06:48 +00:00