1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00
Commit Graph

109 Commits

Author SHA1 Message Date
1debf8180b Convert many of the now-deprecated plString::Format calls to plFormat 2014-05-28 18:10:24 -07:00
8c5286400a Use premultiplied alpha for plDynamicTextMaps on GUI controls.
This fixes the irregular dark fringes around light text when not exactly pixel-aligned that are caused by independent interpolation of color and alpha. It also makes calculations simpler for things to come.
2014-04-26 21:14:50 +02:00
4cd2b2f7dd Fix #303 2014-04-26 21:14:47 +02:00
a58e9c643c Clean up some warnings, and make the CRT ones more relevant 2014-03-16 14:35:15 -07:00
a1e3fa6faf Various MinGW compile fixes. 2014-02-19 23:31:43 -08:00
9e0330feea Plate resource plString 2014-01-21 15:21:32 -08:00
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 :)
2014-01-21 15:21:32 -08:00
abe3d465b3 Some additional sprintf and std::string cleanup 2014-01-11 20:42:01 -08:00
ee2ba7d068 hsG3DDeviceSelector => plString 2014-01-11 20:42:00 -08:00
d8113a5ab7 Movie filename in plMovieMsg and plBinkPlayer => plString 2014-01-09 22:20:51 -08:00
0d53e4e0ec Convert plDXShader's error string to a plString, and do some cleanup 2014-01-09 21:47:46 -08:00
67448aad66 Merge pull request #370 from Deledrius/framenum_fix
Replace hardcoded frame number in plDTProgressMgr.
2013-12-20 13:51:22 -08:00
77266066ff Replace hardcoded frame number in plDTProgressMgr.
This was overlooked when the consolidation was done in 3027e0605c.
With this fix, the number of frames to be loaded is entirely defined
in a single place.  This also prepares the code for a future commit
to remove the necessity of the compile-time definition entirely.
2013-12-20 13:42:47 -08:00
b421e75040 Send the right RefMsg, please...
So this is interesting. If you disable Planar Reflections and visit an age with a DCM, you will crash after a few minutes. This is because plDynamicCamMap is sending the wrong plRefMsg to the plLayer. This does nothing (aside from waste time), so we keep sending the ref again and again and again and again until we get some weird heap corruption and KABLOOOOOOOOOOOEY!
2013-12-16 21:22:50 -05:00
b358b26ae9 Merge pull request #354 from Hoikas/init-cleanup
Graphics Init Cleanup
2013-12-12 13:53:16 -08:00
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
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
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
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
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
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
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
f27cf09cf5 StringStream means less recursive sprintf... 2013-05-27 23:57:36 -04:00
fbe821ab11 OpProgress: only skip space if we drew something 2013-05-27 23:57:34 -04:00
38f5e6ea0a Implement Hor+ FOVs 2013-02-07 21:22:05 -05:00
bbd1723e2c Merge pull request #290 from Hoikas/pipe-hax
Resizable DynamicCamMaps
2013-02-02 09:56:54 -08:00
804d197714 Merge pull request #291 from Deledrius/plPlate_resizing
Correct voice chat icon resizing.
2013-02-01 17:50:08 -08:00
e4e718e243 Bypass ATI Generic fudging with Radeon HD cards 2013-02-01 18:56:45 -05:00
f2f1bea345 Non Power-of-Two DynamicCapMaps
Epic K'veer floor is now even more epic.
2013-02-01 18:56:39 -05:00
3fb5f33517 Add plQuality entry for Shader Model 3 2013-02-01 16:44:44 -05:00