Christian Walther
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.
11 years ago
Christian Walther
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.
11 years ago
Christian Walther
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.
11 years ago
Adam Johnson
4cd2b2f7dd
Fix #303
11 years ago
Adam Johnson
54a1b99f56
Merge pull request #406 from Deledrius/Max7_VS12
...
Fix compilation of Max 7 plugin in VisualStudio 12
11 years ago
Joseph Davies
81214699ae
Fix scope on preprocessor variables for Max plugin.
...
plAudioCore needs to know whether we intend to build the plugin, so
the change introduced in 978edc1
was causing compilation to fail when
building the plugin.
This moves detection and definition back into the root CMakeList,
but preserves the behavior of only looking for the SDK if needed.
11 years ago
Adam Johnson
683945fb7d
Merge pull request #404 from dpogue/coverity
...
Coverity
11 years ago
Joseph Davies
c3d8e7e161
Add different SetText values to MaxCompat header.
...
Restores compilation of Max 7 plugin, as its SetText expects
a non-const pointer.
Additionally, NotifyInfo should already be declared in notify.h.
11 years ago
Joseph Davies
58d79679d3
Use std math functions in Max plugin.
...
VS12 provides math functions which were conflicting with ones defined
in texutil.h. This removes the reliance on texutil.h and uses the
standard library's math in its place.
11 years ago
Adam Johnson
8ed43ca9ab
Merge pull request #405 from dpogue/readme
...
Update README and add prepare_env scripts.
11 years ago
Darryl Pogue
8ea4f1ffc4
Merge pull request #398 from zrax/expat-utf8
...
Use the UTF-8 version of Expat
11 years ago
Darryl Pogue
14950f4c44
Update README and add prepare_env scripts.
11 years ago
Darryl Pogue
d615f47dc4
Improve clarity of stat/_wstat64 return value.
11 years ago
Darryl Pogue
87e2150948
Remove unneeded register keyword.
...
In modern compilers, the register keyword has no effect. On clang, it
generates warnings.
11 years ago
Darryl Pogue
b66a2ba9e3
Fix an uninitialized value in hsBounds.
11 years ago
Darryl Pogue
5e8d75169c
Use pointers instead of array syntax.
11 years ago
Darryl Pogue
fdd8279c57
Merge pull request #403 from dpogue/coverity_patches
...
Coverity patches
Closes #396 .
11 years ago
Darryl Pogue
e28d5c36b5
Merge pull request #401 from zrax/max_cmake
...
Only try to find the Max SDK if it was requested
11 years ago
Branan Purvine-Riley
9724b8e17b
Fix uninitalized pointer assumed to be null in Listener.XMode console command
11 years ago
Branan Purvine-Riley
ff13a26e8a
Add better error handling to app.event console command
11 years ago
Branan Purvine-Riley
613b001678
Clean up plDistributor max/pl point interop
...
There were two terrible things here:
* Some nasty pointer-based casting
* Storing references to temporaries
Unfortunately, storing addrs of temps was happening through a helper
function, so VS won't warn here. I think I caught all the cases where
those functions were being used wrongly, but I can't be sure until
coverity runs on this commit.
11 years ago
Michael Hansen
7c0c1635ab
Use the UTF-8 version of Expat
11 years ago
Michael Hansen
978edc1423
Only try to find the Max SDK if it was requested (and show the option to try to build it always)
11 years ago
Adam Johnson
9b46e8e739
Merge pull request #397 from zrax/warnings
...
Clean up some warnings, and make the CRT ones more relevant
11 years ago
Michael Hansen
50d16c3d1f
Merge pull request #393 from dpogue/nix-fix
...
*nix fixes
11 years ago
Darryl Pogue
a58fe4653f
Fix a clang warning in plPythonPack.
11 years ago
Darryl Pogue
c8d77714b9
Remove plFileSystem::GetTempFileName.
...
It was unused and on *nix used the deprecated mktemp function.
11 years ago
Darryl Pogue
f5e99ba9a3
Fixes for semaphores on *nix.
11 years ago
Darryl Pogue
5594ce186e
Added link to Roadmap wiki page.
11 years ago
Michael Hansen
a58e9c643c
Clean up some warnings, and make the CRT ones more relevant
11 years ago
Michael Hansen
ccdcd55a6a
Merge pull request #394 from dpogue/mingw-fixes
...
Various MinGW compile fixes.
11 years ago
Darryl Pogue
a1e3fa6faf
Various MinGW compile fixes.
11 years ago
Michael Hansen
a4af9e4243
Merge pull request #391 from Mystler/fix
...
Fix null dereference issue
11 years ago
Florian Meißner
7a59dbae41
I did it wrooong
11 years ago
Adam Johnson
22f1be0542
Merge pull request #387 from Hoikas/animFun
...
Animation Things and Stuff
11 years ago
Branan Purvine-Riley
cc6e92b20a
Merge pull request #385 from Hoikas/patch-phailure
...
Fix some plUruLauncher Probz
11 years ago
Adam Johnson
fc06d95858
Merge pull request #388 from Hoikas/leaks
...
Fix some leaks revealed by Coverity
11 years ago
Adam Johnson
97cff0e8a9
Merge pull request #389 from Mystler/plAvatar
...
Fixes for plAvatar
11 years ago
Florian Meißner
cedc2482e3
Fixes for plAvatar
11 years ago
Michael Hansen
3d1bcf1988
Whoops-a-birdy
11 years ago
Adam Johnson
5d919f6d28
Fix leak in GetLinkToCity
11 years ago
Adam Johnson
9e6200507b
Fix potential leak in OfferLinkToPlayer
11 years ago
Adam Johnson
571bdbab01
Fix leak in GetLinkToMyNeighborhood
...
pyAgeLinkStruct copies the plAgeLinkStruct, so we can create our initial
ALS on the stack and avoid crazy memory logic.
11 years ago
Adam Johnson
febc871e52
Fix HGLOBAL leak in plClipboard
11 years ago
Michael Hansen
05567a2881
Help Coverity figure out how auto string sizes work, and fix 64-bit
...
portability at the same time
11 years ago
Adam Johnson
acb980332f
Fix plMouseDevice crash
...
plMouseDevice::HideCursor can crash if it is called before the cursor is
created. This happens if the client pops up a disconnected dialog before
initialization is complete. I've seen it happen!
11 years ago
Adam Johnson
37948af058
Merge pull request #382 from zrax/ReadSafeString_plString
...
Get rid of hsStream::ReadSafe(W)String(Long)_TEMP
11 years ago
Michael Hansen
387e23061a
Minor changes to hash and hash_i to avoid making a copy of the string data
11 years ago
Adam Johnson
9e0330feea
Plate resource plString
11 years ago
Adam Johnson
b10795b9cb
Convert plClientResMgr to plString
...
DIE std::string DIE!!!
11 years ago