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
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
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
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
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
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
Darryl Pogue
1ae3979753
Get rid of pnUtSync and CLock.
13 years ago
Adam Johnson
1a5606e05c
Remove obsolete components
13 years ago
Adam Johnson
95e1fe34b8
Remove unused dead weight CSR and SimpleNet code
13 years ago
Michael Hansen
d382da0fe7
Fix a typo from way back when
13 years ago
Adam Johnson
2813aaa467
Fix stupid in plAvBrainCritter::GoToGoal
...
Changing the next behavior to running on every goal update causes the quabs
to skitter about one inch every five seconds. Obviously, we do not need to
start running if we are already running, so let's check that.
13 years ago
Adam Johnson
5cf540b424
Updates to the Python API
...
Throw away some stupid stuff and make things slightly easier to use...
13 years ago
Adam Johnson
3b69a4aee3
Track NPC clones
...
Manual state management in python was kind of fiddly, so let's track all
avatar clones in the NetApp and unload them as needed. This also seems to
fix a potential bug in plNPCSpawnMod (is that even used?).
13 years ago
Adam Johnson
d0f64e9209
Fix NCAgeJoiner failure-case crash
13 years ago
Adam Johnson
756bc65c62
Fix an access violation in failed age patches
13 years ago
Joseph Davies
072bf3570c
Fix support in plDXPipeline for SSE using temporary macros.
...
Re-enables FPU/SSE3 code using the FunctionDispatcher and some quick
hacky macros to template out the two nearly-identical functions,
awaiting branan's deep-voodoo template-specialization functor-dispatcher
patch.
13 years ago
Joseph Davies
9ee5c4d040
Remove remaining pre-hsCpuID SSE special-casing.
13 years ago
Christian Walther
3d0f01ff03
Convert the impact velocity to avatar-local coordinates, because that's what {Running|Ground}Impact::PreCondition() expects.
...
Fixes landing animations depending on what direction relative to the age you jump rather than whether you land forward or straight down.
13 years ago
Adam Johnson
c8873a9082
The real Relto plunge fix...
...
Hack. PhysX is going away, so I'm not going to expend a lot of effort on
making a technically correct fix.
13 years ago
Adam Johnson
322b49ac20
Revert "Fix relto-plunge"
...
This reverts commit 8da276f2e50688691b294438ed3d2bcfa218c617, a commit that
did not work as advertised and added too many chances for things to go badly
wrong.
13 years ago
Adam Johnson
062cb15b44
SSE3 hsMatrix44 multiplication
13 years ago
Adam Johnson
bb47f83cf3
Simple SSE3 skinning algorithm
...
Future direction: do lots of work such that hsMatrix44 and hsScalarTriple
are 16-byte aligned so that we can use faster aligned loads
13 years ago
Adam Johnson
f6d65dd396
Remove old, unused network stats
13 years ago
Darryl Pogue
cb209c853f
Move these inline to be faster.
13 years ago
Darryl Pogue
5ad311dd97
Use a std::map for faster page lookups.
13 years ago
Darryl Pogue
60aa7e421e
Swap the IP address returned by AuthSrv.
13 years ago
Darryl Pogue
863247f0dd
Another attempt to fix the std::list in NLM.
13 years ago
Adam Johnson
f4665a0caf
Use the correct file sizes in plResPatcher
13 years ago
Christian Walther
595d2659ca
Fix plUnifiedTime::SetGMTime
...
The default value of the "dst" argument must be 0, because -1 leads to incorrect results when the given time falls into local DST. However, a "dst" argument makes no sense on a method that deals with GMT anyway, so remove it entirely.
13 years ago
Darryl Pogue
3ba721711e
Completely kill pnUtAddr and NetAddress.
13 years ago
Darryl Pogue
3ea3473d13
Get rid of pnUtW32Addr and make IP strings char*s.
...
IP addresses don't need to be unicode.
pnUtAddr is still around until we replace all NetAddress uses with
plNetAddress (they are typedef'ed to each other right now).
13 years ago
Adam Johnson
6039d62bc2
Implement progress failures
...
I took the liberty to improve the obvious failure cases where a red progress
bar would be useful.
13 years ago
Darryl Pogue
4737e791cb
Remove almost all uses of NetAddress.
...
This probably has a bunch of bugs because of Network Order/Host Order
issues. If we intend to actually support BE architectures, these
problems are going to get much much worse :(
13 years ago
Darryl Pogue
72d92bc66e
Start killing off NetAddress.
13 years ago
Darryl Pogue
9479aadb3a
Move pnUtBigNum to pnEncryption/plBigNum.
13 years ago
Darryl Pogue
364ac73050
Replace NetLinkingMgr LIST with std::list.
13 years ago
Adam Johnson
4977eaedbe
Allow clickables to function while sitting or AFK.
...
Less special casing FTW!
13 years ago
Bartek Bok
f158f97776
Fix WinApi call misuse
13 years ago
Adam Johnson
638259e749
Improve server time sync
...
Prevents cheating with time based puzzles (pellets) and ensures the KI time
stays somewhat correct. The server time will be reset on the plNetMessage
received after the user changes their system clock. That might take a bit,
but it's better than nothing.
13 years ago
Darryl Pogue
d1da655fb2
Kill off pnAcFile entirely.
13 years ago