6fb7090eed
Remove unused pnUtTime functions.
2014-06-28 18:14:23 -07:00
5c6b6bbc7c
Fix the rest of the plString::Format calls
2014-05-28 18:49:50 -07:00
48ca0fde19
More plFormat -- some may make minor changes to certain debug output
...
(mostly regarding bools)
2014-05-28 18:10:25 -07:00
1debf8180b
Convert many of the now-deprecated plString::Format calls to plFormat
2014-05-28 18:10:24 -07:00
d8c3769143
Fix it for standards-complient compilers (GCC/Clang).
...
Unfortunately, this means that all formatters must be declared in the
same place now, as they must be declared BEFORE the template which uses
them is declared (not just before it was instantiated, which MSVC allows).
2014-05-22 19:49:07 -07:00
2048b641d3
Take advantage of some custom formatter shortcuts
2014-05-19 18:12:48 -07:00
34b2eb1836
More std::atomic and friends
2014-05-18 11:19:55 -07:00
23a071860e
pnUtRef started at zero refs instead of one, and this is simpler
...
than finding and removing all the extra Ref() calls.
2014-05-18 11:19:55 -07:00
d713a13dbe
Merge pnUtRef with hsRefCnt, and remove the former
2014-05-18 11:19:52 -07:00
a3d90948b7
Fix some coverity and style issues in pnEncryption.
2014-05-11 14:40:24 -07:00
4e35dbf528
Fix ConsoleTrigger memory leak
2014-05-03 16:24:58 -04: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
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
37948af058
Merge pull request #382 from zrax/ReadSafeString_plString
...
Get rid of hsStream::ReadSafe(W)String(Long)_TEMP
2014-01-21 15:29:40 -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
ef04cfcf84
Age Link info names => plString
2014-01-21 15:21:22 -08:00
b0bffa0b5d
Allow setting the G values for the servers in the server.ini
...
Setting these values is optional. If they are not set in the ini file, default values will be used. This way, we don't have to change all our ini files.
2014-01-19 10:06:33 +01:00
0c1783b2f3
plGenericVar => plString
...
- Also fixes a bug in plGenericType::CopyFrom, where doubles would get
only half copied (and therefore become corrupt)
2014-01-12 13:08:25 -08:00
a783642515
Python file names and SynchedObj SDL state names => plString
2014-01-12 13:08:25 -08:00
ec70590c5b
proVariableEventData name => plString
2014-01-10 10:11:57 -08:00
88a60f04f6
Inline plKey::operator==
2013-12-20 21:15:03 -05:00
7ca81ba626
Implement a plLoadClothingMsg as a clone loading trigger
2013-12-11 20:39:13 +01:00
7f3ba3b106
Required link libraries for pnNetCommon.
...
Allows it to build and link properly under gcc/clang.
2013-12-07 16:40:10 -08:00
3299267976
Integrate SecurePreloader into pfPatcher
2013-11-28 15:14:45 -05:00
c3ce9a07ab
Another decimal place in the profiling display
...
And Hoikas said, "I cannot tell a difference in the skinning times on my
not-crappy computer with only a tenth of a millisecond resolution." So we
now have hundredth of a millisecond in the profiling display. These are
the kinds of problems you have when developing with a machine that doesn't
suck. It would be nice if players didn't try to run the game on machines
from before the exctinction event that ended the Permian era.
2013-06-12 17:31:35 -04:00
09f9380073
Only validate FixedKeys in debug builds
2013-05-24 17:34:38 -04:00
1142d8d340
RefreshFOV camera command
2013-02-25 19:53:25 -05:00
9e8131f73b
Fix return values for Read_LCS & Write_LCS.
2013-02-20 21:30:37 -08:00
2a578d3d35
Fix 64-bit *nix compilation of pnNetProtocol.
2013-02-09 22:20:58 -08:00
e4af3aff16
time.h -> ctime
2013-01-28 23:28:06 -08:00
b01aab4a39
Standardize on C++ headers.
...
Also removes a bunch of duplicate #includes of stuff that's already
pulled in by HeadSpin.h.
2013-01-28 23:15:54 -08:00
8f67596686
Merge pull request #275 from zrax/file-utils
...
Unify filesystem utilities
2013-01-22 16:27:26 -08:00
cc54fb07be
Finish deprecation of pnUtPath
2013-01-21 14:48:31 -08:00
6e564476b7
Deprecate plFileUtils and parts of pnUtPath
2013-01-21 14:48:28 -08:00
f86b549293
Re-define nil as nullptr, cleaning up some potential issues along the way
2013-01-20 21:12:13 -08:00
f664e8b9f5
Refactor RegistryKeyList
...
This is in preparation for page patching. The old code kept dynamic
(programatically created) and serialized keys separate. This had the
potential to reorder the key list during the application of a patch.
This is separate from the prp-patches branch to facillitate review.
2013-01-19 20:25:47 -05:00
6f6ade2636
Replace hsStream::Open duplicated methods everywhere with a single plFileName interface
2013-01-19 14:21:49 -08:00
5162341852
Re-add CoreLib as a library to pnEncryption.
2013-01-18 22:17:41 -08:00
795babd6aa
Fix issues from review
...
- Delete the TypeFilter pointers
2013-01-18 17:22:17 -05:00
b4f6ccaa88
Fix the "Crash on Exit" bug
...
We were throwing away the Dispatcher before all the keys (namely, leaked
keys) were unloaded. See the comment in plResManager for more details.
2013-01-18 17:20:13 -05:00
f980f022dd
Replace pnProduct with a (very) thin CoreLib plProduct wrapper around CMake-defined product ID values
2013-01-17 01:14:45 -08:00
58a8034eb7
Fixes from review by @Hoikas
2013-01-05 20:04:55 -08:00
2382cebd11
Fix some plString vararg parameters in normally-disabled code
2013-01-05 19:08:15 -08:00
ca916fee49
Add proper member access control to NetVaultNode
2013-01-05 19:00:58 -08:00
5f4f9b9f5f
Fix vault node data leak when field content flags are set but not flagged
2013-01-05 19:00:57 -08:00
abbbfc12d7
Plug some simple leaks detected during startup
2013-01-05 19:00:56 -08:00
bc0d04da48
Deprecate and remove NEWZERO macro
2013-01-05 18:33:47 -08:00
a8126757f8
Fixes pointed out by @zrax and @hoikas .
2013-01-05 14:08:08 -08:00
6681b1d596
Fix a cast error and check UUID size.
2013-01-04 22:30:46 -08:00