2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-16 18:35:40 +00:00
Commit Graph

54 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
d4465a2168 Port plFontConverter to Qt5 2014-05-18 00:02:22 -07:00
07810ffd9c Apparently these need to be at the top to work in a purely
command-line (msbuild) environment
2014-05-04 22:59:32 -07:00
0c8fc6d559 Undo the kRenderJustXForceLeft bugfix of 4 commits back.
The fix (adding adjustment of fRenderInfo.fDestPtr) made kRenderJustXForceLeft behave as intended (left-aligning the edge of the bitmap rather than the side bearing of the first character) but cuts off shadows in some places (e.g. at the left edges of "BUDDIES" and "NEIGHBORS" in the mini KI). To ensure enough space for the shadow, and considering that all content was developed and visually optimized with the bug in place, it seems better to preserve the buggy behavior and make kRenderJustXForceLeft work exactly like kRenderJustXLeft.
2014-04-26 21:14:53 +02:00
1967178e37 Link shadowed text rendering to the plDynamicTextMap::kFontShadowed flag.
Conveniently enough, this existing but unimplemented flag is already set mostly the way we want it in the current PRPs.
2014-04-26 21:14:52 +02:00
6b4739aec9 Implement shadowed text rendering.
Intended to make KI text (player list and chat) better readable on light and patterned backgrounds. In this WIP, all text on GUI controls is rendered shadowed.
2014-04-26 21:14:51 +02: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
b34577103e Pixel-accurately clip characters to the available space instead of omitting whole characters that stick out.
In addition to being a prerequisite for shadowed text, this also fixes an issue sometimes seen at the bottom of the mini KI player list where characters with a descender were missing.
2014-04-26 21:14:49 +02:00
939f6c3d41 Accept plStrings in plDynamicTextMap for rendering and font names 2014-01-12 13:08:24 -08:00
56507c5219 Fix several format errors detected via vararg-template voodoo 2013-12-16 18:58:47 -08: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
6832881e32 Enable plDynamicTextMsg sending 2013-06-18 18:37:13 -04:00
f5abe4ab15 Merge pull request #273 from 'paradox/clang'
Conflicts:
	Sources/Tools/MaxConvert/Pch.h
	Sources/Tools/MaxConvert/hsControlConverter.cpp
2013-01-31 19:14:57 -05:00
2b06708915 Generate mip levels for DynamicTextMaps
This changeset introduced a new plBitmap flag `kAutoGenMipmap`, which
trickles through the pipeline and becomes `D3DUSAGE_AUTOGENMIPMAP` in
standard DirectX texture creation. This flag is applied to all
DyanmicTextMaps. The end result is that DynamicTextMaps become fuzzy at a
distance, rather than choppy.
2013-01-30 23:46:52 -05:00
29bc092cff math.h -> cmath 2013-01-28 23:23:07 -08:00
c71bff3f21 Fix more clang warnings. 2013-01-28 21:58:48 -08:00
2c028c4b07 Remove hsFiles in favor of plFilesystem stuff 2013-01-21 14:48:32 -08:00
6f6ade2636 Replace hsStream::Open duplicated methods everywhere with a single plFileName interface 2013-01-19 14:21:49 -08:00
48d2314a91 Actually include the plJPEG files. 2013-01-05 20:42:29 -08:00
c77cb10c20 Move plJPEG into plGImage.
This matches what was done for plPNG.
2013-01-05 20:34:01 -08:00
8158a43dfe Fully remove hsStlUtils, as it is now completely unused 2013-01-01 21:35:11 -08:00
d40e7a5ca5 Move file stuff back to plFile for gcc. 2013-01-01 21:05:32 -08:00
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
4221b57baa Fix a whole bunch of clang warnings. 2012-12-15 16:46:20 -08:00
b219c3c3cc Alright, this _TEMP_CONVERT_ stuff was a stupid idea 2012-11-13 18:40:13 -08:00
041b1985e4 Fix paths and move GetSecureEncryptionKey so things compile again 2012-11-12 18:31:07 -08:00
40d5e2e867 Fix some noteworthy warnings (mostly hsBool->bool incompatibility) and missing headers 2012-11-11 22:34:05 -08:00
b57dc28136 Remove some unused CoreLib stuff
- plRefCnt duplicates hsRefCnt (Wtf?)
- hsNamedPipeStream nasty, unused
- VDB stuff in hsStream left over from Plasma 1 (realMyst/DIRT)
- hsColor32 moved to be less promiscuous
2012-07-14 18:47:45 -04:00
a709e17069 Obliterate hsBool 2012-07-14 18:46:27 -04:00
7720981324 Fixes #151
Close a file descriptor that could be leaked
2012-02-16 19:59:21 -05:00
bb0ed04a52 Fix some things which got missed from debug builds 2012-01-29 17:00:13 -08:00
c339f947ba Merge remote-tracking branch 'origin/master' into plString
Conflicts:
	Sources/Plasma/CoreLib/hsStream.h
	Sources/Plasma/FeatureLib/pfAudio/plListener.cpp
	Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp
	Sources/Plasma/FeatureLib/pfConsole/pfDispatchLog.cpp
	Sources/Plasma/FeatureLib/pfJournalBook/pfJournalBook.cpp
	Sources/Plasma/FeatureLib/pfPython/cyMisc.cpp
	Sources/Plasma/FeatureLib/pfPython/cyMisc.h
	Sources/Plasma/FeatureLib/pfPython/cyMiscGlue4.cpp
	Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.cpp
	Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.h
	Sources/Plasma/FeatureLib/pfPython/pyImage.cpp
	Sources/Plasma/FeatureLib/pfPython/pyJournalBook.cpp
	Sources/Plasma/FeatureLib/pfPython/pyNetServerSessionInfo.h
	Sources/Plasma/NucleusLib/pnKeyedObject/plFixedKey.cpp
	Sources/Plasma/NucleusLib/pnKeyedObject/plKeyImp.cpp
	Sources/Plasma/NucleusLib/pnKeyedObject/plUoid.cpp
	Sources/Plasma/NucleusLib/pnKeyedObject/plUoid.h
	Sources/Plasma/NucleusLib/pnMessage/plMessage.h
	Sources/Plasma/NucleusLib/pnNetCommon/plNetApp.h
	Sources/Plasma/PubUtilLib/plAvatar/plCoopCoordinator.cpp
	Sources/Plasma/PubUtilLib/plDrawable/plDrawableSpansExport.cpp
	Sources/Plasma/PubUtilLib/plDrawable/plDynaDecalMgr.cpp
	Sources/Plasma/PubUtilLib/plDrawable/plWaveSet7.cpp
	Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.h
	Sources/Plasma/PubUtilLib/plNetClient/plNetClientMgr.h
	Sources/Plasma/PubUtilLib/plNetCommon/plClientGuid.h
	Sources/Plasma/PubUtilLib/plNetMessage/plNetMessage.cpp
	Sources/Plasma/PubUtilLib/plNetMessage/plNetMsgHelpers.h
	Sources/Plasma/PubUtilLib/plNetTransport/plNetTransportMember.h
	Sources/Plasma/PubUtilLib/plPhysX/plSimulationMgr.cpp
	Sources/Plasma/PubUtilLib/plPipeline/plDXPipeline.cpp
	Sources/Plasma/PubUtilLib/plPipeline/plPlates.cpp
	Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.cpp
	Sources/Plasma/PubUtilLib/plResMgr/plKeyFinder.h
	Sources/Plasma/PubUtilLib/plResMgr/plRegistryNode.cpp
	Sources/Plasma/PubUtilLib/plResMgr/plRegistryNode.h
	Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.cpp
	Sources/Plasma/PubUtilLib/plScene/plRelevanceMgr.h
	Sources/Plasma/PubUtilLib/plSurface/plGrassShaderMod.cpp
2012-01-28 17:20:01 -08:00
e34414889f Convert plUoid's object name to a plString 2012-01-28 16:24:20 -08:00
5013a978eb Get rid of NEW(), TRACKED_NEW, and ZERO(). 2012-01-25 16:58:35 -05:00
be26b145df HeadSpin.h is now the core header.
Rearrange some things so such that low-level CoreLib headers aren't quite
so crazy. For higher level stuff, you still need to include the
appropriate header.
2012-01-25 16:58:27 -05:00
e020651e4b Eliminate hsScalar and hsFixed
Modern CPUs support floats just fine... hsFixed was crazy.
2012-01-25 16:58:20 -05:00
5027b5a4ac Convert custom HeadSpin integer types to standard types from stdint.h 2012-01-25 16:58:18 -05:00
3398938d31 Fix a bunch of warnings from clang. 2011-11-27 19:12:18 -08:00
5e6eb006b9 Fix some Linux issues in plGImage. 2011-10-30 16:07:26 -07:00
526bed2f43 Fixes for plGImage HS_BUILD_FOR_WIN32. 2011-10-30 15:57:42 -07:00
085b12e6eb ifdef out all the Win32 specific code in plGImage. 2011-10-30 15:57:41 -07:00
29de5fbc07 Remove unused platform code (MacOS9, PS2, XBox). 2011-10-26 14:11:14 -07:00
e462ef04b3 Fix Endian functions names in hsTypes and hsStream.
Function and macro names for endianness were previously vague,
and on big-endian systems entirely misleading.  The names are
now properly descriptive of what they actually do.
2011-10-25 20:23:25 -07:00
eb2767a5f7 Open source re-licensing 2011-10-22 17:03:49 -07:00
ea3fa47eca Make a bunch more strings const. 2011-08-07 14:11:35 -07:00
46c4a457e0 Syntax fixes for PubUtilLib. 2011-07-24 15:29:45 -07:00
090c950c74 Fix for plPNG::IRead improperly handling 24-bit RGB and non-transparent paletted images. 2011-07-20 23:18:05 -07:00
3fa99eb673 Fix for plPNG::IRead not reading final end block of image. 2011-07-20 23:18:04 -07:00
555b0d94b2 AStyle formatting fixes. 2011-07-20 23:18:01 -07:00
e08ed20947 Add PNG write support to plPNG. 2011-07-20 23:18:00 -07:00