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
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
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
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
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
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
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
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
1ae3979753
Get rid of pnUtSync and CLock.
2012-06-13 23:28:53 -07:00
5a93553651
Merge pull request #208 from Hoikas/deadweight
...
Remove Junk
2012-06-10 10:06:32 -07:00
1a5606e05c
Remove obsolete components
2012-06-10 12:59:28 -04:00
c3eb5300df
Merge pull request #206 from Hoikas/quabs
...
Engine fixes for AhnyQuabs
2012-06-10 09:50:25 -07:00
95e1fe34b8
Remove unused dead weight CSR and SimpleNet code
2012-06-09 18:45:34 -04:00
d382da0fe7
Fix a typo from way back when
2012-05-21 19:04:44 -07:00
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.
2012-05-12 20:49:28 -04:00
5cf540b424
Updates to the Python API
...
Throw away some stupid stuff and make things slightly easier to use...
2012-05-12 20:49:26 -04:00
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?).
2012-05-12 20:49:18 -04:00
d0f64e9209
Fix NCAgeJoiner failure-case crash
2012-04-27 01:37:50 -04:00
756bc65c62
Fix an access violation in failed age patches
2012-04-27 01:33:56 -04:00
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.
2012-04-23 22:15:56 -07:00
9ee5c4d040
Remove remaining pre-hsCpuID SSE special-casing.
2012-04-22 15:29:22 -07:00
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.
2012-04-18 20:51:14 +02:00
a038af101d
Merge pull request #193 from Hoikas/sse
...
SSE3 Optimizations
2012-04-15 14:07:41 -07:00
db2f4a0bf1
Merge pull request #194 from Hoikas/physx
...
Redo some PhysX Hacks
2012-04-15 14:04:51 -07:00
8d36a0d028
Closes #182 -- dpogue/kill_utils
...
Conflicts:
Sources/Plasma/Apps/plClient/winmain.cpp
2012-04-14 19:34:07 -04:00
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.
2012-04-12 21:52:58 -04:00
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.
2012-04-12 19:29:04 -04:00
062cb15b44
SSE3 hsMatrix44 multiplication
2012-04-11 23:22:02 -04:00
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
2012-04-11 23:21:54 -04:00
f6d65dd396
Remove old, unused network stats
2012-04-08 19:03:34 -04:00
cb209c853f
Move these inline to be faster.
2012-04-08 12:48:24 -07:00
5ad311dd97
Use a std::map for faster page lookups.
2012-04-08 00:18:21 -07:00
60aa7e421e
Swap the IP address returned by AuthSrv.
2012-04-07 16:01:30 -07:00
863247f0dd
Another attempt to fix the std::list in NLM.
2012-04-07 14:54:36 -07:00
c70bb776ba
Merge pull request #181 from Hoikas/taskbar
...
Taskbar Stuff
2012-04-05 23:18:34 -07:00
f4665a0caf
Use the correct file sizes in plResPatcher
2012-04-03 14:50:28 -04:00
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.
2012-03-30 21:48:37 +02:00
3ba721711e
Completely kill pnUtAddr and NetAddress.
2012-03-26 21:49:10 -07:00
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).
2012-03-26 21:27:55 -07:00
6039d62bc2
Implement progress failures
...
I took the liberty to improve the obvious failure cases where a red progress
bar would be useful.
2012-03-20 01:14:06 -04:00
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 :(
2012-03-12 21:59:10 -07:00