2582 Commits

Author SHA1 Message Date
gewlitys 9f896e664c Nosound buf sizes are now also power-of-two
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1088 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-26 10:49:20 +00:00
mcmartin cbb902048a Allow for quits during fade-in and splash screen (addresses #422)
Still can't quit during fade-outs, because the fading is not paused, and
affects the confirmation window too.  Bad times.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1087 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-26 05:15:52 +00:00
mcmartin 38a37975fb Upgraded sound buffers to nearest power of two
Linux's sound system demands this, it seems


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1086 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-26 00:08:53 +00:00
meep-eep 83d761c5f9 Fix the starship location after being teleported from Procyon to the
Earth starbase after the Precursor bomb is installed.
Corrects for SAFE_X and SAFE_Y, and adds a little adjustment of 1 pixel.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1085 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-25 00:50:08 +00:00
gewlitys 694c5a7bd7 Crew death on planet is now counted properly in all cases (bug #70)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1084 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-23 22:58:00 +00:00
gewlitys ca3d8b99f9 Enlargened mixer buffers to avoid major distortions with slower
machines


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1083 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-23 18:22:52 +00:00
gewlitys ad23c55afa Some optimizations: bbox is updated only if destbuffer is screen
surface; if bbox isn't valid, swapbuffer does nothing; better locking of
imgmutex


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1082 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-22 23:50:13 +00:00
meep-eep d60c03e7b6 Get rid of a warning.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1081 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-21 19:08:55 +00:00
gewlitys 179c8cc54b Changed mixSDL_IntVal and TFBSound_IntVal to intptr_t because they must
be able to contain pointer to mixSDL_Buffer


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1080 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-21 17:57:19 +00:00
meep-eep a41ee59220 Fixed return type of uio_write and stdio_write.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1079 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-21 16:58:50 +00:00
gewlitys a561c5c464 Fixed compile warning
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1078 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-21 16:31:01 +00:00
gewlitys 2c43816a1c ..and changed intptr back to intptr_t, this time hopefully avoiding all conflicts
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1077 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-21 04:10:58 +00:00
gewlitys a91b438794 Added intptr to types.h and changed sound code to use that, because using stdint.h caused conflicts atleast with gcc 2.95
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1076 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-21 02:42:18 +00:00
gewlitys 3533b5329a Changed mixSDL_Object and TFBSound_Object to be intptr_t for 64bit compatibility (bug #252)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1075 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-21 02:07:07 +00:00
gewlitys e450085a0b Fixed lockup in 'save failed' alert box (bug #397), from ghakko
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1074 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-20 22:39:41 +00:00
gewlitys f6fbce650d Fixed glitch in Pkunk animation (bug #354), from Paxtez
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1073 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-20 21:04:24 +00:00
meep-eep 4f41ce8158 Fix for picking up talking pet after Umgah genocide - from Paxtez
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1071 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-20 16:29:18 +00:00
meep-eep 3eac440c78 MinGW compilation fixes.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1069 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-19 01:34:14 +00:00
meep-eep 32eb481811 MinGW compilation fixes.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1068 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-19 01:20:50 +00:00
avolkov 70a9f5b97e bilinear scaling fix (post optimization)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1066 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-18 17:46:35 +00:00
avolkov c969ebe7d9 more 2nd phase bilinear scaling optimizations: expanded more, region handling and iteration over region normalized
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1065 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-18 16:38:17 +00:00
gewlitys 05c130399f Removed src_p2 from 24bpp nearest neighbor
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1064 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-18 16:29:55 +00:00
gewlitys 5b78f45bc4 More optimizations to bilinear (now computes two pixels at once in inner
loop, reducing memory fetches)


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1063 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-18 15:47:52 +00:00
avolkov 0dfff91915 2nd phase scaling optimizations; bilinear: improved blend, added 24bpp, added region updates; biadapt: lower bits ignored in blends
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1061 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-18 03:52:00 +00:00
meep-eep d86b2da125 Change in an attempt to fix compilation on mingw.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1059 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-17 22:42:59 +00:00
meep-eep 2a62981df3 Accept CRLF line endings in .txt and .ts files.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1058 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-17 22:16:33 +00:00
gewlitys 3a0c430a6a Fixed linker warning with VC7
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1057 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-17 19:35:59 +00:00
avolkov 405ec79939 Fixed and optimized 2- and 4-pixel blends in biadapt, biadv (hopefully fixes #421); also fixed a nasty bug in biadv
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1056 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-16 07:46:24 +00:00
gewlitys b598140f88 Observer is now at the bottom of the screen in positional sounds; tuned
attenuation to be less severe


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1055 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-16 00:45:57 +00:00
gewlitys f735bb053b Fixed overflow bug with 32bpp bilinear,biadapt,biadv scalers
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1054 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-16 00:06:47 +00:00
gewlitys 8a1b8d3f88 Fixed speed of 3DO smooth ffw/frw (probably broke after new input code)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1052 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-15 16:20:08 +00:00
gewlitys 792cc42347 Few minor fixes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1051 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-14 23:24:08 +00:00
gewlitys 580186f5d1 MixSDL now handles resampling correctly (less cracklings); added cubic interpolation for high quality mode; some cleanups
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1050 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-14 20:18:32 +00:00
meep-eep 1a36fdd8b4 Bug in fopen() mode fixed.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1049 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-12 23:02:55 +00:00
meep-eep 1e32549dc3 / at the end of the path for an openDir() call causes problems. '/' removed
in call now, but I'll change openDir() later to accept a trailing '/' too.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1048 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-11 21:46:05 +00:00
mcmartin 37def39f4f Removed the redundant "GameExiting" variable
All such tests are done via checking the "CHECK_ABORT" flag in
GLOBAL (CurrentActivity).  The abort test in restart.c had to be
done later because of this.  At some point this assigning of ~0 to
GLOBAL (CurrentActivity) should itself be excised.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1047 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-11 03:03:19 +00:00
meep-eep 1dadf98653 Fixed memory leak in error handling.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1046 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-10 00:27:57 +00:00
gewlitys 6c351b380f Added quit options to ingame menu, from Paxtez
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1043 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-09 18:54:59 +00:00
meep-eep d918f032f7 Fixed bug where the wrong dir was used as the temp dir.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1041 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-09 05:08:17 +00:00
meep-eep b8d6ce9d14 Enabling uio debugging.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1040 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-09 04:23:01 +00:00
mcmartin c3d90f78f2 ZoomIn and ZoomOut now work correctly in starmap
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1039 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-08 22:46:35 +00:00
meep-eep cf521fdfaf New packaging/io system.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1036 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-08 18:22:42 +00:00
meep-eep f7c97f2ba7 New io/packaging system.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1035 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-08 18:17:40 +00:00
mcmartin d97bb2aa03 Fixed a stupid atexit bug
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1034 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-08 16:53:49 +00:00
mcmartin 54e2225a3a Exit confirmation dialog is prettier and safer, from Nic
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1032 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-07 07:26:33 +00:00
mcmartin e3dac2cd1f F10 at main menu quits game
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1031 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-07 02:51:42 +00:00
mcmartin 66d523545c Fixed a deadlock that blocked the system if you quit from the shipyard
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1030 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-06 05:49:42 +00:00
gewlitys a9d78cae84 Small fix to RemoveElement
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1029 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-06 03:23:59 +00:00
mcmartin f3264922c2 Lander speed changed to 35 FPS
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1028 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-06 02:27:14 +00:00
mcmartin 7bd1eda550 Fixed some sporadic menu corruption if you deleted empty slots
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1026 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-07-06 00:13:41 +00:00