Commit graph

495 commits

Author SHA1 Message Date
Kyrah Abattoir 9205561c96 guiObjectView.setCameraRotation()
Added a new method to set the guiObjectView camera on it's orbit in relation to the object.
2013-04-15 20:39:30 +03:00
Thomas Fischer ffc1ee829b moved filesystem init further up, to be able to log errors earlier 2013-04-15 18:58:29 +02:00
Thomas Fischer aece85f02a added missing initialization and set pointer to NULL after deletion 2013-04-15 18:54:34 +02:00
SilentMike 00513230b3 Merge pull request #329 from thecelloman/cleansounds
Remove unused and duplicate sounds.
2013-04-11 12:40:56 -07:00
thecelloman d3d11e0a6c Remove unused and duplicate sounds. 2013-04-11 15:37:40 -04:00
SilentMike ab228f0faa Merge pull request #328 from thecelloman/removeunusedwpnscripts
Remove unused weapon scripts in Full Template
2013-04-11 08:57:33 -07:00
thecelloman 48942d8dd0 Remove unused weapon scripts in Full Template
soldiergun.cs
grenadeLauncher.cs
rocketLauncher.cs

These scripts defined functionality that is not implemented for any of the current weapons.
2013-04-11 11:53:18 -04:00
SilentMike a9643a448d Merge pull request #327 from thecelloman/smoothslope
Add a new Terrain brush action:  Smooth Slope.
2013-04-10 14:47:09 -07:00
thecelloman 8eb0e98f86 Add a new Terrain brush action: Smooth Slope.
This smoothes the terrain using a linear regression algorithm.  Exists alongside the oldstyle height averaging action -- options are good!
2013-04-10 08:44:22 -04:00
David Wyand b0be406109 Merge pull request #326 from DavidWyand-GG/OculusRiftDevice
Oculus VR (Rift) support
2013-04-09 22:16:47 -07:00
DavidWyand-GG de7a72d82a Oculus VR (Rift) support
Input device and shaders for supporting the Oculus Rift.
2013-04-10 01:05:26 -04:00
David Wyand 2123365d4d Merge pull request #325 from DavidWyand-GG/GameObjectBanking
Game cam and eye banking, control schemes
2013-04-09 13:18:24 -07:00
DavidWyand-GG 660250cccf Game cam and eye banking, control schemes
- ShapeBaseData has two new properties.  cameraCanBank indicates that
the game object may bank its eye/camera, if supported by the object.
mountedImagesBank indicates that mounted images should bank with the
eye/camera in first person view.  Both default to false.
- Player supports 1st person eye and 3rd person camera banking when
making use of the new ExtendedMove class.
- Camera class supports banking when making use of the new ExtendedMove
class.
- GameConnection now has an idea of a control scheme.  This determines
how game objects should respond to input events.  A control scheme may
be set by either the server or client.  Current control schemes are:
-- Absolute rotation (likely though the ExtendedMove class)
-- Add relative yaw (from mouse or gamepad) to absolute rotation.
-- Add relative pitch (from mouse or gamepad) to absolute rotation.
- Player class supports the new control schemes when using the
ExtendedMove class.
- Camera class supports the new control scheme when using the
ExtendedMove class.
2013-04-09 16:14:19 -04:00
David Wyand 2805ec81c8 Merge pull request #324 from DavidWyand-GG/SideBySideRendering
Side by side rendering
2013-04-09 12:43:58 -07:00
DavidWyand-GG b32e7688c2 Side by side rendering
- Side by side rendering implemented throughout the graphics pipeline.
- New GuiTSCtrl renderStyle property is set to "stereo side by side" to
activate.
- You set an IDisplayDevice on the GameConnection to define any vertical
FOV, projection offset, and stereo eye offset properties required for
the stereo rendering (no display device included with this commit).
- Full and Empty templates updated with correct scripts and shaders.
2013-04-09 15:19:18 -04:00
SilentMike b1a2140e61 Merge pull request #323 from thecelloman/fixteleportflash
Use correct dragCoefficient value in TeleportFlash
2013-04-09 11:00:14 -07:00
SilentMike 5fc1316869 Merge pull request #322 from thecelloman/fixcustomprofiles
Correct customProfiles.cs execution.
2013-04-09 10:40:33 -07:00
David Wyand b1feed56fd Merge pull request #321 from DavidWyand-GG/ExtendedMoveChanges
ExtendedMove changes
2013-04-09 10:33:12 -07:00
DavidWyand-GG f1099cba68 ExtendedMove changes
- Support for three positions and rotations.
- Increased the number of bits used to network rotations.
- New Euler based rotation support, in addition to the existing
quaternion support.
2013-04-09 13:30:25 -04:00
David Wyand 2fd3dcb841 Merge pull request #320 from DavidWyand-GG/PlatformVideoInfoFix
Fix platforms that don't support PVI_NumAdapters
2013-04-09 10:22:41 -07:00
DavidWyand-GG 4f4c496fba Fix platforms that don't support PVI_NumAdapters
Not all platforms currently support the PVI_NumAdapters query from
PlatformVideoInfo.  This fix puts in the assumption that there is always
1 adapter if the PVI_NumAdapaters query returns false.  This was the
behaviour prior to PVI_NumAdapters being put in place.
2013-04-09 13:20:19 -04:00
SilentMike ee44e44784 Merge pull request #319 from thecelloman/cleancheetahtssc
Clean up the cheetah's onLoad() TSShapeConstructor script
2013-04-09 10:06:28 -07:00
David Wyand a841337428 Merge pull request #318 from DavidWyand-GG/GraphicsAdapters
GFX now handles non-default adapters
2013-04-09 09:57:56 -07:00
DavidWyand-GG 0d77cdc270 GFX now handles non-default adapters
The GFX (DirectX) pipeline did not respect the choice of adapter and
always went for the default one.  Normally this isn't an issue unless
you wish to target a particular adapter and display device combination.
This has been corrected.

The GFX initialize functions now attempt to find the best adapter that
matches a given display device (i.e. monitor) if one has been passed in.
To aid with choosing a display device some new monitor enumeration
methods have been added to the platform window manager.  These methods
have been exposed to the Canvas.
2013-04-09 12:50:17 -04:00
David Wyand 1ed1a41256 Merge pull request #317 from DavidWyand-GG/PointZeroing
zero() method added to all point classes
2013-04-09 08:39:57 -07:00
DavidWyand-GG a40db9fa9b zero() method added to all point classes
Only some of the mPointX classes had the zero() method implemented.
This commit adds the method to all point classes.
2013-04-09 11:38:48 -04:00
David Wyand a8d499f7f1 Merge pull request #316 from DavidWyand-GG/FixRealStringPaths
Fix texture and object console paths
2013-04-09 07:07:34 -07:00
DavidWyand-GG bfec2dfd79 Fix texture and object console paths
- Be sure to delete all prefs.cs files following this change.
- Changes the console types of the missing, unavailable and warning
texture paths.  The old type was causing string corruption when saving
preferences.
- Changes the console type of the TSShapeConstructor collision shapes.
The old type was causing string corruption when saving preferences.
- Changed missing texture reference in ProcessedMaterial from String to
const char*.
2013-04-09 10:05:57 -04:00
thecelloman bc9ec2fad3 Use correct dragCoefficient value in TeleportFlash 2013-04-09 06:24:19 -04:00
thecelloman 67de30b0e1 Correct customProfiles.cs execution.
This removes a duplicate and erroneous attempt to load the customProfiles.cs script.  Also added additional commentary to note that this file is the default save location when using the Gui Editor to create GuiProfiles.
Also fixes a problem where the Empty Template was not loading customProfiles.cs
2013-04-09 06:01:53 -04:00
thecelloman 1a87d56116 Clean up the cheetah's onLoad() TSShapeConstructor script
This prevents some console spam due to erroneous node removal requests.
2013-04-09 05:32:05 -04:00
SilentMike 028142428e Merge pull request #315 from thecelloman/edbuttons
Add buttons to the MainMenu to access the Editors.
2013-04-08 13:52:26 -07:00
thecelloman 73a55c53a4 Add buttons to the MainMenu to access the Editors. 2013-04-08 16:48:14 -04:00
SilentMike 0d9d321ec8 Merge pull request #314 from thecelloman/terrainfxmat
Add missing terrain related materials.
2013-04-08 10:42:02 -07:00
thecelloman 88b75a1847 Add missing terrain related materials.
This prevents the "cannot find material X" messages in the console.  These psuedo materials are what enables footstep sounds and footpuffs on terrain materials.
2013-04-08 13:30:03 -04:00
SilentMike e284bd06af Merge pull request #313 from thecelloman/cleanwpndiradd
Add and remove relevant file execs for the new weapon fx usage
2013-04-08 09:45:37 -07:00
thecelloman 684dec4a12 Add and remove relevant file execs for the new weapon fx usage in previous commit, pull request #312 2013-04-08 12:40:46 -04:00
SilentMike 5ae7483af6 Merge pull request #312 from thecelloman/cleanwpndir
Cleanup of weapon fx and assets.
2013-04-08 08:17:55 -07:00
thecelloman 0ab520c001 Cleanup of weapon fx and assets.
This reduces duplication by grouping assets used by multiple weapons in one location: shared.
This reduces duplication and cleans particle fx that was spread across multiple files.  We now have rocketfx.cs and grenadefx.cs
This also fixes some minor particle fx console warnings/errors.
Fixed missing material for Cheetah Turret.
2013-04-08 07:09:55 -04:00
SilentMike f0aa2e4926 Update README.md 2013-04-05 19:07:55 -03:00
SilentMike b5a6514dae Merge pull request #304 from thecelloman/moveroads
Relocate default road & path assets.
2013-04-05 09:49:04 -07:00
thecelloman b4ea1123dc Remove Interior Object format (DIF) 2013-04-05 12:39:26 -04:00
SilentMike 5d122634ee Merge pull request #307 from thecelloman/fix282
Fix for issue #282
2013-04-04 13:10:57 -07:00
thecelloman 9c0bb322cb Fix for issue #282
Material selector now renders preview thumbnails.
2013-04-04 16:08:36 -04:00
SilentMike 3cec772992 Merge pull request #306 from thecelloman/removearmorclass
Removing the Armor script class.
2013-04-04 12:41:22 -07:00
thecelloman 281897c41e Removing the Armor script class.
Using PlayerData as the generic namespace.  This is more inline with other default datablock methods.
2013-04-04 15:39:15 -04:00
thecelloman 6f8161b098 Relocate default road & path assets. 2013-04-04 15:29:38 -04:00
SilentMike 8d0e6b8142 Merge pull request #299 from thecelloman/movelightassets
Moving the light related assets and data out of the core.
2013-04-04 11:49:24 -07:00
SilentMike 93c7e1fb73 Merge pull request #302 from thecelloman/movewater
Relocate water related assets.
2013-04-04 11:16:08 -07:00
thecelloman 6d7270c894 Relocate water related assets.
Also remove duplication, favoring DDS over other formats.
2013-04-04 14:13:46 -04:00