Darryl Pogue
e770beb73d
Kill pnNetDiag.
13 years ago
Darryl Pogue
72d92bc66e
Start killing off NetAddress.
13 years ago
Darryl Pogue
cf802fcba0
Remove a bunch of unused custom STL code.
13 years ago
Darryl Pogue
e70cb420f3
Update plNetAddress to use plString.
13 years ago
Darryl Pogue
9479aadb3a
Move pnUtBigNum to pnEncryption/plBigNum.
13 years ago
Darryl Pogue
b8e4f00ad6
Remove more unused pnUtils code.
13 years ago
Darryl Pogue
87f050b55e
Get rid of one hashtable in pfGameMgr.
13 years ago
Darryl Pogue
270e05738f
Clean up pnSimpleNet.
...
Removes Pch.h.
Removes a pnUtList.
Removes a PnUtHash (and all the weird warnings from it).
13 years ago
Darryl Pogue
364ac73050
Replace NetLinkingMgr LIST with std::list.
13 years ago
Darryl Pogue
f6f063a9dd
Fix pnNetCli for *nix.
...
Thanks to @zrax for breaking it originally :P
Also switch another CCritSect over to hsMutex, and replace LIST with
std::list.
13 years ago
Darryl Pogue
833124c297
Get rid of CCritSect in the patcher stuff.
13 years ago
Darryl Pogue
a28213806f
Fix compiling.
13 years ago
Darryl Pogue
b7035a631e
Try to replace a pnUtList with a std::queue.
13 years ago
Darryl Pogue
3bf303885a
PnUtCrypt compiles on *nix now.
13 years ago
Darryl Pogue
251cf02bd7
Move AtomicAdd/AtomicSet to hsUtils.
13 years ago
Darryl Pogue
26dc1fa120
Get rid of the PnUtils TLS stuff.
13 years ago
Darryl Pogue
590eea770f
Remove CEvent entirely.
13 years ago
Darryl Pogue
9e92b77438
Get rid of CEvent in plUruLauncher.
13 years ago
Darryl Pogue
44a43b298b
Try replacing CEvent with hsSemaphore.
...
This should work because we only ever call Wait() once. It doesn't fully
behave like Win32's manual reset events though, so if we had a more
complex usage that depended on the event remaining signalled, we'd have
a problem.
13 years ago
Darryl Pogue
3b39393077
Kill the CpuGetInfo function.
...
We're probably going to kill pnNetDiag at some point anyways.
13 years ago
Darryl Pogue
8c95dbe3a8
We actually don't need pnUtAddr.cpp at all anymore
13 years ago
Darryl Pogue
dfee3034f0
Clean up pnUtAddr of unused stuff.
...
Still need to move ALL of this over to pnNetCommon's plNetAddress at
some point.
13 years ago
Darryl Pogue
c1870f178b
Remove some code that was never used anywhere.
13 years ago
Darryl Pogue
62249844c3
Remove some unused stuff from pnUtMisc.
13 years ago
Darryl Pogue
62d1213853
Remove a bunch of unused pnUtils stuff.
13 years ago
Adam Johnson
4977eaedbe
Allow clickables to function while sitting or AFK.
...
Less special casing FTW!
13 years ago
Adam Johnson
0b29b4c765
Fix PlasmaMAX compile
13 years ago
Adam Johnson
69970aba43
Fix the George W. Bush bug
...
Fix the DST hack to use the correct dates in post-2006 US and Canada. I
unfortunately could not find a decent cross-platform way to do this.
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
0168e89487
Missed a few references to NtFile.
13 years ago
Darryl Pogue
d1da655fb2
Kill off pnAcFile entirely.
13 years ago
Darryl Pogue
0973bd954a
Fix a stupid mistake with plString usage.
13 years ago
Darryl Pogue
028f8bb6ae
Make sure these link against plStatusLog.
13 years ago
Darryl Pogue
0e56037444
Redirect pnAcLog stuff to plStatusLog.
13 years ago
Darryl Pogue
fa81d44489
Remove AsyncLog usage from the patcher.
13 years ago
Darryl Pogue
98c869fc6c
Use a semaphore in plStatusLog.
13 years ago
Darryl Pogue
97f9370dfe
Make the *nix path constant use the system value.
13 years ago
Darryl Pogue
8437d676fb
Support named semaphores on *nix.
13 years ago
Adam Johnson
a44b48356e
Remove WinRun hack from hsThread
13 years ago
Darryl Pogue
9302df2453
Allow plStrings to be passed to plLoggable.
13 years ago
Bartek Bok
1a59bcd1a0
Engine part of chat name completion
13 years ago
Bartek Bok
860bba92fb
Tiny fix, marginally related to rest of stuff
13 years ago
Bartek Bok
7295a38386
We now filter WM_CHARs containing control codes, so ignoring them in gui code is useless (even harmful)
13 years ago
Bartek Bok
d8dd19e093
Basic clipboard functionality
13 years ago
Bartek Bok
5bd22e1912
Filter WM_CHAR messages with control characters. Fix multiline edit input for keyboard layouts using alt key
13 years ago
Bartek Bok
7481a1b5bb
Bad bits
13 years ago
Adam Johnson
bd6300d6c7
Remove some eap stupid
13 years ago
Adam Johnson
29f2bc2547
Only synch input states when they dirty
...
Sending dupe input state messages every 10 seconds is wasteful. They are
already sent when the fields dirty, so there's no sense in sending them
any more than that. For keeping the connection alive, we'll use
lightweight pings.
13 years ago
Adam Johnson
dc85bd6f86
Implement Game auto pinger
...
Evidently, the game connection never actually pinged. Instead, it relied
on the propagation of a redundant game message. This is evil because we
can sometimes hang out in the loading process for quite some time (eg
beyond the socket timeout on either end)
13 years ago