a69784bf4c
Kill off Windows 9x AsyncCore
...
Hey, guess what? TransGaming was what needed that old, obsolete crap.
2012-11-18 16:59:47 -05:00
8a9c3ec177
Kill high level TransGaming support
2012-11-18 16:59:47 -05:00
2232f12378
Merge pull request #222 from Lyrositor/scroll-position
...
Add functions to fix KI Chat scrolling issue.
2012-11-18 10:16:04 -08:00
0ce539963a
Merge pull request #228 from zrax/plString
...
plStrings part two
--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
2012-11-18 01:31:59 -08:00
3e92022db2
Fix additional issues from review
2012-11-18 01:14:06 -08:00
c68724765b
Some minor cleanup for readability
2012-11-13 20:05:04 -08:00
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
2012-11-13 18:40:13 -08:00
075c535e2c
Some cleanup and a vararg plString usage fix
2012-11-12 22:58:15 -08:00
9cc3f404af
Add Short-String Optimization to plString
2012-11-12 19:06:53 -08:00
92c5070736
Remove dependency on <functional>
2012-11-12 18:31:07 -08:00
041b1985e4
Fix paths and move GetSecureEncryptionKey so things compile again
2012-11-12 18:31:07 -08:00
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
2012-11-12 18:31:06 -08:00
03a1283c27
The licensing stuff was copied from an older code base...
2012-11-12 18:31:06 -08:00
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.
2012-11-12 20:51:56 -05:00
e26829594d
Remove plLogDecrypt.
...
plLogDecrypt is devoid of purpose now that log encryption is gone.
2012-11-12 20:48:06 -05:00
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.
2012-11-12 20:48:05 -05:00
99650c7415
Merge pull request #225 from zrax/warn_cleanup
...
Warning cleanup
2012-11-12 17:46:45 -08:00
6b667fcaec
Re-add file needed for precompiled headers to work
2012-11-11 23:31:45 -08:00
3c2a8c66e7
Remove more empty source files
2012-11-11 23:00:24 -08:00
40d5e2e867
Fix some noteworthy warnings (mostly hsBool->bool incompatibility) and missing headers
2012-11-11 22:34:05 -08:00
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.
2012-11-11 18:05:00 -05:00
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.
2012-11-08 11:06:12 -05:00
336f1c40ad
Track mouse ups/downs for releasing purposes
2012-11-03 01:22:56 -04:00
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.
2012-10-23 23:34:02 -04:00
4c9f5398bd
Merge pull request #211 from Hoikas/addrinfo
...
Toss pnAddrInfo
2012-10-14 10:04:55 -07:00
cb48aab373
Fix no cursor when not the top level window.
...
WM_MOUSEMOVE messages were only processed when the window was active.
2012-10-03 20:30:07 -04:00
c090b44d5a
Fix clicking on the title bar does not activate the window.
2012-10-03 20:28:51 -04:00
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
2012-10-03 20:19:11 -04:00
a760e3dc35
Merge pull request #218 from boq/python_safety
...
Fix remote code execution through Python.Cheat and Python.RunFile
2012-10-03 16:37:01 -07:00
2531dba66c
Make Python.Cheat little bit safer
2012-10-02 19:26:10 +02:00
8fc79f280c
Remove Python.RunFile
2012-10-02 19:26:09 +02:00
bc3c409094
Merge pull request #217 from Hoikas/hdr-cleanup
...
Header Cleanups
2012-08-13 17:20:01 -07:00
2f4e79aaba
Merge pull request #219 from boq/spawn
...
Display SO name in spawn list
2012-07-29 15:10:06 -07:00
27ab9ef129
Display SO name in spawn list
2012-07-25 21:06:44 +02:00
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
2012-07-14 18:47:45 -04:00
a709e17069
Obliterate hsBool
2012-07-14 18:46:27 -04:00
5f78b33db4
Remove hsRand--we have rand support in the Cstdlib
2012-07-11 09:46:20 -04:00
f0af98b0a7
Toss lots of custom CString code
...
We already have a C standard library, so let's not reimplement it.
2012-07-11 09:46:20 -04:00
1556d147d9
Don't expose math.h from HeadSpin.h
2012-07-11 09:46:19 -04:00
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 ;)
2012-07-11 09:46:18 -04:00
3667fb62e2
Replace COMPILER_ASSERT with C++0B static_assert
2012-07-11 09:46:17 -04:00
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.
2012-07-11 09:46:16 -04:00
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.
2012-07-11 09:46:15 -04:00
b3a9d96f40
Merge pull request #213 from Hoikas/pch
...
Precompiled Headers for pfPython
2012-07-11 06:43:54 -07:00
04665d93be
Merge pull request #215 from Hoikas/trollfix
...
Fix a bug that should never happen
2012-06-18 19:16:22 -07:00
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.
2012-06-18 21:53:41 -04:00
6a3224a142
Merge pull request #214 from cwalther/window-size
...
Avoid truncated window size after going from fullscreen to a window of the same size
2012-06-18 15:57:34 -07:00
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.
2012-06-17 20:29:46 +02:00
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.
2012-06-16 23:05:57 -04:00
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
2012-06-16 23:05:56 -04:00