Commit graph

1939 commits

Author SHA1 Message Date
Marc Chapman fec893cd8b db-cache -- implementation of datablock caching system. 2017-07-26 23:41:57 +01:00
Marc Chapman 169e539e47 enhanced-particle -- Accounts for larger number of particle size keys. 2017-07-26 23:24:08 +01:00
Marc Chapman 6910ee584d enhanced-emitter -- numerous enhancements to ParticleEmitter class.
pooled-particles -- optional support for pooled particles which combines multiple emitters in a common sorting pool.
2017-07-26 22:45:10 +01:00
Marc Chapman d28a416914 packet-overflow-checks -- Monitor packet sizes to avoid packet overflow, especially when dynamic variables are used for AFX effect parameterization. 2017-07-26 22:22:23 +01:00
Marc Chapman d68b616bf7 canvas -- Added a way for a child control to handle an event but still have GuiCanvas::processInputEvent() return false, therefore allowing the event to also be handled by the ActionMap. (see DemoGame::processInputEvent()) . Also added methods for clearing "down" status of mouse buttons in cases where ActionMap grabs the mouse for dragging and masks the up events from GuiCanvas.
fade-gui-ctrl -- adds fading capability to GuiControl.
2017-07-26 22:20:43 +01:00
Marc Chapman 8a6ac1fb0f terrain-zodiacs -- Changes made for rendering zodiacs on regular terrain. 2017-07-26 22:10:56 +01:00
Marc Chapman 4ab89f637e meshroad-zodiacs -- MeshRoad customizations for rendering zodiacs on them.
enhanced-meshroad -- adds option for building top-surface-only PolyList.
polysoup-zodiacs -- Changes made for rendering zodiacs on polysoup objects.
groundplane-zodiacs -- groundPlane customizations for rendering zodiacs on them.
special-types -- defines type bits for interior-like and terrain-like types.
special-types -- defines a type bit for polysoup objects.
2017-07-26 22:05:04 +01:00
Marc Chapman 64e742f053 enhanced-field-mgmt -- Enhancements to dynamic field handling that allow for name filtering and replacement limiting 2017-07-26 21:49:45 +01:00
Marc Chapman bc90e97d35 copy-on-reload -- The datablock copy op, ":" is modified to copy on reload as well as on creation.
reload-reset -- adds virtual method that is called when a datablock is reloaded.
2017-07-26 21:40:27 +01:00
Marc Chapman 43815793d1 datablock-temp-clone -- Implements creation of temporary datablock clones to allow late substitution of datablock fields. 2017-07-26 21:10:43 +01:00
Marc Chapman 83c533249f substitutions -- Implementation of special substitution statements on datablock fields. 2017-07-26 20:18:27 +01:00
Marc Chapman 01340843b2 core -- heartbeat call to arcaneFX::advanceTime() from within clientProcess().
misc  -- various other function references
2017-07-26 20:01:44 +01:00
Marc Chapman d7a8510756 Add all new AFX files 2017-07-26 19:38:34 +01:00
Areloch 3d7c1bbbf7 Merge pull request #2040 from Azaezel/xenonCleanup
kills off the last vestiges of xenon support
2017-07-09 17:25:10 -05:00
Azaezel bdafe9df43 forgot one 2017-07-09 15:41:54 -05:00
Areloch fcd162450e Merge pull request #2034 from rextimmy/dds_cubemaps
DDS CubemapData support
2017-07-09 15:34:02 -05:00
Azaezel 6f78c9567c kills off the last vestiges of xenon support 2017-07-09 15:05:56 -05:00
Areloch 7cc0373b48 #if cleanup for the VS2017 workaround 2017-07-07 02:12:43 -05:00
rextimmy 8bdccb3ff3 DDS cubemap support 2017-07-07 15:59:02 +10:00
Areloch ec400e373f Merge pull request #2030 from Areloch/2017TemplateFix
VS2017 compiler workaround
2017-07-05 22:29:23 -05:00
Areloch 60b1922bc5 Includes the D3D feature level detection. 2017-07-05 22:27:37 -05:00
Areloch ef1edd3751 Works around the regressive behavior in the VSC++ compiler for VS2017 where the variadic templates would not compile correctly. Issue should be patched in future versions, so for now it'll target the 1910 version specifically. 2017-06-28 23:58:56 -05:00
Areloch 0801a3cca8 Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy 2017-06-23 11:36:20 -05:00
Azaezel b4c2906581 expanded debug reporting for SDL_Init 2017-06-13 20:24:03 -05:00
Areloch 64955e8cfc Merge pull request #2004 from Areloch/PragmaPack
Ups the #pragma pack call from 4 to 8 when using 64bit
2017-06-10 01:40:53 -05:00
Areloch 23fb9ba38b Conflict resolution with devhead.
Cleaned up a few remaining d3d9 references in the cmake file.
2017-06-01 23:54:44 -05:00
Areloch 6f87fb54b6 Merge pull request #2008 from Areloch/ConsoleDumpAllocationFix
Console Classes dump allocation fix
2017-05-31 02:30:50 -05:00
Areloch 42718099ed Use the more stable method of checking the string by using the strlen call. 2017-05-31 02:27:28 -05:00
Areloch 4b5fbc20cf Merge pull request #2009 from Areloch/Prepass_Deferred_Remainder
Catches the remaining prepass to deferred changes on the engine side.
2017-05-30 23:43:09 -05:00
Areloch 7e5e3b5105 Removes Direct3D9 functionality. 2017-05-28 16:51:31 -05:00
Areloch 5e288e79d2 Merge pull request #2010 from Areloch/Fix1999
Cleans up a redundant include.
2017-05-25 01:35:34 -05:00
Areloch 915fd9e418 Merge pull request #2011 from Areloch/Fix1998
Fixes a redundant flag test
2017-05-25 01:35:09 -05:00
Richard Marrevee 2f399e427f Update win32WindowMgr.cpp 2017-05-18 20:39:53 +02:00
Areloch f2c25162c4 Fixes a redundant flag test 2017-05-15 01:04:06 -05:00
Areloch 9b62afbe3f Cleans up a redundant include. 2017-05-15 01:02:15 -05:00
Areloch b634cda2bb Merge pull request #1972 from pacomont/Fix_bad_initialization_on_camera
Fix bad initialization on camera
2017-05-15 00:58:36 -05:00
Areloch 726790bacf Merge pull request #2001 from pacomont/Let's_appling_Camera_FX_when_mount_on_driver_position
Why not apply Camera FX on vehicle driver position?
2017-05-15 00:58:11 -05:00
Areloch f5347f95bf Merge pull request #2002 from OTHGMars/VolFogLeak
VolumetricFog memory leak fix
2017-05-15 00:45:43 -05:00
Areloch 9ce521d95f Catches the remaining prepass to deferred changes on the engine side. 2017-05-14 18:28:17 -05:00
Areloch 2d648dae58 Console Classes dump fix. It was running aground on having a case where there was a empty value for the 'usage' field in the class header. This would break the allocation because we're allocating nothing. This rejects it if the usage field is an empty string. 2017-05-14 17:51:13 -05:00
Areloch b0fe71fa2f Merge pull request #2007 from OTHGMars/DrawTextNFix
BugFix for GFXDrawUtil::drawTextN()
2017-05-14 17:47:29 -05:00
OTHGMars 77da6900a8 Prevents GFXDrawUtil::drawTextN() from drawing one character more than requested if in_string has more than n characters. 2017-05-12 18:54:01 -04:00
Areloch 9501e52462 ups the #pragma pack call from 4 to 8 when using 64bit, as per suggested settings. This shaves off a lot of compatibility warnings. 2017-05-08 19:13:10 -05:00
OTHGMars 3658f1587d Fixes a memory leak in the VolumetricFog object and corrects an array alloc mismatch. Once objects were being deleted on the client, the SAFE_DELETE(z_buf) needed to be removed from the destructor. This was causing a runtime crash (release only) because z_buf was still registered with the GFX device. 2017-05-06 20:57:10 -04:00
Francisco Montañés García a316391ba0 Apply Camera FX on vehicle driver position. 2017-05-02 17:17:33 +02:00
Phillip Khandeliants b741d9c1c2 Fixed V570: Variable is assigned to itself
The uninitialized variable 'box' is assigned to itself. Judging from the fact that this is a copy constructor, I think that it is necessary to store in the 'box' the value of 'cv.box'
2017-04-27 12:25:01 +03:00
Phillip Khandeliants 172391e1d3 Fixed V610: Undefined behavior
In an arithmetic expression, all the variables whose values can be represented with type 'int' will be promoted to this type. Therefore, the result of the '~mask' expression is a negative number. By the C++ standard, shifting a negative number to the left leads to an undefined behavior.
2017-04-27 12:13:05 +03:00
Phillip Khandeliants c0f3c4e2f5 Fixed V547: Bad C-string comparsion
This comparison of a string to an empty is meaningless, since in fact two pointers will be compared and the expression will always be false.
2017-04-27 12:03:44 +03:00
Phillip Khandeliants ffb943f3bb Fixed V547: Expression is always false
'ov_read' function returns a signed long, that is stored in an unsigned integer 'bytesRead'. Comparsion 'bytesRead < 0' doesn't make sense, since an unsigned number >= 0.
2017-04-27 11:29:03 +03:00
Phillip Khandeliants 32c5ada995 Fixed V591: Non-void function should return a value
If there is needed to prevent the copying of the object, then there is no need to provide the definition of the copy constructor and the assignment operator, because the member functions and friendly functions can still call them. If the code is compiled by a compiler with support for the C++11 standard, you can delete them using the keyword 'delete'
2017-04-27 10:33:31 +03:00