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
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
Darryl Pogue
22a6b3b277
Fix a Clang error from pnUtHash.
13 years ago
Adam Johnson
24a644107e
Fix relto-plunge
...
Looks like the fissure fall camera region got triggered then untriggered
during the linking process. In debug builds, this happened in one frame,
so only an exit message got sent out. In faster builds, both would be
sent, and you would plunge. To fix that, we don't send eval until we're no
longer MidLink.
13 years ago
Adam Johnson
8c345dac3d
Take this opportunity to vector-ize plVirtualCam1
13 years ago
Adam Johnson
8deeb6831a
Disallow duplicate camera pushes
13 years ago
Adam Johnson
0e88bd249b
Revert "Pop cameras when we exit a region"
...
This was a fluke and did not really fix the issue
13 years ago
Adam Johnson
efd03fc33e
Pop cameras when we exit a region
...
Fixes issues with cameras that have been added to the stack in python using
that weird spawn point hack.
13 years ago
Adam Johnson
027e830360
Keep dynamics asleep during init process
...
When we set the global pose and transform, we wake up dynamics. This can be
somewhat evil, so we put them back to sleep as they are supposed to be.
13 years ago
Adam Johnson
897abb7200
Chip away at uses of pnUtStr
13 years ago
Adam Johnson
653c29d0bd
Restore eap's misunderstanding of endianness.
13 years ago
Adam Johnson
ec216206dd
Fix StupidSearch
...
This fixes stupid stuff like Phil's Relto linking panel and the Words covers
13 years ago
Darryl Pogue
ab8d7619d3
Remove the pragma stuff since there's no warning.
13 years ago
Darryl Pogue
b5d9c3ffec
Use a correct value that doesn't cause warnings.
13 years ago
Darryl Pogue
bdf52410e1
Make plString build on mingw.
13 years ago
Darryl Pogue
21a0d9edfd
Re-add the necessary StartUp hack stuff.
13 years ago