Commit Graph

87 Commits

Author SHA1 Message Date
Blixibon
a1dba884a3
Mapbase v2.0; merge pull request #3 from Avanate/patch-2
Fix a video playback issue related to 'playvideo'
2019-12-13 22:06:56 -06:00
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
Jørgen P. Tjernø
9c37fcc3a8 Merge pull request #182 from ardneran/master
Update .gitignore.
2013-12-09 18:56:11 -08:00
Joe Ludwig
8df4eca8da Merge pull request #215 from yas-online/callvpc-bat
Make create*projects scripts work independently of current directory - Windows
2013-12-09 15:07:20 -08:00
Narendra Umate
4fa56874ba Merge remote-tracking branch 'upstream/master'
Reverted .gitattributes xcode_ccache_wrapper change. Fixed line endings
for .gitignore and .gitattributes.
2013-12-08 01:27:41 -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ø
73f5dea98e GH-195: Copy SSE fix to MP branch. 2013-12-03 13:36:34 -08: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
Narendra Umate
cea71ff9ae Added DS_Store to .gitignore. 2013-12-02 23:50:09 -08:00
Narendra Umate
8737f191f3 Merge remote-tracking branch 'upstream/master' 2013-12-02 23:36:05 -08: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
Jørgen P. Tjernø
c47ad60970 Mark some more files as text. 2013-12-02 19:30:17 -08:00
Joe Ludwig
2688681352 Merge pull request #196 from jstasiak/callvpc
Make create*projects scripts work independently of current directory
2013-12-02 17:17:55 -08:00
Jakub Stasiak
bd9d3e6908 Make create*projects scripts work independently of cwd 2013-09-29 11:39:26 +01:00
Narendra Umate
4459e7bb8b Update .gitignore.
Added a few extensions and ignore paths.
2013-09-08 16:05:45 -07:00
Narendra Umate
54fc005e7c Added xcode_ccache_wrapper as text to .gitattributes.
This will hopefully prevent file turning into CRLF when someone next
touches it.
2013-09-08 10:49:13 -07:00
Narendra Umate
28b6c2af5c Replacing CR/LFs with LFs in xcode_ccache_wrapper.
Fixed

error: can't exec
'/Users/ardneran/Documents/Projects/GitHub/source-sdk-2013/*p/src/devtoo
ls/bin/osx32/xcode_ccache_wrapper' (No such file or directory)
Command
/Users/ardneran/Documents/Projects/GitHub/source-sdk-2013/*p/src/devtool
s/bin/osx32/xcode_ccache_wrapper failed with exit code 71

http://www.linuxquestions.org/questions/linux-general-1/bad-interpreter-
no-such-file-or-directory-213617/#post1975207
perl -i -pe's/\r$//;' <file name here>
2013-09-08 10:31:07 -07:00
Narendra Umate
c3ca729162 Merge remote-tracking branch 'upstream/master' 2013-09-07 15:43:32 -07:00
Narendra Umate
e694a32b03 Update .gitignore.
Ignore vpc_crc and filters extensions.
2013-09-07 15:19:02 -07:00
Joe Ludwig
80cf6f02c3 Added missing libs for linux and OSX in their new location. 2013-09-05 18:17:03 -07:00
Joe Ludwig
3c48b3704a Merge pull request #177 from psychonic/xcode_perm_fix
Add missing executable flag to xcode_ccache_wrapper.
2013-09-05 18:03:42 -07:00
Nicholas Hastings
cb55ade0b7 Add missing executable flag to xcode_ccache_wrapper. 2013-09-05 08:41:38 -04:00
Joe Ludwig
cfcc016a59 Merge branch 'master' of https://github.com/ValveSoftware/source-sdk-2013 2013-09-03 16:03:22 -07: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
Jørgen P. Tjernø
10e2714784 Merge commit '82fe37f' 2013-09-03 14:23:08 -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
Jonas 'Sortie' Termansen
82fe37f0e6 Fix bsp lump names being declared non-portably.
gcc issues warnings when encountering multicharacter constants, so we'll
simply emulate them in a manner works portably. The code assumes we are
using a little-endian machine - the real solution would be using using four
chars instead of an enum.
2013-08-12 23:00:05 +02:00