Commit graph

1665 commits

Author SHA1 Message Date
Francisco Montañés García 87fb2d827b I's not working because onNavMeshUpdate string comparation will never succeed.
DefineEngineMethod(NavPath, onNavMeshUpdate, void, (const char *data),,
   "@brief Callback when this path's NavMesh is loaded or rebuilt.")
{
   if(object->mMesh && !dStrcmp(data, object->mMesh->getIdString()))
      object->plan();
}
2016-11-24 19:09:00 +01:00
Areloch 6097c48c5d Merge pull request #1824 from Areloch/hideDynamicRefreshField
Hides the light's dynamic refresh rate field in the editor
2016-11-23 08:44:32 -06:00
Areloch 48610d2eb1 Merge pull request #1773 from Areloch/findByObjectFix
GuiInspector's findByObject method fix.
2016-11-23 00:30:55 -06:00
Areloch 4c457b7f94 Hides the light's dynamic refresh rate field to avoid confusion, leaving only the static refresh rate field to be edited. 2016-11-09 23:46:34 -06:00
Areloch 00a4a21e3f Merge pull request #1790 from blackwc/guihealthbarhud-flip
GuitHealthBarHud flip fill
2016-11-02 22:28:21 -05:00
Areloch 3ab2f98ec3 Fixes up some erroneous behavior with Simgroup parentage.
Fixes Prefab creation handling of SceneObjects and SimGroups.
Fixes SceneObjects where the default icon incorrectly defaulted to the simgroup folder rather than the generic class object when the class has no specific class icon.
2016-10-26 00:49:05 -05:00
Areloch 1a851f167d Merge pull request #1807 from Azaezel/boxBaseBorked
clang catch: boxBase's getPlanePointIndex method wasn't returning values in all cases.
2016-10-24 01:28:25 -05:00
Areloch fd99f976a6 Merge pull request #1798 from Azaezel/UUID_unmangle
clang: format_token string format correction
2016-10-24 01:27:38 -05:00
Areloch 269b195355 Merge pull request #1804 from Azaezel/greatestZero
clang: unsigned>0 checks
2016-10-24 01:27:14 -05:00
Areloch e8aff85322 Merge pull request #1808 from Azaezel/consistentCallbacks1
clang: consistent callbacks
2016-10-24 01:25:09 -05:00
Anis 60e258e5a9 Merge pull request #1806 from Azaezel/byeByeVarVar2
more unused variable cleanups
2016-10-23 21:04:36 +02:00
Anis bd4f2b002d Merge pull request #1801 from Azaezel/registerRemoval
clang: register type modifier deprecated
2016-10-21 20:04:42 +02:00
Areloch 33f4ead242 Merge pull request #1803 from Azaezel/chasingElsey
clang: trailing else
2016-10-21 01:42:14 -05:00
Areloch 6cc7bcd2e0 Merge pull request #1805 from Azaezel/startRightEndRight
clang: constructor initialization order
2016-10-19 08:39:12 -05:00
Areloch d8644e0426 Merge pull request #1813 from Azaezel/loopyLines
clang catch: garbage in line directives
2016-10-19 00:10:09 -05:00
Areloch 74c67e8409 Merge pull request #1814 from Azaezel/unstrungHeros
garbage char in string
2016-10-18 22:46:29 -05:00
Areloch 65f25cb0e6 Merge pull request #1796 from Azaezel/notSoEasy
retooled circular ease methods
2016-10-18 22:41:31 -05:00
Azaezel c5fa0557b5 garbage char in string 2016-10-18 11:44:25 -05:00
Azaezel 4bc1491714 clang catch: garbage in line directives 2016-10-18 11:37:18 -05:00
Azaezel 5e1b6cbc48 clang: trailing else 2016-10-18 08:58:15 -05:00
Areloch 5349bad5ca Merge pull request #1809 from dud3/patch-1
refactor: spacing on function call parameters
2016-10-17 23:52:08 -05:00
Areloch 121d65215e Tweaks any enums that use uint_max values so that they have hard types to avoid any compiler kerfluffles with C++11 value narrowing, specifically pertaining to clang. 2016-10-17 01:00:12 -05:00
Dren Kajmakci e267cd7c80 refactor: spacing on function call parameters 2016-10-17 02:24:34 +02:00
Azaezel 5f5466d90d clang: consistent callbacks 2016-10-16 16:54:11 -05:00
Azaezel 8d4dd14144 clang catch: boxBase's getPlanePointIndex method wasn't returning values in all cases.
assertfatal doesn't do anything in release builds, so also added a failure enum.
2016-10-16 15:31:56 -05:00
Azaezel 1ee127b753 more unused variable cleanups 2016-10-16 14:41:34 -05:00
Anis 3038e53856 Merge pull request #1799 from Azaezel/pragmaProblem
clang catch: pragma note. (no longer needed)
2016-10-16 03:25:02 +02:00
Azaezel fbfd3ed8ed clang: constructor initialization order
while not a major issue per-se, the sheer number of times the engine has to jump back in memory and backfill data in a given class can add up. First run of... many.,
2016-10-14 18:16:55 -05:00
Azaezel 0e896a9a02 clang: unsigned>0 checks 2016-10-14 18:09:22 -05:00
Azaezel aa614f60f8 clang: unsigned>0 checks 2016-10-14 18:04:11 -05:00
Azaezel d30dedd7c5 clang: trailing else 2016-10-14 17:57:20 -05:00
Azaezel cc9955e102 unused variable cleanup 2016-10-14 17:49:56 -05:00
Azaezel dd0b7914e6 clang: register type modifier deprecated 2016-10-14 17:37:00 -05:00
Azaezel a8f9249f77 clang catch: pragma note. (no longer needed) 2016-10-14 17:04:17 -05:00
Azaezel ae5f61e60d clang: format_token string format correction 2016-10-14 16:28:06 -05:00
Azaezel 2f5321ddfb tabs/space + transcription typofix 2016-10-14 13:40:53 -05:00
Azaezel d50762cbef self modifying variables made clang unhappy. retooled circular ease methods
basis: http://gizma.com/easing/#circ1
2016-10-14 13:00:27 -05:00
Areloch 1131ed15df Merge pull request #1785 from rextimmy/mac_port_clean
MacOS platform support
2016-10-12 16:54:24 -05:00
Azaezel 8121408029 doc correction 2016-10-12 10:24:17 -05:00
Azaezel e12536efcd distance needs to be returned as a float. 2016-10-12 10:19:04 -05:00
Areloch 3432fbcd7a Merge pull request #1770 from Areloch/SDLMouseModsFix
Makes sure the key modifiers are passed along with mouse actions.
2016-10-10 14:28:50 -05:00
blackwc 3bc4711e07 add flip fill to guiHealthBarHud 2016-10-09 18:22:27 -04:00
Areloch e77642f6cb Merge pull request #1786 from jamesu/datachunker_mem
Reduce the amount of blocks of memory DataChunker uses
2016-10-09 13:56:42 -05:00
Anis 98b52d1fed Merge pull request #1782 from pacomont/Fix_AbstractPolyList_addBox
Fixes AbstractPolyList::addBox(). Complete each face with missing 2nd triangle.
2016-10-08 19:15:28 +02:00
James Urquhart d324abd2df Fix redundant memcpy in swizzle ToBuffer method 2016-09-30 18:41:10 +01:00
James Urquhart c2cc7142de Reduce the amount of blocks of memory DataChunker uses 2016-09-30 18:35:14 +01:00
RexTimmy 7281c2ed18 64bit shadergen hash key support. 2016-09-28 11:13:55 +10:00
RexTimmy 3b1d84fe5c SDL & Win32 platform threads cleanup. 2016-09-28 11:13:25 +10:00
RexTimmy dd64004eaf MacOS platform support. 2016-09-28 11:09:48 +10:00
Anis 57dfeb829a Merge pull request #1774 from Azaezel/terrainTrouble
embeds blendtotal into the low bit for the normal|depth buffer
2016-09-23 23:23:26 +02:00