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

260 Commits

Author SHA1 Message Date
9d67b96837 Fix some errors and warnings when compiling with Clang 2014-08-09 12:19:14 -07:00
474b54396b Reintroduce (and enforce use of) hsLockFor{Reading,Writing} 2014-07-26 13:05:43 -07:00
b774548066 Simplify plDispatch mutexes a bit 2014-07-26 11:07:05 -07:00
2947acb2c8 Replace hsMutex with std::mutex 2014-07-25 23:39:53 -07:00
a82c110a9a Merge pull request #438 from zrax/plFormat_stream
Switch plFormat's accumulator to a plStringStream for better performance
2014-07-15 21:48:54 -04:00
d27f102166 Merge pull request #437 from zrax/hsRef
Clean up ref-counting
2014-07-15 21:33:18 -04:00
f5b2bddbb2 Always use hsTimer for profile stats.
This fixes the weird flickering and inaccurate numbers that were showing up on Windows.
2014-06-28 21:39:17 -07:00
a0da984cdc Work towards killing TimeGetMs.
Only remaining uses are in pnAsyncCore stuff, and I'm not touching that
until the std::thread merge is figured out.
2014-06-28 18:14:27 -07:00
a3ae4201a2 Template-ize hsTimer return values. 2014-06-28 18:14:26 -07:00
5b0652cb7e std::chrono-ize hsTimer. 2014-06-28 18:14:24 -07:00
6fb7090eed Remove unused pnUtTime functions. 2014-06-28 18:14:23 -07:00
f93b37e152 Switch plFormat's accumulator to a plStringStream for better performance 2014-06-04 19:35:30 -07:00
aee2f7f7ca Make hsRefCnt atomic, and merge with hsAtomicRefCnt 2014-06-01 13:34:19 -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