Darryl Pogue
ca87b47ca8
Fix plResManager stricmp.
12 years ago
Darryl Pogue
d1dd98c17b
CoreLib fixes for Linux.
12 years ago
Michael Hansen
9f276e2c57
Add support for Visual Leak Detector, since valgrind doesn't support MSVC
12 years ago
Michael Hansen
49dfb4e546
Convert SDL (mostly) to plStrings
12 years ago
Michael Hansen
188171235e
Add string split and tokenize functions
12 years ago
Michael Hansen
1b57055fd3
Take advantage of plString more in hsStream's String I/O functions
12 years ago
Adam Johnson
165e79fa64
Throw out more error string concating
12 years ago
Adam Johnson
1bada0dfa2
Fixup tree dumping
...
Remove unnesecary conversions and string concats in the tree->log dumping
code.
12 years ago
Adam Johnson
d2b4a64409
Remove some std::wstring concating
...
Replace a weird error string stack with direct calls to the
LocalizationMgr log and its associated formatting helper. In cases where
indirection was needed, plString was introduced. This makes the code
cleaner and faster.
12 years ago
Adam Johnson
16c3190f14
That looks dangerous...
12 years ago
Adam Johnson
a69784bf4c
Kill off Windows 9x AsyncCore
...
Hey, guess what? TransGaming was what needed that old, obsolete crap.
12 years ago
Adam Johnson
8a9c3ec177
Kill high level TransGaming support
12 years ago
Michael Hansen
3e92022db2
Fix additional issues from review
12 years ago
Michael Hansen
c68724765b
Some minor cleanup for readability
12 years ago
Michael Hansen
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
12 years ago
Michael Hansen
075c535e2c
Some cleanup and a vararg plString usage fix
12 years ago
Michael Hansen
9cc3f404af
Add Short-String Optimization to plString
12 years ago
Michael Hansen
92c5070736
Remove dependency on <functional>
12 years ago
Michael Hansen
041b1985e4
Fix paths and move GetSecureEncryptionKey so things compile again
12 years ago
Michael Hansen
403d2a896d
Move plFileUtils and hsFiles to CoreLib
...
--HG--
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles.cpp => Sources/Plasma/CoreLib/hsFiles.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles.h => Sources/Plasma/CoreLib/hsFiles.h
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_Mac.cpp => Sources/Plasma/CoreLib/hsFiles_Mac.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_PS2.cpp => Sources/Plasma/CoreLib/hsFiles_PS2.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_Unix.cpp => Sources/Plasma/CoreLib/hsFiles_Unix.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_Win.cpp => Sources/Plasma/CoreLib/hsFiles_Win.cpp
rename : Sources/Plasma/PubUtilLib/plFile/plFileUtils.cpp => Sources/Plasma/CoreLib/plFileUtils.cpp
rename : Sources/Plasma/PubUtilLib/plFile/plFileUtils.h => Sources/Plasma/CoreLib/plFileUtils.h
12 years ago
Michael Hansen
03a1283c27
The licensing stuff was copied from an older code base...
12 years ago
Adam Johnson
8d8532f045
Fix encryption ASSumption
...
Now we test the file we're trying to write to. We still support legacy
xTEA BriceIsSmart/whatdoyousee files, but we will always make new files
unencrypted.
12 years ago
Lyrositor
e26829594d
Remove plLogDecrypt.
...
plLogDecrypt is devoid of purpose now that log encryption is gone.
12 years ago
Lyrositor
b987f9719c
Remove log and init file encryption.
...
This fixes issue #123 , and is supposed to get rid of encryption for the status logs and the init files loaded at startup.
12 years ago
Michael Hansen
6b667fcaec
Re-add file needed for precompiled headers to work
12 years ago
Michael Hansen
3c2a8c66e7
Remove more empty source files
12 years ago
Michael Hansen
40d5e2e867
Fix some noteworthy warnings (mostly hsBool->bool incompatibility) and missing headers
12 years ago
Adam Johnson
6d4726c766
Fix external build linking
...
A misplaced external guard (likely introduced in #217 ) caused a few legacy symbols (hsStrcpy, etc) to be excluded from the CoreLib.
12 years ago
Lyrositor
364de3a317
Add functions to fix KI Chat scrolling issue.
...
Fixes #180 (if combined with the moul-scripts commit). These two Python/Plasma functions are used in the moul-scripts fix for the scrolling KI Chat issue.
12 years ago
Adam Johnson
336f1c40ad
Track mouse ups/downs for releasing purposes
12 years ago
Adam Johnson
b90776fafe
Capture the mouse on clicks
...
This hack prevents the cursor from leaving the window when panning the
camera or changing directions quickly. This is important for those with
high mouse sensitivities.
12 years ago
Skoader
cb48aab373
Fix no cursor when not the top level window.
...
WM_MOUSEMOVE messages were only processed when the window was active.
12 years ago
Skoader
c090b44d5a
Fix clicking on the title bar does not activate the window.
12 years ago
Adam Johnson
87b441e890
Fix no cursor on window frame and title bar.
...
Remove mouse capture and handle visibility via WM_SETCURSOR messages
instead of window activation events. See
aed7e97d0d
for original implementation
12 years ago
Bartek Bok
2531dba66c
Make Python.Cheat little bit safer
12 years ago
Bartek Bok
8fc79f280c
Remove Python.RunFile
12 years ago
Bartek Bok
27ab9ef129
Display SO name in spawn list
12 years ago
Adam Johnson
b57dc28136
Remove some unused CoreLib stuff
...
- plRefCnt duplicates hsRefCnt (Wtf?)
- hsNamedPipeStream nasty, unused
- VDB stuff in hsStream left over from Plasma 1 (realMyst/DIRT)
- hsColor32 moved to be less promiscuous
12 years ago
Adam Johnson
a709e17069
Obliterate hsBool
12 years ago
Adam Johnson
5f78b33db4
Remove hsRand--we have rand support in the Cstdlib
12 years ago
Adam Johnson
f0af98b0a7
Toss lots of custom CString code
...
We already have a C standard library, so let's not reimplement it.
12 years ago
Adam Johnson
1556d147d9
Don't expose math.h from HeadSpin.h
12 years ago
Adam Johnson
172b3c6cfb
Toss old RAM functions
...
If we really care about system RAM, we should reimplement this in a less
obsolete way--and hopefully update the RAM tiers ;)
12 years ago
Adam Johnson
3667fb62e2
Replace COMPILER_ASSERT with C++0B static_assert
12 years ago
Adam Johnson
5d30f69957
Fix max plugin compile
...
Always include HeadSpin.h before Max.h--Max.h brings in Winsocks 1, for
some reason. This creates symbol clash hell.
12 years ago
Adam Johnson
94ca3bb097
Merge core-CoreLib headers
...
Merge hsTypes.h, hsUtils.h, and hsWindows.h into a single header to cut
down on confusion and to simplify doxygen graphs. hsRefCnt's
implementation details were moved into another file in preparation for
making HeadSpin.h a precompiled header.
12 years ago
Adam Johnson
a5b1d62f9a
Fix a bug that should never happen
...
This fixes a crash that occurs on systems with no Direct3D device
available. The device selector returns a NULL string, which is then
strstr'ed for some ancient nvidia card. For now, let's wrap that in a NULL
check. Eventually, when we scrub plClient.cpp and winmain.cpp, that hack
should just be dropped.
12 years ago
Christian Walther
e589314f89
Avoid truncated window size after going from fullscreen to a window of the same size.
...
Must set the window size after the display resolution, otherwise Windows may clamp it to a smaller size than specified.
12 years ago
Adam Johnson
d690df1064
Add pyMatrix and pyGeometry to pfPython PCH
...
This also includes some header debloat and const/reference fixes
(particularly in pyMatrix44). This will result in the generation of
slightly more efficient code.
12 years ago
Adam Johnson
d43073949b
Precompiled Headers for pfPython
...
Also did some work on decreasing header bloat. No promises on a complete
job--this was just enough to allow PCH to actually help us out (and boy
does it!)
With an Intel Core 2 Duo (4GB DDR2 800)
With PCH: 50.51 seconds
Without: 4 minutes, 17.14 seconds
:D
12 years ago