1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00
Commit Graph

156 Commits

Author SHA1 Message Date
6867be59f9 Fixes for Max plugin compilation when not using PCH 2014-04-27 09:28:26 -07:00
7e624a08a2 Merge pull request #390 from Hoikas/plMessage-headers
PCH-ize plMessage
2014-04-26 14:13:31 -07:00
81214699ae Fix scope on preprocessor variables for Max plugin.
plAudioCore needs to know whether we intend to build the plugin, so
the change introduced in 978edc1 was causing compilation to fail when
building the plugin.

This moves detection and definition back into the root CMakeList,
but preserves the behavior of only looking for the SDK if needed.
2014-04-26 09:53:56 -07:00
c3d8e7e161 Add different SetText values to MaxCompat header.
Restores compilation of Max 7 plugin, as its SetText expects
a non-const pointer.

Additionally, NotifyInfo should already be declared in notify.h.
2014-04-21 08:53:07 -07:00
58d79679d3 Use std math functions in Max plugin.
VS12 provides math functions which were conflicting with ones defined
in texutil.h.  This removes the reliance on texutil.h and uses the
standard library's math in its place.
2014-04-21 08:52:09 -07:00
fdd8279c57 Merge pull request #403 from dpogue/coverity_patches
Coverity patches

Closes #396.
2014-04-18 15:01:52 -07:00
613b001678 Clean up plDistributor max/pl point interop
There were two terrible things here:
* Some nasty pointer-based casting
* Storing references to temporaries

Unfortunately, storing addrs of temps was happening through a helper
function, so VS won't warn here. I think I caught all the cases where
those functions were being used wrongly, but I can't be sure until
coverity runs on this commit.
2014-04-18 14:22:16 -07:00
978edc1423 Only try to find the Max SDK if it was requested (and show the option to try to build it always) 2014-04-12 01:00:11 -07:00
a1e3fa6faf Various MinGW compile fixes. 2014-02-19 23:31:43 -08:00
f1f7f3acd3 Fix fallout in 3dsm plugin 2014-01-23 23:53:14 -05:00
d7fdf10455 Convert ReadSafe(W)String* to the plString variants, and remove the now
unneeded _TEMP variants.  All safe strings read from hsStreams are
now plStringified :)
2014-01-21 15:21:32 -08:00
a783642515 Python file names and SynchedObj SDL state names => plString 2014-01-12 13:08:25 -08:00
939f6c3d41 Accept plStrings in plDynamicTextMap for rendering and font names 2014-01-12 13:08:24 -08:00
abe3d465b3 Some additional sprintf and std::string cleanup 2014-01-11 20:42:01 -08:00
7de24157a5 Avatar Clothing data => plString 2014-01-11 20:42:01 -08:00
cbea492457 plMultistageStage => plString 2014-01-11 20:41:59 -08:00
853bcbd9d6 Fix some MaxMain compile failures introduced by Hoikas' recent cleanup 2014-01-09 18:55:43 -08:00
a5758f91c6 Merge pull request #377 from Hoikas/max-symbols
Fix Max Plugin Linker Warnings
2014-01-05 21:36:10 -08:00
4f3cb61d96 Toss useless redefinition. 2014-01-03 19:14:33 -05:00
457f1ef5f6 The exporter is a single DLL.
So we don't need to __declspec(dllimport) ANYTHING. This stops more linker
warnings.
2014-01-03 19:12:25 -05:00
129d21c4f9 Remove duplicated plPickNode code
This fixes some of the "multiple definition of symbol" warnings we get
from the linker. I checked this against the OU AllDlls solution and
deleted the version not present in it.
2014-01-03 19:06:05 -05:00
85d64926d2 Don't do work in DllMain.
If you don't know why I did this, please Google why you should never do
work in DllMain.
2013-12-24 16:28:21 -05:00
a4b1c53ea3 Stubify MaxFileData
So, yeah, this blows away MaxSceneViewer. We're never going to get around
to fixing that. In exchange for this massive code explosion, you get a
free MaxFileData stub type thing. It keeps all the data just so we don't
blow up Cyan's plugins. This fixes the "Missing Dll" messages people keep
whining about.
2013-12-24 16:22:10 -05:00
56507c5219 Fix several format errors detected via vararg-template voodoo 2013-12-16 18:58:47 -08:00
f6a62c0004 Fix #301
Partially reverts b9b72e0
2013-12-05 18:48:44 -05:00
55d3f10310 Silence unneeded assertion. 2013-12-05 18:48:43 -05:00
60210cf38a We have to load plFontCache... 2013-12-05 18:48:42 -05:00
fd16a12c34 Fix broken plString format 2013-12-05 01:36:23 -05:00
3299267976 Integrate SecurePreloader into pfPatcher 2013-11-28 15:14:45 -05:00
dd35878465 Begin killing off sprintf 2013-07-09 21:30:42 -04:00
18010570b5 Allow disabling certain parts of the build 2013-07-09 10:35:43 +02:00
dd431db36e Fix CMake warnings on linking the Python libraries 2013-07-07 21:16:35 +02:00
38e26dd12e Implement plShaderAssembler 2013-02-23 23:12:36 -05:00
ef808d8a24 Merge pull request #288 from Deledrius/plString_pfLocalizationMgr
plStringification of pfLocalizationMgr Fixes
2013-02-01 13:27:41 -08:00
d001519db8 Correct buffer size in LocalizationEditor treeview. 2013-01-31 16:42:10 -08:00
f5abe4ab15 Merge pull request #273 from 'paradox/clang'
Conflicts:
	Sources/Tools/MaxConvert/Pch.h
	Sources/Tools/MaxConvert/hsControlConverter.cpp
2013-01-31 19:14:57 -05:00
e4af3aff16 time.h -> ctime 2013-01-28 23:28:06 -08:00
2967635ce2 float.h -> cfloat 2013-01-28 23:25:00 -08:00
29bc092cff math.h -> cmath 2013-01-28 23:23:07 -08:00
b01aab4a39 Standardize on C++ headers.
Also removes a bunch of duplicate #includes of stuff that's already
pulled in by HeadSpin.h.
2013-01-28 23:15:54 -08:00
ece2b3d440 Just enough plFileName to make things interesting.
Fixes botched export paths
2013-01-28 23:23:01 -05:00
2b03cd7afe Fix compile for ancient max versions 2013-01-28 21:20:16 -05:00
c607ea3cf3 Fix PageInfo component 2013-01-28 17:24:45 -05:00
ceaa747ff1 Fix Insanity
WTF: `IKey* key=(IKey*)(new uint8_t [keys->GetKeySize()]);`
2013-01-28 17:24:37 -05:00
66423478cc Allow encrypted age files
Yes, this bit me in the ass.
2013-01-26 22:04:40 -05:00
3e592b76ff Don't throw away components that come last 2013-01-26 22:04:39 -05:00
a382752354 Fill out bink stub
Max 2012 doesn't like getting a null from ClassDesc2::Create(). I can't
blame it.
2013-01-26 22:04:39 -05:00
8f67596686 Merge pull request #275 from zrax/file-utils
Unify filesystem utilities
2013-01-22 16:27:26 -08:00
199d0fe56a Fix issues from review 2013-01-21 20:22:52 -08:00
2c028c4b07 Remove hsFiles in favor of plFilesystem stuff 2013-01-21 14:48:32 -08:00