Adam Johnson
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!
11 years ago
Branan Purvine-Riley
fc67738ee8
Remove some obviously obsolete caps
11 years ago
Branan Purvine-Riley
696ceace19
Remove some unused PS version stuff
11 years ago
Branan Purvine-Riley
ac23835384
Get rid of obsolete readers/writes for device info
11 years ago
Branan Purvine-Riley
9070d70e50
Lots of cleanups to hsG3DeviceDelector
11 years ago
Adam Johnson
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.
11 years ago
Adam Johnson
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.
11 years ago
Adam Johnson
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.
11 years ago
Adam Johnson
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.
11 years ago
Adam Johnson
7c24bd67ce
Remove older/crappier TakeScreenShot console cmds.
11 years ago
Adam Johnson
f2ba770578
DIE DEVIL HACKS!!!
11 years ago
Adam Johnson
2cecbc9f2f
Update the FOV when using plCaptureRender
11 years ago
Adam Johnson
2d8d42759d
Better Game.TakeScreenShot
...
The new version uses plCaptureRender, so we can take screenshots at any
size that DX can render to...
11 years ago
Florian Meißner
b8ff9ee065
Add clothing file functions to the Avatar Python API
11 years ago
Florian Meißner
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.
11 years ago
Florian Meißner
7ca81ba626
Implement a plLoadClothingMsg as a clone loading trigger
11 years ago
Florian Meißner
7e66aee382
Allow passing a clothing file to LoadAvatar and plStringify whatever we encounter on our way
11 years ago
Darryl Pogue
7f3ba3b106
Required link libraries for pnNetCommon.
...
Allows it to build and link properly under gcc/clang.
11 years ago
Michael Hansen
324715db9d
Pass message as a unicode object, to avoid encoings getting screwed up
11 years ago
Adam Johnson
07eab8def4
Fix annoying "Bad static key ID" asserts
11 years ago
Florian Meißner
07adadcb58
Fix out-of-bounds crash when fiddling with NPCs
11 years ago
Darryl Pogue
786f06eafc
Fix plString ssize_t undefined errors.
11 years ago
Joseph Davies
c0d6556aa3
Use std::regex instead of PCRE.
11 years ago
Adam Johnson
e6f9a83fde
Detect self-patching in pfPatcher
11 years ago
Adam Johnson
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!
11 years ago
Adam Johnson
3299267976
Integrate SecurePreloader into pfPatcher
11 years ago
Adam Johnson
9d162a7a32
Reroute plResPatcher
11 years ago
Adam Johnson
346b6f8ac8
Implement pfPatcher backend
11 years ago
Adam Johnson
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.
11 years ago
Adam Johnson
7da0467609
plString-ify plOperationProgress
11 years ago
Adam Johnson
efec679e1f
Fix NetCliAuthFileRequest Regression introduced by 6e56447
...
Our data fields have to be the same as their size on the wire. Ugh.
11 years ago
Florian Meißner
063b61161d
Don't ignore possible extensions when localizing object names
11 years ago
Adam Johnson
e103d0c9d6
Port PtDebugPrint to C++
...
This has a couple of benefits:
- We should theoretically no longer run into UnicodeDecodeErrors from the
plString-based implementation
- By doing things engine side, we can use the logging API to colorize log
messages.
11 years ago
Michael Hansen
c69d546c69
Fix a VC++2013 compile error
11 years ago
Joseph Davies
61483e2739
Fix crash when loading converted Age.
12 years ago
Darryl Pogue
5c11d618f5
Actually use working backslashes.
12 years ago
Darryl Pogue
6ce5d5abda
Clean up source groups for plDXPipeline.
12 years ago
Darryl Pogue
cc264e3f43
Minor fixes.
12 years ago
Adam Johnson
52deaff61a
Async pyVaultPlayerInfoList::AddPlayer
...
This fixes the stutter when adding a buddy to the KI. The return value was
never used, according to grep. There is a delay between hitting enter and the player being added, but that's acceptable.
12 years ago
Darryl Pogue
fc9d51cc35
plViewTransform is not in plPipeline.
...
Thanks @Deledrius .
12 years ago
Darryl Pogue
e6609c2b71
Fix clang warnings in plCubicRenderTargetModifier.
12 years ago
Darryl Pogue
04d88377ad
Move all the DirectX-specific stuff into a folder.
...
This actually allows us to compile plPipeline on *nix (although linking
will fail).
12 years ago
Darryl Pogue
f1767ebabe
Fix some *nix compiler errors.
12 years ago
Adam Johnson
139730eaab
Fix pySceneObject::IsHuman
12 years ago
Adam Johnson
88dfd51000
Fix Console Help indentation
12 years ago
Adam Johnson
dd35878465
Begin killing off sprintf
12 years ago
Adam Johnson
470ed86187
Let's use `vsnprintf` for those legacy methods...
12 years ago
Adam Johnson
798764d84e
Nuke some `snprintf`
12 years ago
Adam Johnson
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.
12 years ago
Adam Johnson
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.
12 years ago