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.
2012-12-22 17:15:14 -05:00
9f276e2c57
Add support for Visual Leak Detector, since valgrind doesn't support MSVC
2012-12-13 02:07:53 -08:00
4ee424df34
Merge pull request #226 from Hoikas/no-encryption
...
Deprecate WDYS Encryption
2012-11-27 17:28:09 -08:00
caa12510de
Merge pull request #224 from Hoikas/kill-transgaming
...
Kill transgaming
2012-11-27 17:23:52 -08:00
8aa9e25ec0
Merge pull request #221 from Hoikas/window-fixes
...
Window fixes
2012-11-18 14:02:27 -08:00
8a9c3ec177
Kill high level TransGaming support
2012-11-18 16:59:47 -05:00
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
2012-11-13 18:40:13 -08:00
075c535e2c
Some cleanup and a vararg plString usage fix
2012-11-12 22:58:15 -08:00
9cc3f404af
Add Short-String Optimization to plString
2012-11-12 19:06:53 -08:00
041b1985e4
Fix paths and move GetSecureEncryptionKey so things compile again
2012-11-12 18:31:07 -08:00
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.
2012-11-12 20:48:05 -05:00
336f1c40ad
Track mouse ups/downs for releasing purposes
2012-11-03 01:22:56 -04:00
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.
2012-10-23 23:34:02 -04:00
4c9f5398bd
Merge pull request #211 from Hoikas/addrinfo
...
Toss pnAddrInfo
2012-10-14 10:04:55 -07:00
cb48aab373
Fix no cursor when not the top level window.
...
WM_MOUSEMOVE messages were only processed when the window was active.
2012-10-03 20:30:07 -04:00
c090b44d5a
Fix clicking on the title bar does not activate the window.
2012-10-03 20:28:51 -04:00
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
2012-10-03 20:19:11 -04:00
a709e17069
Obliterate hsBool
2012-07-14 18:46:27 -04:00
f0af98b0a7
Toss lots of custom CString code
...
We already have a C standard library, so let's not reimplement it.
2012-07-11 09:46:20 -04:00
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 ;)
2012-07-11 09:46:18 -04:00
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.
2012-06-18 21:53:41 -04:00
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.
2012-06-17 20:29:46 +02:00
f38682882b
Kill pnUtilsExe.
2012-06-13 23:28:54 -07:00
5f99e20af8
Toss pnAddrInfo (one less project!)
2012-06-10 20:03:44 -04:00
9ce02384c2
Fix #169
...
Allow the execution of multiple internal clients. The crash that was
observed before was fixed with the removal of pnAcLog.
2012-06-10 19:31:42 -04:00
c4190c50de
Remove programs/libraries that have been obsoleted or make no sense
...
outside of Cyan's build environment
2012-06-10 12:59:11 -04:00
95e1fe34b8
Remove unused dead weight CSR and SimpleNet code
2012-06-09 18:45:34 -04:00
b8b8e6d730
Fix #204
...
Revert part of a89577e81e that allowed message handlers to override the
default window proc, killing key commands like Alt+F4
2012-05-05 22:37:47 -04:00
9ee5c4d040
Remove remaining pre-hsCpuID SSE special-casing.
2012-04-22 15:29:22 -07:00
8291ec5ba5
Add missing period at the end of the processor support error message.
2012-04-20 21:57:27 +02:00
d2933e66c6
Fix SSE3 detection.
...
CheckCPU() would always return true, letting the game continue and crash on an SSE3 instruction on non-SSE3 CPUs.
2012-04-20 21:56:08 +02:00
a31f14a9bd
Merge pull request #196 from Hoikas/minidump
...
pfCrash Fixes
2012-04-17 18:20:39 -07:00
55a816f376
Remove stale stack dump reports
2012-04-17 16:05:00 -04:00
95c255daf4
Change language setting to use an ini file instead of the login.dat
2012-04-17 10:37:42 -07:00
670576bf67
Merge pull request #184 from Hoikas/minidump
...
Improved Crash Handling
2012-04-15 14:08:20 -07:00
a038af101d
Merge pull request #193 from Hoikas/sse
...
SSE3 Optimizations
2012-04-15 14:07:41 -07:00
8d36a0d028
Closes #182 -- dpogue/kill_utils
...
Conflicts:
Sources/Plasma/Apps/plClient/winmain.cpp
2012-04-14 19:34:07 -04:00
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
2012-04-11 23:21:54 -04:00
5fa14466c8
Eradicate pfStackTrace
2012-04-06 02:31:49 -04:00
fffdf07467
Slim down the exception dialog
2012-04-06 02:31:48 -04:00
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.
2012-04-06 02:29:21 -04:00
c70bb776ba
Merge pull request #181 from Hoikas/taskbar
...
Taskbar Stuff
2012-04-05 23:18:34 -07:00
d0412b2f38
Move the combo box into an own line
2012-04-04 11:57:47 +02:00
90dd0f433d
Use Localization list of available languages for login dialog.
2012-04-03 14:11:34 +02:00
8fd6e5eb1b
Add language changer to Login form
2012-04-03 14:11:23 +02:00
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).
2012-03-26 21:27:55 -07:00
5beda0ab87
Implement client window flashing
...
This will be used in python to grab the player's attention on PMs or other
interesting events.
2012-03-20 21:00:59 -04:00
6039d62bc2
Implement progress failures
...
I took the liberty to improve the obvious failure cases where a red progress
bar would be useful.
2012-03-20 01:14:06 -04:00
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.
2012-03-19 22:26:30 -04:00
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.
2012-03-10 14:16:01 -08:00