Commit graph

4926 commits

Author SHA1 Message Date
aaravamudan2014
eb849853ce Added new config file save for vehicle re-mappings 2017-04-17 16:07:03 -04:00
Chris Millsap
f421a50e5a Comment formatting
Removed incorrect comments to be more inline with windows and linux. Put
comment on line 812 on top of code.
2017-04-12 18:54:59 -04:00
Chris Millsap
c0906e1c41 Possible fix to issue #1951
(Code formated to be submitted for pull request) -- Indentation was off.
SAME FIX AS BEFORE

When two instances of Torque3D are running on the same network, one as a
hosted server and the other as a client, the client is unable to connect
to the server. The program now can open a socket. This was obviously a
typo. To find the error I just searched for keywords containing socket,
open, open socket, and opensocket till I found the correct file. The
other error was in how the program processed “non fatal” errors. I just
outputed the error to the main console and devised that the socket
should not be closed for a WSAEWOULDBLOCK error 10035 "It is normal for
WSAEWOULDBLOCK to be reported as the result from calling connect on a
nonblocking SOCK_STREAM socket, since some time must elapse for the
connection to be established."

Read about the WouldBlock error:

https://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx

Use of dbgSetParameters ( port , password ):

http://docs.garagegames.com/tge/official/content/documentation/Reference/Console%20Functions/TorqueScript_Console_Functions_2.html#dbgSetParameters_.28_port_.2C_password_.29
2017-04-11 14:51:29 -04:00
Areloch
af8fbf0e3a Goes and replaces the references/names that use Prepass to be Deferred, since we're actually using deferred. 2017-04-11 00:23:14 -05:00
Azaezel
66c7173fda adds profiling to the various gbitmap loaders*
*note, DDS bypasses the gbitmap method chain in question.
2017-04-10 21:43:38 -05:00
Areloch
214aae7277 Removed the unneeded PPC And Altivec elements, and removed the LOCBUILD flag 2017-04-09 23:26:35 -05:00
Areloch
bf229a9c0b Missed a bit. Readded an accidental removal, and cleaned up an extraneous endif 2017-04-08 21:06:47 -05:00
Areloch
ed14b6fced Removes bits of code and includes that are based on old 360, xbox and PS3 flags that are no longer needed. 2017-04-08 20:30:57 -05:00
Areloch
b052a1f970 Merge pull request #1961 from Azaezel/snapwork
[augs]Snapwork
2017-04-08 17:40:46 -05:00
Areloch
1867ae26c1 Merge pull request #1963 from elfprince13/exitingTypoFix
Exiting typo fix
2017-04-08 17:31:49 -05:00
Areloch
a61289e71c Merge pull request #1973 from Azaezel/endingEmpty
empty template is superceded by basegame + plugins.
2017-04-08 17:27:46 -05:00
Areloch
f0edbf7f95 Merge pull request #1974 from Azaezel/navmeshProfiling
profiling blocks for navmesh subsystem analysis
2017-04-08 17:23:33 -05:00
Areloch
6d269f2960 Merge pull request #1968 from Areloch/FillInBaseGame
Fill in base game
2017-04-08 16:17:29 -05:00
Azaezel
83aa47da1a profiling blocks for navmesh subsystem analysis 2017-04-05 13:04:25 -05:00
Azaezel
2d5daea554 empty template is superceded by basegame + plugins. 2017-04-05 09:28:57 -05:00
Areloch
f7c852c884 Merge pull request #1970 from Azaezel/soSquishy
squish update (primarily to add additional formats for later usage)
2017-04-05 09:19:30 -05:00
Francisco Montañés García
c32ceec27f Initialice rot.y. 2017-04-05 13:08:34 +02:00
Azaezel
fba9580004 squish update (primarily to add additional formats for later usage) 2017-03-30 20:44:35 -05:00
Areloch
7e5d2f3eac Additional cleanup and add-in of files that were missed. 2017-03-27 00:36:23 -05:00
Areloch
b357ad077d Re-adds some bits from the old templates that were missed when doing the BaseGame template. 2017-03-26 17:53:01 -05:00
Thomas "elfprince13" Dickerson
f0996f8c84 typo fix 2017-03-10 20:01:56 -05:00
Thomas "elfprince13" Dickerson
9fbea728d7 Merge branch 'development' of github.com:GarageGames/Torque3D 2017-03-07 20:08:17 -05:00
Azaezel
3f94a33a5f basegame script update for snapwork 2017-03-05 23:07:02 -06:00
Azaezel
f8a81d2634 Merge branch 'development' into snapwork 2017-03-05 22:58:29 -06:00
Areloch
9083682d40 Merge pull request #1949 from Areloch/getSignedAngleFunc
Adds the getSignedAngleBetweenVectors function
2017-03-05 02:08:02 -06:00
Areloch
d3ec45d825 Merge pull request #1959 from Areloch/SDLSplashScreenCleanupSanity
Does better sanity checking on cleanup for the splash screen closing in SDL
2017-03-05 02:06:22 -06:00
Areloch
1adab71cf1 Merge pull request #1953 from Areloch/NewBaseGameTemplateFinal
Initial implementation of the new Base Game Template
2017-03-05 02:05:39 -06:00
Areloch
d793bb6804 Added the data/shaderCache dir for procedural shader files to generate into as well. 2017-03-05 01:26:33 -06:00
Areloch
9bf9184628 Fixed up the GL side, and tweaked some shader pathing to not cause issues with the new common shader placement. 2017-03-05 01:19:21 -06:00
Thomas "elfprince13" Dickerson
849a1c1eb1 merged numerous changes from upstream 2017-03-03 21:17:07 -05:00
Areloch
336020c102 Adds the ability for modules to flag if they override existing objects during their creation. 2017-03-02 00:18:24 -06:00
Areloch
c91c900e19 Does better sanity checking on cleanup for the splash screen closing with SDL. Could erroneously get called a second time and if we'd already cleared the images and textures, it could crash.
This fixes that.
2017-03-02 00:02:28 -06:00
Areloch
2f88bdf865 Tweaked the no-levels-found popup messagebox to properly call the returnTo functionality to bump back to the appropriate originator gui. 2017-03-01 00:46:39 -06:00
Areloch
bd3af15260 Missed adding the postFXInit call to the main.cs.in file. 2017-02-27 23:02:33 -06:00
Areloch
9379fd79c5 Merge branch 'NewBaseGameTemplateFinal' of https://github.com/Areloch/Torque3D into NewBaseGameTemplateFinal 2017-02-27 22:48:02 -06:00
Areloch
9f171a42e7 Adds some basic, common materials to the editor so some starting point is always on-hand, as well as hook the BlankRoom starting editor level up to use them.
Added a check so if no levels are found from other modules, the default ui module will prompt the user to launch the editor to the base editor level and begin editing or return to main menu if tools are present, or inform them to double-check that there are modules with gameplay/levels and return them to the main menu in no tools available.

Also set it up so if the editor is launched while a mission isn't running, it'll automatically load to the base editor level and set up a default camera object. This way editing can be done even if no level is currently loaded.
2017-02-27 22:46:17 -06:00
Areloch
1788bee4f6 Corrects an issue where a change to the target template may not generate the appropriate main.cs for that template after the initial build configure. 2017-02-27 17:10:08 -06:00
Areloch
1520bc83b2 Move the common shader and postFX stuff to core, and moved the debug visualizers to the world editor, where they're actually used. 2017-02-27 15:29:35 -06:00
Azaezel
f1d315d51a adds an atGizmo option - for now drops a new object at a given singular mesh position. TODO: at the center of a given group. 2017-02-26 18:34:32 -06:00
Areloch
1ed8b05169 Initial implementation of the new Base Game Template and some starting modules.
This makes some tweaks to the engine to support this, specifically, it tweaks the hardcoded shaderpaths to defer to a pref variable, so none of the shader paths are hardcoded.

Also tweaks how post effects read in texture files, removing a bizzare filepath interpretation choice, where if the file path didn't start with "/" it forcefully appended the script's file path. This made it impossible to have images not in the same dir as the script file defining the post effect.

This was changed and the existing template's post effects tweaked for now to just add "./" to those few paths impacted, as well as the perf vars to support the non-hardcoded shader paths in the engine.
2017-02-24 02:40:56 -06:00
Azaezel
4b1e2816a9 console spam cleanup 2017-02-22 16:51:50 -06:00
Azaezel
1458494b2a applies mUseGroupCenter checks across the board 2017-02-22 15:49:26 -06:00
Azaezel
5e6826d9bd fixes snap-to-terrain toggle not displaying it's initially saved-off state. 2017-02-22 15:11:21 -06:00
Azaezel
ebdd441833 adds a useGroupCenter var/button to allow folks to use non-itterative snapping, and defaults it to do so (maintains prior functionality envelope) 2017-02-22 14:31:26 -06:00
Francisco Montañés García
49130dbd71 Proposed fix for Issue #1951. Checked with IP4. IP6 should work as wel but not checked yet. 2017-02-22 19:27:08 +01:00
Azaezel
7d2315c781 sets snap to grid to itterate through selected objects and settle them into the nearest (seected value), ie 1, 2.5, 3.33 ect. 2017-02-22 00:36:53 -06:00
Areloch
c2c34cdd5d Adds the getSignedAngleBetweenVectors function, which is like the existing getAngleBetweenVectors, but will returned a signed angle value, which helps to inform the full 360 angle, rather than the 'nearest 180'. 2017-02-19 23:00:54 -06:00
Areloch
8684cd1a65 Merge pull request #1944 from GarageGames/development
Release 3.10
2017-02-07 19:11:32 -06:00
Areloch
5c8a82180b Merge pull request #1938 from John3/add_strikeObject
added strikeObject lightning feature
2017-02-04 23:10:12 -06:00
Areloch
b6cbac0a08 Merge pull request #1942 from Areloch/forestEditingFixes
Fixes some issues with forest editor.
2017-02-04 22:50:09 -06:00