Commit graph

146 commits

Author SHA1 Message Date
DavidWyand-GG e4df92a7bc Theora texture for cloned material fix
When a TSShapeInstance makes a copy of its own materials through
cloneMaterialList() (such as done with client side ShapeBase objects),
the reference to a named diffuse render target was being lost.  This
affected using a TheoraTextureObject on a ShapeBase derived object
(StaticShape, etc.).
2013-05-13 16:49:12 -04:00
DavidWyand-GG c5c08e72d2 Changes to have Linux dedicated compiling again 2013-05-08 06:55:51 +00:00
DavidWyand-GG e6abbee773 Update squish library to compile under Linux
There is a fix in the libsquish repository to make v1.11 compile under
Linux.  http://code.google.com/p/libsquish/  This involves adding an
#include <limits.h> to a couple of files.
2013-05-07 23:54:02 -04:00
David Wyand add658d345 Merge pull request #366 from DavidWyand-GG/ProjectManagerChanges
style.css changes for Project Manager modules
2013-05-01 14:10:12 -07:00
DavidWyand-GG 83aa6f0b93 style.css changes for Project Manager modules
The style.css defines how some of the Project Manager GUI elements look.
With the buttons for changing a project's modules some changes to this
file are required.
2013-05-01 17:08:43 -04:00
SilentMike ca2c143feb Merge pull request #363 from thecelloman/productstring
Fill in missing case for getEngineProductString switch block.
2013-04-30 09:57:09 -07:00
thecelloman da0db2a382 Fill in missing case for getEngineProductString switch block. 2013-04-29 20:59:34 -04:00
David Wyand c7b22784da Merge pull request #355 from DavidWyand-GG/TheoraTextureObject
TheoraTextureObject
2013-04-23 08:26:01 -07:00
DavidWyand-GG 30144a9f98 TheoraTextureObject
Places a theora video onto a named texture surface that may be used by
any material.  Allows for the video to play, pause, stop, loop, and for
the source video to be changed at any time.

Based on this resource:
http://www.garagegames.com/community/resources/view/21019
2013-04-23 11:24:05 -04:00
thecelloman f9d52147ac Version number change.
Also adds console functions to get the user's application version.
2013-04-23 23:09:21 -04:00
DavidWyand-GG 78242191ec ScatterSky source line endings fix 2013-04-23 10:39:03 -04:00
Ron Kapaun 808f1a5beb Scatter Sky Community Fixes
Fixes and Extends Features in the Scatter Sky Object and Shaders
2013-04-23 10:26:17 -04:00
David Wyand 2dcc7f0247 Merge pull request #310 from thecelloman/goodbyeDIF
Remove Interior Object format (DIF)
2013-04-20 13:44:11 -07:00
SilentMike c62679b797 Merge pull request #348 from Nick-IronTower/development
Compiling with VS2012
2013-04-18 09:41:05 -07:00
Nick-IronTower 2c7b22cf8a Compiling with VS2012
- updated nasm license;
2013-04-18 19:22:38 +03:00
SilentMike 20b8294282 Merge pull request #287 from xoltan/terrainmacro
Terrain Macro Texture
2013-04-18 08:50:06 -07:00
Nick-IronTower 4543e85d76 Compiling with VS2012
- updated nasm binaries;
- updated template files to reflect new paths to nasm binaries;

Now .asm files compile with /safeseh option.
2013-04-18 13:31:18 +03:00
SilentMike 134042e268 Merge pull request #334 from kyrahabattoir/guiViewObject
GuiObjectView TorqueScript setRotation method
2013-04-17 19:53:36 -07:00
SilentMike 57d92d522e Merge pull request #332 from tdev/beamng
some small patches
2013-04-17 16:48:10 -07:00
SilentMike 38a1eca0be Merge pull request #241 from just-bank/engine-api-fixes
Engine API fixes
2013-04-17 15:19:57 -07:00
SilentMike 6300fa611f Merge pull request #144 from eightyeight/ground-cover-lod
GroundCover fading when zoomed in
2013-04-17 15:03:49 -07:00
Kyrah Abattoir 7f717e08ce guiObjectView.setCameraRotation()
Exposed setCameraRotation to TorqueScript.
2013-04-15 20:43:05 +03:00
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 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
DavidWyand-GG de7a72d82a Oculus VR (Rift) support
Input device and shaders for supporting the Oculus Rift.
2013-04-10 01:05:26 -04: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
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
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
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
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
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
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 b4ea1123dc Remove Interior Object format (DIF) 2013-04-05 12:39:26 -04:00
thecelloman 19c685dc23 Resolve issue #193 - Gui Editor treeview now refreshes correctly when changed through a drag/drop operation. 2013-03-27 23:21:25 -04:00
thecelloman 7e5ddf4ca2 Resolve issue #163
Fixed and assert on changing material, and we now map the material to the MATMGR by name instead of type.
2013-03-27 21:36:17 -04:00
xoltan add2f8cb47 Terrain Macro Texture
Adds another layer of detail-like texture to the terrain and the
interface updates in the Terrain Painter.
2013-03-27 18:58:37 -06:00
SilentMike 769268784f Merge pull request #268 from eightyeight/terrain-import-flipped
Importing terrain heightmaps flips Y-axis
2013-03-25 14:03:11 -07:00
Daniel Buckmaster b868906ba5 Added a checkbox to the terrain import GUI and fixed a space. 2013-03-23 09:24:02 +11:00
thecelloman 1468a049af Filling out the variable names in the function prototype for autoMaterialLayers() for clarity.
Minor whitespace formatting changes (spacing) for consistency.
2013-03-22 15:02:45 -04:00
thecelloman 25efdb4a06 Adding a basic rule-based terrain painting implementation.
http://www.garagegames.com/community/resources/view/17145
2013-03-21 17:45:23 -04:00
Daniel Buckmaster 6ff1db6c0c Made the flipped y-axis on terrain import optional.
Pass a final boolean argument to TerrainBlock::import to control
y-axis flipping. It is enabled by default, since this was the previous
default behavior.

This should be added as an option in the terrain import dialog - see
game/tools/worldEditor/gui/guiTerrainImportGui.gui
2013-03-21 09:22:07 +11:00
thecelloman 512f0f10e7 Update TinyXML to v2.6.2 2013-03-13 04:00:12 -04:00
SilentMike 17c750b19a Merge pull request #243 from thecelloman/updatesquish
Update squish
2013-03-10 11:36:02 -07:00
thecelloman 4fdfb47f41 Updating libpng to v1.5.14 and zlib to v1.2.7
Since libpng has a dependency upon zlib, both updates were combined for one commit/pull-request.
2013-03-09 16:19:11 -05:00
David Wyand 845931296e Merge pull request #248 from DavidWyand-GG/HardCodedPaths2
Removed hard coded directory paths
2013-03-07 15:58:43 -08:00
DavidWyand-GG 4b1334db9f Removed hard coded directory paths
- Removed references to core directory.
- Switch some references to tools directory
- Added preferences variables where appropriate
2013-03-07 18:56:53 -05:00
thecelloman 8de0b7cbb1 Update squish library to 1.11 2013-03-04 14:37:50 -05:00