Commit graph

66 commits

Author SHA1 Message Date
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
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
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
c3d72513f2 Revised the contribution guidelines to encourage more interaction within the community. 2013-07-30 09:29: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
Joe Ludwig
a2e9dbd663 Merge https://github.com/ValveSoftware/source-sdk-2013 2013-07-05 12:50:52 -07:00
Joe Ludwig
c4ffd47936 Added some more files to .gitignore. Added technical guidelines for pull requests to CONTRIBUTING 2013-07-05 12:50:09 -07:00