Branan Purvine-Riley
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.
11 years ago
Michael Hansen
978edc1423
Only try to find the Max SDK if it was requested (and show the option to try to build it always)
11 years ago
Darryl Pogue
a1e3fa6faf
Various MinGW compile fixes.
11 years ago
Michael Hansen
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 :)
11 years ago
Michael Hansen
a783642515
Python file names and SynchedObj SDL state names => plString
11 years ago
Michael Hansen
939f6c3d41
Accept plStrings in plDynamicTextMap for rendering and font names
11 years ago
Michael Hansen
abe3d465b3
Some additional sprintf and std::string cleanup
11 years ago
Michael Hansen
7de24157a5
Avatar Clothing data => plString
11 years ago
Michael Hansen
cbea492457
plMultistageStage => plString
11 years ago
Michael Hansen
853bcbd9d6
Fix some MaxMain compile failures introduced by Hoikas' recent cleanup
11 years ago
Adam Johnson
4f3cb61d96
Toss useless redefinition.
11 years ago
Adam Johnson
457f1ef5f6
The exporter is a single DLL.
...
So we don't need to __declspec(dllimport) ANYTHING. This stops more linker
warnings.
11 years ago
Adam Johnson
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.
11 years ago
Adam Johnson
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.
11 years ago
Adam Johnson
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.
11 years ago
Michael Hansen
56507c5219
Fix several format errors detected via vararg-template voodoo
11 years ago
Adam Johnson
f6a62c0004
Fix #301
...
Partially reverts b9b72e0
11 years ago
Adam Johnson
55d3f10310
Silence unneeded assertion.
11 years ago
Adam Johnson
60210cf38a
We have to load plFontCache...
11 years ago
Adam Johnson
fd16a12c34
Fix broken plString format
11 years ago
Adam Johnson
3299267976
Integrate SecurePreloader into pfPatcher
11 years ago
Adam Johnson
dd35878465
Begin killing off sprintf
11 years ago
Florian Meißner
18010570b5
Allow disabling certain parts of the build
11 years ago
Florian Meißner
dd431db36e
Fix CMake warnings on linking the Python libraries
11 years ago
Chloe Rhodes
38e26dd12e
Implement plShaderAssembler
12 years ago
Joseph Davies
d001519db8
Correct buffer size in LocalizationEditor treeview.
12 years ago
Darryl Pogue
e4af3aff16
time.h -> ctime
12 years ago
Darryl Pogue
2967635ce2
float.h -> cfloat
12 years ago
Darryl Pogue
29bc092cff
math.h -> cmath
12 years ago
Darryl Pogue
b01aab4a39
Standardize on C++ headers.
...
Also removes a bunch of duplicate #includes of stuff that's already
pulled in by HeadSpin.h.
12 years ago
Adam Johnson
ece2b3d440
Just enough plFileName to make things interesting.
...
Fixes botched export paths
12 years ago
Adam Johnson
2b03cd7afe
Fix compile for ancient max versions
12 years ago
Adam Johnson
c607ea3cf3
Fix PageInfo component
12 years ago
Adam Johnson
ceaa747ff1
Fix Insanity
...
WTF: `IKey* key=(IKey*)(new uint8_t [keys->GetKeySize()]);`
12 years ago
Adam Johnson
66423478cc
Allow encrypted age files
...
Yes, this bit me in the ass.
12 years ago
Adam Johnson
3e592b76ff
Don't throw away components that come last
12 years ago
Adam Johnson
a382752354
Fill out bink stub
...
Max 2012 doesn't like getting a null from ClassDesc2::Create(). I can't
blame it.
12 years ago
Michael Hansen
199d0fe56a
Fix issues from review
12 years ago
Michael Hansen
2c028c4b07
Remove hsFiles in favor of plFilesystem stuff
12 years ago
Michael Hansen
6e564476b7
Deprecate plFileUtils and parts of pnUtPath
12 years ago
Michael Hansen
f86b549293
Re-define nil as nullptr, cleaning up some potential issues along the way
12 years ago
Michael Hansen
1ce553ac80
Add plStatusLog to the list of converted interface, in order to fix my log output dir screw-up
12 years ago
Michael Hansen
6f6ade2636
Replace hsStream::Open duplicated methods everywhere with a single plFileName interface
12 years ago
Adam Johnson
bb2146b3a3
Remove Cruft
12 years ago
Michael Hansen
f980f022dd
Replace pnProduct with a (very) thin CoreLib plProduct wrapper around CMake-defined product ID values
12 years ago
Joseph Davies
297e987036
Fix typo in MaxCompat macro.
12 years ago
Joseph Davies
75b17aa968
Fix compiler error when using Max SDK 2008.
12 years ago
Joseph Davies
bcc97fa1dc
Update MaxComponent for pfLocalization changes.
...
Adds limited plString usage to MaxComponent's plPickLocalizationDlg
for compatibility with pfLocalizationDataMgr.
12 years ago
Joseph Davies
fc94e6bee9
Convert plLocalizationEditor to use plString.
...
Required to match previous commits to pfLocalizationMgr and retain functionality.
12 years ago
Michael Hansen
4233727f57
Generate ComCtl manifests for the Win32 GUI executables
12 years ago