Commit graph

58 commits

Author SHA1 Message Date
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
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
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
Jørgen P. Tjernø
3527e2f9f1 Normalize line endings
Fixes issue #75.
2013-07-05 12:09:48 -07:00
Jørgen P. Tjernø
96d1921694 Update text & binary attributes.
This should prevent line ending issues.
2013-07-05 12:08:13 -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
Jørgen P. Tjernø
9573e4b8b6 Check in gitattributes for binaries.
Followup to @TheSeg's comments on 5f08baa.
2013-07-03 17:29:49 -07:00
alfred-valve
40e97f0e3a Merge pull request #49 from ntgd/master
Fix 'gameinfo.txt' doesn't exist in subdirectory 'source-sdk-2013/mp/game/mod_hl2mp/'
2013-07-02 15:56:55 -07:00