Adam Johnson
b90776fafe
Capture the mouse on clicks
...
This hack prevents the cursor from leaving the window when panning the
camera or changing directions quickly. This is important for those with
high mouse sensitivities.
12 years ago
Skoader
cb48aab373
Fix no cursor when not the top level window.
...
WM_MOUSEMOVE messages were only processed when the window was active.
12 years ago
Skoader
c090b44d5a
Fix clicking on the title bar does not activate the window.
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
a709e17069
Obliterate hsBool
12 years ago
Adam Johnson
f0af98b0a7
Toss lots of custom CString code
...
We already have a C standard library, so let's not reimplement it.
12 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 ;)
12 years ago
Adam Johnson
3667fb62e2
Replace COMPILER_ASSERT with C++0B static_assert
12 years ago
Adam Johnson
a5b1d62f9a
Fix a bug that should never happen
...
This fixes a crash that occurs on systems with no Direct3D device
available. The device selector returns a NULL string, which is then
strstr'ed for some ancient nvidia card. For now, let's wrap that in a NULL
check. Eventually, when we scrub plClient.cpp and winmain.cpp, that hack
should just be dropped.
13 years ago
Christian Walther
e589314f89
Avoid truncated window size after going from fullscreen to a window of the same size.
...
Must set the window size after the display resolution, otherwise Windows may clamp it to a smaller size than specified.
13 years ago
Darryl Pogue
b13a8f129f
Include plFileUtils in plUruLauncher.
13 years ago
Darryl Pogue
bb9886c37c
Using CCmdParser here is ridiculously excessive.
13 years ago
Darryl Pogue
205795e037
Kill as much of pnUtPath as possible.
13 years ago
Darryl Pogue
f38682882b
Kill pnUtilsExe.
13 years ago
Adam Johnson
5f99e20af8
Toss pnAddrInfo (one less project!)
13 years ago
Adam Johnson
9ce02384c2
Fix #169
...
Allow the execution of multiple internal clients. The crash that was
observed before was fixed with the removal of pnAcLog.
13 years ago
Adam Johnson
c4190c50de
Remove programs/libraries that have been obsoleted or make no sense
...
outside of Cyan's build environment
13 years ago
Adam Johnson
95e1fe34b8
Remove unused dead weight CSR and SimpleNet code
13 years ago
Adam Johnson
b8b8e6d730
Fix #204
...
Revert part of a89577e81e that allowed message handlers to override the
default window proc, killing key commands like Alt+F4
13 years ago
Joseph Davies
9ee5c4d040
Remove remaining pre-hsCpuID SSE special-casing.
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
Adam Johnson
55a816f376
Remove stale stack dump reports
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
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
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
Florian Meissner
d0412b2f38
Move the combo box into an own line
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
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
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
Adam Johnson
dcba1fb60a
Windows 7 taskbar goodies
...
Update the Windows 7 taskbarlist progress bar on plOperationProgress
callbacks. It's not totally nesecary, but it adds a nice bit of polish to
the experience.
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
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
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
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
fa81d44489
Remove AsyncLog usage from the patcher.
13 years ago
Bartek Bok
d8dd19e093
Basic clipboard functionality
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
Darryl Pogue
d8d6b0b377
Remove some lingering pnIni references.
13 years ago
Adam Johnson
1efd2b6684
Support utf8 TOS.txt files
13 years ago