Joseph Davies
304d15acfe
Update hsMatrix44 to use hsCpuID dispatcher.
13 years ago
Joseph Davies
42f4eec1f7
Add hsCpuID and hsFunctionDispatcher for CPU feature detection.
...
Based on Branan's code deliberated upon in IRC, this provides the ability
to detect CPU instruction sets and dispatch functions based on those
capabilities detected at runtime.
13 years ago
Joseph Davies
155e75479b
Fix memory leak from copied string pointer in LocalizationDatabase.
13 years ago
Joseph Davies
6cf0898bc1
Make Localization log message more useful.
13 years ago
Christian Walther
8291ec5ba5
Add missing period at the end of the processor support error message.
13 years ago
Christian Walther
d2933e66c6
Fix SSE3 detection.
...
CheckCPU() would always return true, letting the game continue and crash on an SSE3 instruction on non-SSE3 CPUs.
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
Christian Walther
67f6823f73
More 'const', so that Rotate(vector) can be called on a const hsQuat&.
13 years ago
Joseph Davies
a305f61748
Fix crashes caused by poor iterator usage.
13 years ago
Adam Johnson
55a816f376
Remove stale stack dump reports
13 years ago
Adam Johnson
389d3c1802
Fix deadlock if plCrashHandler is not running
...
Only wait for the crash server to do its job if it's attached. Silent
failures are evil, but it's better than hanging forever.
13 years ago
Adam Johnson
151657a9f2
Fix zombie plCrashHandler issues
...
Win32 HACK: We wait on both the pfCrashCli handle and the crashed semaphore.
This way, we can proceed to exit pfCrashSrv when the client process exits
insanely.
13 years ago
branan
61a37fd406
Fix plCrashHandler external build
13 years ago
branan
95c255daf4
Change language setting to use an ini file instead of the login.dat
13 years ago
Adam Johnson
ae28963572
Python glue for the new pfGameScore
...
Remove useless pyScoreMgr and use static methods on pyGameScore that call us
back via OnGameScore()
13 years ago
Adam Johnson
8e79583717
Add some Python Helpers
...
We can now convert plString to PyUnicode objects and have static methods
with variable arguments and variable keyword arguments
13 years ago
Adam Johnson
bbdc5cd0bb
Implement new pfGameScore class and friends
...
pfGameScore will call you back on actions that require server ops. Also, we
ref count the score instead of using some weird hashtable manager class
because the server never actually tells us if someone else changes the
score.
13 years ago
Adam Johnson
e0cd86bfc1
Convert PyString_*Ex functions over to plString
13 years ago
Darryl Pogue
b1d65a194a
Fix memory corruption with DNS lookups.
...
Thanks @Mystler for finding and reporting this, and thanks @Hoikas for
investigating and confirming the fix.
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
d2a1350e8b
Real camera fixes
...
Corrects popping issues in Kemo but doesn't screw up Teledahn at the same
time... Magical special casing :(
13 years ago
Adam Johnson
cba9f459e8
Revert "Disallow duplicate camera pushes"
...
This reverts commit e32fb9b9e248b03b8715904b9a4c0c70b1309cc1, which
introduced camera region bugs
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
3a8911c1cd
Fix a rather crippling plString bug on Linux.
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
5fa14466c8
Eradicate pfStackTrace
13 years ago
Adam Johnson
fffdf07467
Slim down the exception dialog
13 years ago
Adam Johnson
14279794f7
Implement pfCrashHandler
...
pfCrashHandler includes a client that watches plClient for crashes. When
it detects a crash, it lets the plCrashSrv (plCrashHandler.exe) know about
it. We then produce a mninidump, then signal the client that it's OK to
show a crash dialog. See http://www.nynaeve.net/?p=128 for a good
explanation of why I split the crash logic into another process.
13 years ago
Adam Johnson
43b9535e96
Implement TryWait for hsSemaphore
13 years ago
Florian Meissner
d0412b2f38
Move the combo box into an own line
13 years ago
Adam Johnson
f4665a0caf
Use the correct file sizes in plResPatcher
13 years ago
Joseph Davies
90dd0f433d
Use Localization list of available languages for login dialog.
13 years ago
Florian Meissner
8fd6e5eb1b
Add language changer to Login form
13 years ago
Darryl Pogue
1fa981d09e
plUUID operator< should return a bool.
13 years ago
Christian Walther
3c73b9f694
Fix KI daylight saving time calculation.
...
The previous implementation had the following bugs:
- DST was truncated to end of October
- DST start was off by one week in years where March 1st is a Monday
- DST start was off by one second (1:59:59 -> 2:00:00 -> 3:00:01 instead of the correct 1:59:59 -> 3:00:00 -> 3:00:01)
Tested against tzdata 2009g.
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
bb200c5b30
Make sure plNetAddress is included correctly.
13 years ago
Darryl Pogue
883ce6fcbf
Doxygen plNetAddress to make it less confusing.
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
Darryl Pogue
06a561fc85
Fix bugs with plNetAddress.
...
This allows the patcher to successfully connect to both GateKeeper and
FileSrv.
13 years ago
Darryl Pogue
fbc6e33f7d
Rename these to make more sense.
13 years ago
Adam Johnson
5beda0ab87
Implement client window flashing
...
This will be used in python to grab the player's attention on PMs or other
interesting events.
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