Michael Hansen
933ae6ec17
Provide some sample conversions to plFormat for testing and copying
11 years ago
Michael Hansen
d7fdf10455
Convert ReadSafe(W)String* to the plString variants, and remove the now
...
unneeded _TEMP variants. All safe strings read from hsStreams are
now plStringified :)
11 years ago
Michael Hansen
f1131bbb25
Fix winmain use and a couple of remaining SafeStrings => plString
11 years ago
Adam Johnson
625319f99d
NT6-proof PhysX_Setup.exe launch
...
CreateProcessW on PhysX_Setup.exe will probably cause
ERROR_ELEVATION_REQUIRED. That is NOT my idea of a successful install.
11 years ago
Adam Johnson
8cedb69e9e
Fix some invalid heap ops found by Dr Memory
11 years ago
Joseph Davies
296c4b6a69
Add missing std headers for compilation with VisualStudio 2013.
...
Additional C++11 support in VS12 requires inclusion of the proper headers.
12 years ago
Adam Johnson
ef9cb1b5a4
Fix patcher launching crazy
12 years ago
Adam Johnson
fe06eed259
Shit, I'm not even testing that.
12 years ago
Adam Johnson
98dff8d8e5
More granular control of the SecurePreloader
12 years ago
Darryl Pogue
b01aab4a39
Standardize on C++ headers.
...
Also removes a bunch of duplicate #includes of stuff that's already
pulled in by HeadSpin.h.
12 years ago
Michael Hansen
cc54fb07be
Finish deprecation of pnUtPath
12 years ago
Michael Hansen
6e564476b7
Deprecate plFileUtils and parts of pnUtPath
12 years ago
Michael Hansen
6f6ade2636
Replace hsStream::Open duplicated methods everywhere with a single plFileName interface
12 years ago
Adam Johnson
d2815f35bf
Replace plasmalog with a better debug log
...
Plasmalog.txt is now plasmadbg.log. This allows us to view the log inside
the game, flush to the debugger output window, and have the logfile. The
plan is to redirect key leak reports to this log in a future commit.
12 years ago
Michael Hansen
f980f022dd
Replace pnProduct with a (very) thin CoreLib plProduct wrapper around CMake-defined product ID values
12 years ago
Michael Hansen
4233727f57
Generate ComCtl manifests for the Win32 GUI executables
12 years ago
Darryl Pogue
d40e7a5ca5
Move file stuff back to plFile for gcc.
12 years ago
Adam Johnson
712d59281f
Fix issues from review
...
- Use lowercase win32 header names for cross-compiling with MinGW
- Correct a unix GUID forward declaration
12 years ago
Adam Johnson
7785c9c85e
Remove global Windows.h include
...
This is the beginning of efforts to reduce the scope of Windows.h. I have
shuttled it into hsWindows.h (again) and fixed the compilation of the
major apps. There is still some scope work that needs to be done, and the
Max plugin has not yet been addressed.
12 years ago
Michael Hansen
9f276e2c57
Add support for Visual Leak Detector, since valgrind doesn't support MSVC
12 years ago
Adam Johnson
8a9c3ec177
Kill high level TransGaming support
12 years ago
Michael Hansen
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
12 years ago
Michael Hansen
075c535e2c
Some cleanup and a vararg plString usage fix
12 years ago
Michael Hansen
9cc3f404af
Add Short-String Optimization to plString
12 years ago
Michael Hansen
041b1985e4
Fix paths and move GetSecureEncryptionKey so things compile again
12 years ago
Lyrositor
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.
12 years ago
Adam Johnson
336f1c40ad
Track mouse ups/downs for releasing purposes
12 years ago
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
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
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
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
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
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
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
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
Adam Johnson
897abb7200
Chip away at uses of pnUtStr
13 years ago
Adam Johnson
653c29d0bd
Restore eap's misunderstanding of endianness.
13 years ago