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
Adam Johnson
99650c7415
Merge pull request #225 from zrax/warn_cleanup
...
Warning cleanup
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
Branan Purvine-Riley
4c9f5398bd
Merge pull request #211 from Hoikas/addrinfo
...
Toss pnAddrInfo
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
Adam Johnson
a760e3dc35
Merge pull request #218 from boq/python_safety
...
Fix remote code execution through Python.Cheat and Python.RunFile
12 years ago
Bartek Bok
2531dba66c
Make Python.Cheat little bit safer
12 years ago
Bartek Bok
8fc79f280c
Remove Python.RunFile
12 years ago
Branan Purvine-Riley
bc3c409094
Merge pull request #217 from Hoikas/hdr-cleanup
...
Header Cleanups
13 years ago
Michael Hansen
2f4e79aaba
Merge pull request #219 from boq/spawn
...
Display SO name in spawn list
13 years ago
Bartek Bok
27ab9ef129
Display SO name in spawn list
13 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
13 years ago
Adam Johnson
a709e17069
Obliterate hsBool
13 years ago
Adam Johnson
5f78b33db4
Remove hsRand--we have rand support in the Cstdlib
13 years ago
Adam Johnson
f0af98b0a7
Toss lots of custom CString code
...
We already have a C standard library, so let's not reimplement it.
13 years ago
Adam Johnson
1556d147d9
Don't expose math.h from HeadSpin.h
13 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 ;)
13 years ago
Adam Johnson
3667fb62e2
Replace COMPILER_ASSERT with C++0B static_assert
13 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.
13 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.
13 years ago
Adam Johnson
b3a9d96f40
Merge pull request #213 from Hoikas/pch
...
Precompiled Headers for pfPython
13 years ago
Branan Purvine-Riley
04665d93be
Merge pull request #215 from Hoikas/trollfix
...
Fix a bug that should never happen
13 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.
13 years ago
Adam Johnson
6a3224a142
Merge pull request #214 from cwalther/window-size
...
Avoid truncated window size after going from fullscreen to a window of the same size
13 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.
13 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.
13 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
13 years ago
Adam Johnson
b8ffef0c25
Cmake scripts for MSVC precompiled headers
13 years ago
CyanWorlds
e7fda23cf8
Build 912
13 years ago
Adam Johnson
96bf0fe1e2
Merge pull request #212 from dpogue/pr_murder
...
Code Murder
13 years ago
Darryl Pogue
b13a8f129f
Include plFileUtils in plUruLauncher.
13 years ago
Darryl Pogue
bb9886c37c
Using CCmdParser here is ridiculously excessive.
13 years ago