Commit Graph

704 Commits

Author SHA1 Message Date
Avanate
4f7fc0382a
Add #ifdef MAPBASE preprocessor 2019-11-02 18:59:28 +02:00
Blixibon
27b026c5d9 Merged dev changes 10/24/2019
- Applied the nexttoken security fix (suggested by ficool2, important for MP port, no #ifdef MAPBASE because of volume of changes and irrelevance to readers)
- Fixed a crash with the follower wait point start/stop using handlers
- Fixed game_ui activator crash
- Changed vphysics triggers to accept more entities
- Fixed player squadmates not obeying hint node facing (e.g. wait points)
- Fixed npc_snipers
- prop_vehicle_jeep_old no longer changes classname
- Restored and added the other CTakeDamageInfo fields for point_damageinfo
- Fixed game_metadata not saving correctly
- Fixed logic_measure_movement not functioning while possessing spawnflags
- Added scripts/mapbase_rpc.txt script with choosable app ID and game image
- Fixed some casing that broke Linux support
- Added proper WorldVertexTransition blending to translucency and selfillum (translucency may need the translucent texture to be $basetexture, not $basetexture2)
- Added modified parallax corrected cubemaps to shader code (although currently unusable)
- Fixed Variant_ParseInput
- Added/restored custom scanner speed (experimental, needs more work)
- Several miscellaneous code changes/fixes and comment adjustments
2019-10-24 21:47:12 +00:00
Avanate
0f695ee664
Fix a video playback issue related to 'playvideo'
There is currently a bug that prohibits 'playvideo' from successfully playing media in-game, as the player must firstly go to the main menu for it to play, this issue makes sure that the command can work without having the player go to the menu.
2019-10-07 17:33:49 +03:00
Blixibon
756caa92e4 Merged dev changes 9/30/2019 - Last-minute change
- Reverted Nbc66's CC changes for now
2019-09-30 16:35:54 +00:00
Blixibon
8ebe43d5d4 Merged dev changes 9/30/2019
- Added DMG_PREVENT_PHYSICS_FORCE to dynamic interaction tests
- Fixed response context $ in base entities
- Miscellaneous code changes
2019-09-30 15:49:42 +00:00
Blixibon
dd9f5ac766 Merged dev changes 9/28/2019
- Experimental RPC stuff for the future
- Fixed players running over allies with vehicles (kind of)
- Modified redirect filter infrastructure to support when there's no target filter (meaning it will just make sure the entity exists)
- Fixed SDK_EyeRefract
- Fixed env_beam SetStart/EndEntity
- New "OnStateChange" output on NPCs
- scripted_face removed (use generic facing VCDs instead)
- Fixed RPC
- View ID nodraw keyvalue + reflective glass view ID fix
- CopyAnimationDataFrom expansion (more variables copied)
- Fixed pre-Mapbase env_projectedtextures not updating after loading a save
- Fixed(?) player companion grenade throwing being interrupted
- Added convars for secondary and NPC shotgun pellet amounts
- NPC fade distance/scale transfers to its ragdoll
- Made node graph rebuild occur sooner after map load
- Added option to disable "node graph out of date" message
- Fixed ent_fire delay (decimals discarded before)
- "SetFilter" on func_clip_vphysics
- Fixed func_tank zero barrel (untested)
- Fixed npc_turret_ground parenting fix
- Added toggle-able weapon_crossbow experimental hit location code
- Fixed ally grenades being considered Combine grenades
- Added SDK_MonitorScreen and SDK_UnlitTwoTexture
- Updated README
- Added !activator/!caller support to logic_collision_pair
- Fixed ortho not working in script_intro
- Added Nbc66's closed captioning language fix
- Applied fade fix to server ragdolls
- Added combine_mine friend/foe filters
- Fixed env_starfield pausing
- Reworked PickupWeapon/Item inputs
- Fixed context response system $ usage
- Fixed env_break_shooter velocity/speed
- Made func_breakable "Spawn on break" support other entities
- Fixed OnThrowGrenade > point_entity_replace blip
- Added mapname to logic_externaldata
- Added "Random Template" to point_template
- Added "Use LOS" to trigger_look
- Added flags based on L4D(2) to trigger_playermovement
- Added npc_combine_s "Alternate Capable" keyvalue that enables both grenades and alt-fire at the same time regardless of elite status
- Fixed npc_combine_s DropGrenade input
- Miscellaneous code and comment changes
2019-09-28 22:56:52 +00:00
Blixibon
031e383fb5 Merged dev changes 9/7/2019
- Experimental RPC stuff for the future
- Fixed players running over allies with vehicles (kind of)
- Modified redirect filter infrastructure to support when there's no target filter (meaning it will just make sure the entity exists)
- Fixed SDK_EyeRefract
- Fixed env_beam SetStart/EndEntity
- New "OnStateChange" output on NPCs
- scripted_face removed (use generic facing VCDs instead)
- Fixed RPC
- Miscellaneous code cleanup
2019-09-07 21:05:59 +00:00
Blixibon
3d464bc051 Initial Mapbase commit (squashed from mapbase-beta) 2019-08-31 19:28:20 +00:00
John Schoenick
0d8dceea43 Updated the SDK with the latest code from the TF and HL2 branches. 2015-09-09 18:35:41 -07:00
Michael Sartain
55ed12f8d1 Updated the SDK with the latest code from the TF and HL2 branches. 2014-10-02 08:25:55 -07:00
Joe Ludwig
56accfdb9c * Added support for Visual C++ 2013 Express to VPC
* Added support for running VPC on Windows XP
2014-06-12 10:11:56 -07:00
Joe Ludwig
3b9509df78 Added VS2010 version of libprotobuf for folks who are still using VS2010 2014-05-19 11:04:38 -07:00
Joe Ludwig
f52a3417ee Merge branch 'master' of https://github.com/ValveSoftware/source-sdk-2013 2014-05-15 16:22:11 -07:00
Joe Ludwig
53e78c503e General:
*         Upgraded Steamworks SDK to v1.29
*         Fixed mod compatibility problem with Multiplayer Base that was introduced in September.
*         In Hammer, while using the Vertex Tool, pressing CTRL+B will snap selected vertices to the grid.

Virtual Reality:
*         Mods that support virtual reality now need to have a line in gameinfo.txt that says “supportsvr 1”. This indicates to gameui and engine that certain UI should be enabled.
*         VR-enabled mods will now start up in VR mode when launched from Steam’s VR mode.

Windows:
*         Upgraded to Visual Studio 2013. If you need to build projects for VS 2010, add /2010 to your VPC command line.

OSX:
*         Upgraded to XCode 5.
2014-05-15 13:59:18 -07:00
Bruce Dawson
28abc2120b Add VS 2012 and VS 2013 versions of libprotobuf.lib
Adding these libraries lets the source-sdk be built with VS 2012 and VS
2013, in addition to VS 2010. Just copy createallprojects.bat or
creategameprojects.bat and add /2012 or /2013 to the vpc command line.
Then load the resultant .sln file into the appropriate version of Visual
Studio. A full rebuild may be necessary the first time in order to clear
out .obj and .pdb files from previous builds.
2014-01-06 17:21:23 -08:00
Joe Ludwig
7309a5f13f Added many shader source files
This should include the latest version of every shader that was in the
2007 SDK. It also includes a smattering of debug shaders, both VR
distortion shaders, and other assorted shaders that will hopefully be
useful.

None of these new files are included in the game shader DLL project. If
you need to modify one of these shaders for use in your mod you will
need to rename it so that you don't collide with the version of that
shader that lives in stdshader_dx9.dll.
2013-12-23 15:00:03 -08:00
Neico
c2bd28b03e added bat equivalent of https://github.com/ValveSoftware/source-sdk-2013/pull/196 2013-12-06 07:06:00 +01:00
Jørgen P. Tjernø
3f1561893c Make libSDL2.so/dylib into symlinks. 2013-12-03 11:57:25 -08:00
Jørgen P. Tjernø
b5dc4a8543 Line-ending fixes for most of the remaining files.
Fixes line-endings for files with extensions vcd, cc, txt, bat, fxc, inc, lst,
proto, mak, mm, cfg, res, rc, def, vmt, vsh, vbsp, inl, asm, m4, vcproj,
vcxproj, sln, in, java, la, manifest, am, and rad.

Also fixes README, CONTRIBUTING, CONTRIBUTORS, LICENSE, CHANGES, COPYING, and
gitignore.

Finally, fixes executable bits.
2013-12-03 11:57:22 -08:00
Jørgen P. Tjernø
30064a1977 Specify clobbered registers in POSIX SSE functions
We weren't specifying clobbered registers for our SSE implementations of
VectorNormalize and InvRSquared. Supposedly GCC and clang does not inspect the
assembly to figure out which registers are getting clobbered, so this could
potentially fix some bugs.

This fixes GH-195.
2013-12-03 10:34:47 -08:00
Jørgen P. Tjernø
27d9df18d1 Fix some accidental new-line stomping. 2013-12-03 10:34:08 -08:00
Jørgen P. Tjernø
45cc6eccbc Merge pull request #147 from alanedwardes/vbsp-fixes
Changed VBSP to check both the EXECUTABLE_PATH and the MOD path for FDG files.
2013-12-03 10:24:59 -08:00
Joe Ludwig
beaae8ac45 Updated the SDK with the latest code from the TF and HL2 branches
* Adds support for Visual Studio 2012 and 2013
* VR Mode:
. Switches from headtrack.dll to sourcevr.dll
. Improved readability of the UI in VR
. Removed the IPD calibration tool. TF2 will now obey the Oculus
configuration file. Use the Oculus calibration tool in your SDK or
install and run "OpenVR" under Tools in Steam to calibrate your IPD.
. Added dropdown to enable VR mode in the Video options. Removed the -vr
command line option.
. Added the ability to switch in and out of VR mode without quitting the
game
. By default VR mode will run full screen. To switch back to a
borderless window set the vr_force_windowed convar.
. Added support for VR mode on Linux
* Many assorted bug fixes and other changes from Team Fortress in
various shared files
2013-12-03 08:54:16 -08:00
Alan Edwardes
550992aeba Merge remote-tracking branch 'upstream/master' into vbsp-fixes. 2013-12-03 10:47:30 +00:00
Jørgen P. Tjernø
2861c3fbfc Make .xcconfigs text files too. 2013-12-02 21:24:06 -08:00
Jørgen P. Tjernø
b00fad8cd0 Fix IceKey.H to be a text file too. 2013-12-02 20:29:51 -08:00
Jørgen P. Tjernø
f56bb35301 Fix line endings. WHAMMY. 2013-12-02 19:46:31 -08:00
Jakub Stasiak
bd9d3e6908 Make create*projects scripts work independently of cwd 2013-09-29 11:39:26 +01:00
Joe Ludwig
80cf6f02c3 Added missing libs for linux and OSX in their new location. 2013-09-05 18:17:03 -07:00
Nicholas Hastings
cb55ade0b7 Add missing executable flag to xcode_ccache_wrapper. 2013-09-05 08:41:38 -04:00
Joe Ludwig
1524321396 * Fixed Source Mod back-compatability by reordering methods in a couple interfaces.
* Added missing singleplayer OSX libs
* Updated vpc and libs.
2013-09-03 16:02:10 -07:00
Joe Ludwig
a0c29e7dd6 General:
* Fixed a variety of server browser issues with mods based on this SDK
* Fixed many warnings on various platforms
* Added source code for fgdlib and raytrace
* Updated many source files with the latest shared source from TF2.

OSX:
* Added support for Xcode 4.6
* Switched OSX builds to use Xcode instead of makefiles
* Moved libs from src/lib/osx32 to src/lib/public/osx32 or src/lib/common/osx32 to match windows better.

Linux:
* Moved libs from src/lib/linux32 to src/lib/public/linux32 or src/lib/common/linux32 to match windows better.
2013-09-02 11:39:10 -07:00
Alan Edwardes
0c87302844 VBSP now checks all search paths for an FGD file. 2013-08-05 19:14:47 +01:00
Alan Edwardes
38a9e52e61 Changed VBSP to check the MOD directory for FGD files specified in gameinfo.txt, in addition to EXECUTABLE_PATH. 2013-08-05 19:14:16 +01:00
Joe Ludwig
d9ac276a95 Added bloom shader and screenspace effect helpers as examples for the SDK. 2013-07-30 15:10:15 -07:00
Joe Ludwig
14da425dbd Added .vcd files from lost coast 2013-07-30 08:40:30 -07:00
Joe Ludwig
2da6af4311 Added skill cfg files so that refilling ammo will work. 2013-07-29 16:40:43 -07:00
Joe Ludwig
e174b33716 Added .vcds from all the singleplayer games in the SDK 2013-07-29 16:07:25 -07:00
Joe Ludwig
b2215f2dbc Added all the ep2 strings to their string tables to match the way the game loads string tables. 2013-07-19 16:25:41 -07:00
Joe Ludwig
22cebd61fc Added all the HL2 and HL2MP strings to their string tables to match the way the game loads string tables. 2013-07-18 16:01:12 -07:00
Joe Ludwig
29f290f787 Added missing OSX and Linux shaderlibs 2013-07-18 10:11:37 -07:00
Joe Ludwig
e16ea21dc8 * Added support for building shaders in your mod
* Added nav mesh support
* fixed many warnings and misc bugs
* Fixed the create*projects scripts in mp
* Added a bunch of stuff to .gitignore
2013-07-17 18:26:59 -07:00
Joe Ludwig
6a271d4a68 Merge pull request #36 from AnAkIn1/fogplayerparams_fix
Fix typo and value which should be non float
2013-07-16 17:18:23 -07:00
Jørgen P. Tjernø
3527e2f9f1 Normalize line endings
Fixes issue #75.
2013-07-05 12:09:48 -07:00
Joe Ludwig
cc9c12c5fd Updated the libs. Updated vpc_* to include support for $Conditional in .vgc files. Included vstdlib_exclude.vpc for the OSX builds. 2013-07-05 11:28:48 -07:00
Joe Ludwig
3aacf913d5 Merge https://github.com/ValveSoftware/source-sdk-2013 2013-07-04 11:33:04 -07:00
Joe Ludwig
89ab753e6a Fixed execute permissions on OSX/Linux scripts and binaries. 2013-07-04 11:28:48 -07:00
Joe Ludwig
77b376f8a0 * Switched the SDK from checked-in projects to VPC, the Valve Project Creator. See the Getting Started document on the wiki for details.
* Pulled in bug fixes from HL2 and HL2MP.
2013-07-04 11:20:31 -07:00
AnAkIn1
3a066ecf31 Fix typo and value which should be non float 2013-06-29 01:37:00 +02:00
Jørgen P. Tjernø
5287c094fd Add executable bit to gendbg.sh. 2013-06-28 11:31:36 -07:00
Jørgen P. Tjernø
5f08baab70 Mac: Fix corrupted protoc binaries.
These binaries were corrupted due to accidental newline ending conversion.
2013-06-28 11:29:58 -07:00
Jørgen P. Tjernø
e2f7bc3029 Add executable permission to ccache and protoc. 2013-06-27 18:22:34 -07:00
Joe Ludwig
949bd75a99 Fixed various missing files 2013-06-27 14:27:15 -07:00
Joe Ludwig
39ed87570b First version of the SOurce SDK 2013 2013-06-26 15:22:04 -07:00