185118d21c
Better management of TnLEnums and Direct3D9 object
...
Two of the big nasties, according to profiling, are the TnL enum and
creation of Direct3D objects. It turned out we were doing these things
several times (3 and 4 respectively) during the init process. So, now we
have an hsGDirect3D namespace and some smart pointers to manage them!
2013-12-12 16:47:03 -05:00
fc67738ee8
Remove some obviously obsolete caps
2013-12-12 16:24:04 -05:00
696ceace19
Remove some unused PS version stuff
2013-12-12 16:24:02 -05:00
ac23835384
Get rid of obsolete readers/writes for device info
2013-12-12 16:24:01 -05:00
9070d70e50
Lots of cleanups to hsG3DeviceDelector
2013-12-12 16:24:00 -05:00
544abef39e
Wow, those cards are old...
...
Remove detection for cards that are don't support at LEAST DirectX 8.
There's no way they would even be able to get past Direct3DCreate9, so we
shouldn't need to worry about them... I hope.
2013-12-12 16:23:59 -05:00
a30a326d17
We only support DirectX 9...
...
If you have less than 11MB VRAM or need to use the ref implementation,
then you are using a dinosaur and have no business even attempting to play
this game.
2013-12-12 16:23:58 -05:00
bbae6a76d7
We don't support 3dfx cards...
...
Come on, man... They made some good cards, but they went out of business
in 1999! Ain't nobody got time fo' dat.
2013-12-12 16:23:57 -05:00
60c544e1ff
Don't lazy-load D3D9.dll
...
We already link against it, so that's just a waste of time. Also, cleanup
some unneeded ddraw includes. Remember that in Direct3D9, all devices can
render in windowed mode.
2013-12-12 16:23:51 -05:00
57854640e7
Merge pull request #361 from Hoikas/capture
...
Revamp Game.TakeScreenShot
Fixes #358 .
2013-12-11 21:55:09 -08:00
f2ba770578
DIE DEVIL HACKS!!!
2013-12-11 19:44:49 -05:00
2cecbc9f2f
Update the FOV when using plCaptureRender
2013-12-11 19:44:48 -05:00
3dc6f76b7d
Add functions for writing and reading avatar clothing files
...
This also introduces a filename member in plClothingOutfit so it
can determine whether to read the clothing information from the file
or the vault.
2013-12-11 20:39:25 +01:00
7ca81ba626
Implement a plLoadClothingMsg as a clone loading trigger
2013-12-11 20:39:13 +01:00
7e66aee382
Allow passing a clothing file to LoadAvatar and plStringify whatever we encounter on our way
2013-12-11 20:38:51 +01:00
51e600f6cf
Merge pull request #360 from Hoikas/max-plugin
...
Fix More 3dsm Issues
2013-12-08 16:22:52 -08:00
07eab8def4
Fix annoying "Bad static key ID" asserts
2013-12-05 19:23:01 -05:00
07adadcb58
Fix out-of-bounds crash when fiddling with NPCs
2013-12-05 22:20:12 +01:00
34c88190c1
Update StartUp in initial batch
...
ONE PATCH! This commit brings us to half of the patching goal: on launch
of the client, we only show ONE "Updating..." message before we enter the
game proper. Go us!
2013-11-28 15:16:01 -05:00
3299267976
Integrate SecurePreloader into pfPatcher
2013-11-28 15:14:45 -05:00
9d162a7a32
Reroute plResPatcher
2013-11-28 15:14:37 -05:00
275f15087c
Separate plOperationProgress titles and statuses.
...
Now we render titles above the progress bar and the status below (in the
same color as the progress bar!). Also, introduce a new info field that is
guaranteed to be right justified.
2013-11-25 22:01:10 -05:00
7da0467609
plString-ify plOperationProgress
2013-11-25 22:01:09 -05:00
efec679e1f
Fix NetCliAuthFileRequest Regression introduced by 6e56447
...
Our data fields have to be the same as their size on the wire. Ugh.
2013-11-25 20:13:38 -05:00
063b61161d
Don't ignore possible extensions when localizing object names
2013-11-21 16:53:55 +01:00
61483e2739
Fix crash when loading converted Age.
2013-08-15 12:13:35 -07:00
c536ceefb4
Merge pull request #345 from dpogue/pipeline
...
Split DirectX stuff into a subdirectory of plPipeline
2013-07-24 21:36:03 -07:00
5c11d618f5
Actually use working backslashes.
2013-07-24 21:20:38 -07:00
6ce5d5abda
Clean up source groups for plDXPipeline.
2013-07-24 21:17:16 -07:00
cc264e3f43
Minor fixes.
2013-07-22 19:41:27 -07:00
fc9d51cc35
plViewTransform is not in plPipeline.
...
Thanks @Deledrius .
2013-07-21 15:57:22 -07:00
e6609c2b71
Fix clang warnings in plCubicRenderTargetModifier.
2013-07-21 00:50:58 -07:00
04d88377ad
Move all the DirectX-specific stuff into a folder.
...
This actually allows us to compile plPipeline on *nix (although linking
will fail).
2013-07-21 00:50:00 -07:00
f1767ebabe
Fix some *nix compiler errors.
2013-07-20 00:04:51 -07:00
b86ab9d69e
Merge pull request #336 from Hoikas/weight-format
...
Improve skinning performance.
2013-07-09 19:30:45 -07:00
dd35878465
Begin killing off sprintf
2013-07-09 21:30:42 -04:00
470ed86187
Let's use vsnprintf
for those legacy methods...
2013-07-09 21:30:41 -04:00
798764d84e
Nuke some snprintf
2013-07-09 21:30:40 -04:00
ea31db3305
SSE 4.1 Skinning
...
This appears to offer no benefit on my Wolfdale CPU, but I expect it will
be useful on more recent ones.
2013-07-09 21:07:24 -04:00
4d32454764
Fill volatile buffers
...
This shaves off a memcpy and some smaller copies. Decent gains that scale
up quite well as more avatars are on screen.
2013-07-09 21:07:24 -04:00
aa7df368f1
Cleanup macro-mayhem
...
This converts the VERTBLEND macros to some clever templates. This code
should be much more maintainable.
2013-07-09 21:07:23 -04:00
c74dd5d42e
Merge pull request #334 from Deledrius/vs_2013_std
...
Add missing std headers for compilation with VisualStudio 2013.
2013-06-26 20:37:40 -07:00
296c4b6a69
Add missing std headers for compilation with VisualStudio 2013.
...
Additional C++11 support in VS12 requires inclusion of the proper headers.
2013-06-26 19:17:53 -07:00
f880967ba9
Fix SDL double-load
2013-06-20 18:14:24 -04:00
4a189faf36
Remove x87 hack for typical (avatar) use cases
2013-06-19 16:37:55 -04:00
342dd5fe14
Aligned point/vector loads
2013-06-19 16:37:55 -04:00
48f232c3a0
Aligned matrix loading
2013-06-19 16:37:54 -04:00
8c37858de8
Convert hsMatrix44 hsTArrays to std::vectors
2013-06-19 16:37:52 -04:00
6832881e32
Enable plDynamicTextMsg sending
2013-06-18 18:37:13 -04:00
0c1b6bb096
Some messages are useful
2013-06-18 18:27:59 -04:00