2582 Commits

Author SHA1 Message Date
Meep-Eep 38ee94f05e Removed obsolete RESPONSE_TO_REF.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3701 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-12-16 17:30:27 +00:00
Meep-Eep cc63dda758 Don't require the 'shadow' dir in addon packs, from Alex.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3700 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-10-01 15:55:13 +00:00
Meep-Eep e2c6926c7b Make use of GAME_STATE_FILE consistently.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3697 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-10-01 14:54:18 +00:00
Meep-Eep e37fd2c51f Fixed unconst() types.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3696 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-10-01 14:15:35 +00:00
avolkov 094c7d6e15 Refactor scan nodes generation funcs: get rid of PLANET_INFO.CurXXX fields and pass a struct to generation funcs to fill instead; makes SOLARSYS_STATE const for the funcs; gets rid of unconst casts; bug #50
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3695 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-09 21:36:34 +00:00
avolkov d2358e1e51 Planet/system generation code cleanup: isolate generation code with an own RandomContext; generation funcs do not return the random seed anymore; move and cleanup some calculation funcs; clarify deliberate Random() truncation; other random cleanups
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3694 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-09 01:59:12 +00:00
avolkov 128bfaa8d4 Eliminate the use of C++ keyword 'template'; bug #1131; from Scott A. Colcord
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3693 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-08 15:25:32 +00:00
avolkov 9f1fc6f6d1 Fix prototype warning in libs/file
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3692 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-07 18:07:26 +00:00
avolkov f7546d3b30 Fix strict warnings in screen scalers, bug #50; from Sze Howe Koh
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3691 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-07 18:03:10 +00:00
avolkov 36baefcfdd Various strict warnings cleanup, bug #50; from Scott A. Colcord
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3688 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-06 22:14:20 +00:00
avolkov 58866e1be5 Remove casts from DUCK video decoder which cause function cast warnings
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3686 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-06 17:33:18 +00:00
avolkov 72e57be70d Remove casts from mixer resampling code which cause function cast warnings
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3685 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-06 17:27:37 +00:00
avolkov 24251176b7 Sort out the inplib SDL includes
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3684 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-06 17:25:13 +00:00
avolkov 12add1f596 Fix transposed memset() parameters in aiff decoder
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3683 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-05 16:16:41 +00:00
avolkov 32bc325ff5 Dodge compiler warning in MikMod driver because MikMod_Init() does not take 'const char*'
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3682 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-05 16:10:56 +00:00
avolkov 103f9379a4 Removed retired function TFB_BlitSurface()
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3681 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-05 16:06:48 +00:00
avolkov db13af9444 Remove TotalElementMass from the strip ship random seed mix because the player can dump cargo and change the seed; bug #567
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3680 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-01 18:58:13 +00:00
avolkov cb289eee65 Account for slight movement in HyperSpace due to encounters in Melnorme strip ship random seed; bug #567
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3679 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-09-01 17:48:11 +00:00
avolkov d5d30cc08a Fix double free() of RandomContext in Melnorme comm
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3678 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-08-30 15:59:39 +00:00
Meep-Eep 40b41b9ed8 Fix order of MountInfo. From fossil.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3676 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-08-28 20:15:45 +00:00
Meep-Eep dd5c1dfdb8 Increment correct ref counter. From fossil.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3675 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-08-28 19:55:08 +00:00
mcmartin f3928c731a Conversation logic refinements (#567, #756)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3673 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-08-27 20:55:32 +00:00
avolkov 4610e5e1f5 Cleanup of ENCOUNTER member fields abuse
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3670 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-08-25 23:33:17 +00:00
avolkov 470d5c49b8 Cleanup: AllocHyperElement() only needs a POINT arg (in preparation for ENCOUNTER cleanup)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3669 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-08-25 21:34:10 +00:00
avolkov e85357e5f1 Refactor planetary hazard code; bug #1140; from Scott A. Colcord
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3668 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-08-24 16:51:09 +00:00
avolkov c75ea6280d Various warning cleanups from Scott A. Colcord, bug #50; reworked Umgah ship code so as not to compare FRAMEs
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3667 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-08-24 16:22:39 +00:00
avolkov 30b6be94f9 Compiling with no joystick warning fixes (bug #50); SDLKey signedness warning fixes and hardening
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3666 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-08-08 15:56:23 +00:00
avolkov 35281c14c0 Refactoring of ship_death() code: Pkunk/Shofixti exception hacks removed (but not MAX_SHIP_MASS+1); both now have own death_func(); Pkunk ditty plays after a simultaneous destruction + reincarnation (bug #666); plus some comments
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3664 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-26 20:30:58 +00:00
Meep-Eep 8ab9c69b55 Preparing for linking with C++ code, from Scott A. Colcord.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3663 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-24 19:58:25 +00:00
Meep-Eep 5d22cd61ad Socket functions needed when we switch to UDP.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3662 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-24 19:03:42 +00:00
avolkov 2d45321321 Removed unused UQM_SVN_REVISION define which evidently confused some people
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3660 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-23 16:31:20 +00:00
avolkov 50071c4ddc Added the Ur-Quan to the Hayes' conversation options on the Hierarchy; the encompassing option changed to 'The Hierarchy and their battle thralls'; bug #865
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3658 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-20 18:17:42 +00:00
avolkov fcb60bcbff Use correct Commander Hayes phrases when advising the player on the number of landers; bug #1098
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3657 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-20 17:23:43 +00:00
avolkov 8c2f0d79c6 Synchronize resource includes with the master resource list resources.csv
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3656 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-19 18:34:45 +00:00
avolkov ce51a50cb0 Minor addon loading cleanup
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3655 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-18 22:17:22 +00:00
Meep-Eep b783c259f6 Fix error introduced by adding .h files to Makeinfo.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3654 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-17 18:31:14 +00:00
avolkov 540e92658e Preserve the remix options between visits to the setup menu; bug #1132
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3653 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-17 17:59:57 +00:00
Meep-Eep 1e7fc3c777 Add .h files to Makeinfo, so that we can generate files based on these too.
(In a future commit)



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3651 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-17 09:04:26 +00:00
avolkov 62dee51b72 Removed the remnants of the --music option; bug #1133
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3650 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-16 19:56:22 +00:00
avolkov f71806fb26 Fixed flagship-planet IP collision regression introduced in r3384; bug #1135
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3649 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-16 19:27:13 +00:00
avolkov f692ecf001 Fix a type warning in sdl sound driver that could actually become a problem
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3648 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-16 16:26:57 +00:00
avolkov 9568dc0ef6 Silence the obsessive compiler (missing initializer)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3647 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-16 16:15:09 +00:00
avolkov fe51b00589 Fixed the starmap fuel range circle overflow; bug #1130; also cap the range circle at a sensible level to prevent further overflows
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3646 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-15 16:09:12 +00:00
avolkov c0bc500620 Added gamma correction option to the setup menu; bug #977; some work from Nic
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3645 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-14 21:36:36 +00:00
avolkov 9649e30f33 Refactor Melnorme comm code to make modding easier, step 1; bug #1128; from Scott A. Colcord
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3644 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-13 17:29:42 +00:00
avolkov 5ba6fcb8bf Added aspect ratio option to the setup menu
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3641 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-09 16:12:21 +00:00
avolkov d89b656f7b Make adding items to the setup menu slightly less error-prone
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3640 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-09 05:27:47 +00:00
avolkov fda0c409e5 Make the switch from positional -> not positional sfx actually work w/o having sfx channels permanently stuck somewhere in 3D world; there is no reason to use different distance models, and that eliminates the need to change models when switching positional <-> not
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3639 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-09 03:49:12 +00:00
avolkov 82a7cf0520 Bugfix: positional SFX setup menu option should have an immediate effect
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3638 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-09 02:32:58 +00:00
avolkov a2be245a09 Added 'speech' config value which controls loading of 3dovoice addon; decoupled user option from actual presence of speech
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3637 8092fc87-c524-0410-9efc-e669fe64eaf9
2011-07-09 02:29:10 +00:00