Commit graph

79 commits

Author SHA1 Message Date
Marc-Antoine Lortie
c6e1c36154 Fix misspelled platform in HUD layout. 2024-05-05 14:36:16 -04: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
Jonas 'Sortie' Termansen
63325a7174 Use Q_strncpy in utils/vbsp/detailobjects.cpp. 2013-08-12 22:58:07 +02:00
Jonas 'Sortie' Termansen
b64d2e878c Avoid conflict with gamma(3) in utils/vrad/vrad.h.
The name of the global variable conflicts with the deprecated gamma function
from <math.h> on some systems. Additionally the variable appears to be
unused - should it rather just be deleted from the codebase?
2013-08-12 22:55:10 +02:00
Jonas 'Sortie' Termansen
c5fb3851bb Fix use of temporary vector in utils/vrad/vraddetailprops.cpp.
This fixes a gcc compile error.
2013-08-12 22:53:16 +02:00
Jonas 'Sortie' Termansen
324b4f93dc Fix bad class declaration in utils/vbsp/ivp.
The duplicated namespace in the member declaration causes the class to not
compile using gcc.
2013-08-12 22:51:07 +02:00
Jonas 'Sortie' Termansen
53ac2580ac Fix SortEntry operator< not being const.
This solves a problem where the standard library expects it to be const,
which causes compilation problems on GNU/Linux.
2013-08-12 22:49:22 +02:00
Jonas 'Sortie' Termansen
6d419a245f Fix vbsp missing skybox error case when building cubemaps.
The code previoused checked the address of a stack array that would always
evaluate non-zero, which wasn't what was intended.
2013-08-12 22:42:10 +02:00
Alan Edwardes
0c87302844 VBSP now checks all search paths for an FGD file. 2013-08-05 19:14:47 +01:00
Alan Edwardes
137582c2b9 Changed VBSP to check the MOD directory for FGD files specified in gameinfo.txt, in addition to EXECUTABLE_PATH. 2013-08-05 19:14:22 +01:00