2582 Commits

Author SHA1 Message Date
avolkov 947cb7b77b Make (get|set)GameState funcs non-inline; avoids MSVC6 optimization bug
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1662 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-20 04:38:18 +00:00
avolkov 3cd640c023 Fixed incomplete memset()s (found by jdorje)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1660 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-20 04:24:24 +00:00
mcmartin 83e3fc9229 Cleanup to fix to #678, after discussion in #sc2dev
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1659 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-20 02:22:52 +00:00
avolkov 76a748cdf2 Migration to new zlib1.dll (bug #681)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1656 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-19 23:23:07 +00:00
meep-eep 5f43c8fc10 Removed zlib defines in preparation for move to zlib1.lib
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1655 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-19 22:54:00 +00:00
avolkov bbe9ac102f Never positioning sources at the same location as listener (chase fix for #472)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1654 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-19 22:20:41 +00:00
mcmartin ee79780c71 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1653 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-19 10:30:35 +00:00
meep-eep c8bcea18de define strcasecmp to stricmp if the latter is available.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1647 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-18 14:28:08 +00:00
meep-eep 69f4b817db #include the .ci files instead of the .c files
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1646 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-18 14:24:22 +00:00
meep-eep 5947447a7c Renamed some .c in regex/ to .ci.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1645 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-18 14:15:48 +00:00
meep-eep c45a12abcb Renamed some .c files to .ci. They are C files that aren't directly
compiled, but are instead #included from another C file, regex.c.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1644 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-18 14:12:53 +00:00
meep-eep 4adce7fdcd #include port.h
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1643 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-18 14:11:56 +00:00
gewlitys 5fd99e00e5 Added regex to include path; removed Makeinfo
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1642 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-18 13:47:43 +00:00
meep-eep 7a4f57e27e Accept .uqm as file name extension for packages.
Activated regex support in uio. Including fallback regex library for this.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1641 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-18 12:41:18 +00:00
meep-eep ab17920d0b Accept .uqm as file name extension for packages.
Activated regex support in uio. Including fallback regex library for this.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1640 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-18 12:34:25 +00:00
avolkov b63ed062d8 Normalize music volume throughout (bug #718)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1638 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-17 17:35:39 +00:00
mcmartin 9766ee17d2 Completed fix for #660 (SetJoyThreshold failure won't crash game).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1637 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-17 16:30:21 +00:00
avolkov 67acdcb955 Properly handle Thraddash-Ilwrath mission overlap (bug #530)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1635 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-15 09:35:59 +00:00
avolkov a5c5feea10 Separate 'ask for fuel' player responses for Mercury and Luna (bug #716)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1633 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-13 05:38:40 +00:00
avolkov aded1fa5c0 Changes --stereosfx model closer to surround sound (fixes #472)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1631 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-13 04:48:12 +00:00
avolkov 20180dc9eb Disable Pkunk Spindle news items prior to befriending them (bug #315)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1629 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-12 22:28:55 +00:00
avolkov d3ad999a9f Fixes getting transported to Sol coords in Hyperspace instead of Earth under some conditions (BGD model bug #592)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1627 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-11 22:20:27 +00:00
meep-eep 95456f584d Don't bother about alignment on Windows for now.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1626 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-11 01:57:08 +00:00
meep-eep 61d1e64ba4 Work on 64 bit systems.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1622 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-08 21:51:49 +00:00
meep-eep 9aef15f5d0 Warnings cleanup.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1621 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-08 19:15:33 +00:00
meep-eep 01375dab2f Got rid of some warnings.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1620 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-08 19:03:55 +00:00
avolkov ef7eb0867c bumped version
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1619 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-08 03:27:39 +00:00
avolkov ba4ff834b5 Make finishing the game w/o using the Starbase possible; fixes bug #592
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1617 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-08 02:17:13 +00:00
meep-eep 5e2b328d98 Detect readdir_r().
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1616 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-08 01:24:46 +00:00
avolkov e595b8c0ee Preserve SIS facing through an encounter in Hyperspace
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1614 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-08 01:00:24 +00:00
meep-eep 4ac7efd0a5 Correction
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1613 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-07 21:34:14 +00:00
meep-eep 88f29b3b46 Alignment fixes.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1612 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-07 20:30:57 +00:00
meep-eep 19373652b1 Little bug.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1611 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-07 20:16:11 +00:00
avolkov 120552464d Fixes part of bug #685 (Sa-matra turret bop in step-zoom)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1610 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-01 23:06:52 +00:00
avolkov f3ba71fbfe updated usage per bug #694
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1609 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-01 07:48:31 +00:00
avolkov 52d87d5b5c Support for PC-style melee zooming; -b=pc|step option (bug #694)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1606 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-04-01 07:34:44 +00:00
avolkov ee2870031e Team building ship selection box is generated from actual ship icons; fixes #692
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1604 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-31 23:22:10 +00:00
mcmartin 52ca25712d Setup Menu can handle custom resolutions now (Bug #693)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1603 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-31 09:16:16 +00:00
avolkov 6a32373f8d Take clipping rect into account when confirming exit (bug #673)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1601 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-30 18:18:22 +00:00
mcmartin 9ba03f7f0a Reverts if you can't produce a graphics mode requested from setup menu
Fixes bug #695.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1600 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-28 06:30:16 +00:00
mcmartin b58bdc6e0c Delay guarantee of cleanup until initialization is complete
Solves most of Bug 683.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1599 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-28 06:12:22 +00:00
meep-eep 00eae82ad3 Some cleanups, enabling successful build on GCC 4.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1595 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-19 02:24:58 +00:00
meep-eep 5189446bdc Protection against stdio functions being implemented as macros.
This appears to be the case for recent glibc when compiling with
_FORTIFY_SOURCE.

Posix 1003.1-2001, 2.1.2:
	Any function declared in a header may also be implemented as a macro
	defined in the header, so a function should not be declared
	explicitly if its header is included. Any macro definition of
	a function can be suppressed locally by enclosing the name of
	the function in parentheses, because the name is then not followed
	by the left parenthesis that indicates expansion of a macro function
	name.

CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	io.c ioaux.c
CVS: ----------------------------------------------------------------------


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1594 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-19 02:22:00 +00:00
avolkov 61ae8cad10 Fix for crash when attempting to print non-existant characters
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1585 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-16 23:33:58 +00:00
avolkov b88fbdbce1 minor typo fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1584 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-16 23:15:28 +00:00
avolkov 1b2c3544fb Bug #702 fixes; disposed of locPrim in _text_blt; removed manual bit-packing from PRIMITIVE
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1582 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-16 12:50:16 +00:00
avolkov 64f60affd0 Fixes flying sideways on auto-pilot; bug #642
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1580 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-16 12:05:53 +00:00
avolkov d77c74596c Misc sfx bug and semantical fixes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1578 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-16 05:48:32 +00:00
avolkov 0b0f74b97d Flushing sfx queue on abort; bug #700
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1577 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-16 04:17:15 +00:00
avolkov 74048df92c Confirmation sound not played when empty box or dead ship selected (bug #566)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1575 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-15 22:44:19 +00:00