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

1360 Commits

Author SHA1 Message Date
d15f1557b6 Implement plFormat for floating-point types 2014-05-27 18:31:04 -07:00
a4170aafc4 Merge pull request #429 from zrax/deprecated
Mark plString::Format as deprecated
2014-05-24 22:38:18 -04:00
4b42e387a3 Merge pull request #425 from Hoikas/dyntextmsg-string
pyDynamicMap plString-ification
2014-05-24 19:26:31 -07:00
e331cbd4f7 ASSume that MSVC is the only compiler who uses the __declspec() syntax 2014-05-24 19:25:43 -07:00
688852e658 Put compiler checks in their own cmake module 2014-05-24 18:56:25 -07:00
15728bbfb5 Add an hsDeprecated macro for declaring APIs deprecated 2014-05-24 18:56:25 -07:00
83b8f6c10b Fix invalid sizeof expressions in HeadSpin.cpp 2014-05-24 20:27:39 -04:00
de9fedb4b4 Fix message ref-counting in cyAvatar::RunBehavior
This was potential memory leak AND crash bug, all in one nasty package. I
included a little bit of code cleanup free-of-charge.
2014-05-24 20:27:39 -04:00
2cc162eecb plString-ify plPythonSDLModifier 2014-05-24 19:56:30 -04:00
e08229e2e3 Fix Age.SetSDL commands...
- General code cleanups
- Don't send the entire SDL blob. This is wasteful.
- Actually update the doggone state immediately. Don't screw around!
2014-05-24 19:44:01 -04: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
7d76cae10f Make life simpler. Make life less stupid. Make life work. 2014-05-21 18:26:16 -07:00
a53f425e38 Fixes for plFormat on GCC/Clang:
- int64_t is a typedef of long on Linux/x86_64 -- don't redefine its specialization
- Properly forward-declare the unspecialized variadic template form of _IFormat
2014-05-20 22:27:20 -07:00
c9c7350d36 Merge pull request #420 from zrax/plFormat
plFormat: a type-safe string formatter
2014-05-20 20:49:29 -04:00
69f1e2c511 Merge pull request #413 from zrax/qt_tools
Port GUI Tools to Qt5
2014-05-19 23:23:39 -04:00
088cf740a6 pyDynamicMap header tweaks...
More spurious virtual keywords removed
2014-05-19 21:54:01 -04:00
305308db90 pyDynamicMap plString-ification
We now no longer care if the scripter hands us a string object or a
unicode object! Please note that drawTextW was thrown away because it is
now redundant.
2014-05-19 21:31:37 -04:00
933ae6ec17 Provide some sample conversions to plFormat for testing and copying 2014-05-19 18:12:50 -07:00
2cb19d3308 Oops - bits parameter isn't actually used any more 2014-05-19 18:12:50 -07:00
b199cb5ff0 Add better documentation, and fix some floating point flag stuff 2014-05-19 18:12:49 -07:00
63557352f2 Add support for bool formatting 2014-05-19 18:12:49 -07:00
1baefdd0f2 Properly handle zero 2014-05-19 18:12:48 -07:00
2048b641d3 Take advantage of some custom formatter shortcuts 2014-05-19 18:12:48 -07:00
3f92409a21 Provide implementations of most built-in types (excluding floating point) 2014-05-19 18:12:47 -07:00
ad5bef6671 Add framework for plFormat 2014-05-19 18:12:45 -07:00
f2dee21063 Nuke std::wstring from plDynamicTextMsg 2014-05-19 20:57:24 -04: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
aeb4c27c12 Clean up localization mgr lookups and add some missing mnemonics 2014-05-18 00:02:22 -07:00
d4465a2168 Port plFontConverter to Qt5 2014-05-18 00:02:22 -07:00
b48963b904 Make it compile and work in GCC / Linux 2014-05-18 00:02:22 -07:00
f0ed701d8f Fix pfLocalizationDataMgr's SetElementPlainTextData to work properly
without a database re-load.
2014-05-18 00:02:21 -07:00
e929708a3b Use std::atomic_int for hsSafeRefCnt, and move it to hsRefCnt.h/cpp 2014-05-17 21:30:42 -07:00
bc76f4d760 Fix floating/exploding dynamic physicals
Only put dynamics to sleep if they're at the initial location. This
prevents baskets from exploding on touch by an avatar and should
theoretically make the doggone slave cave kickables activate the pressure
plates.
2014-05-15 19:11:35 -04:00
3fe3a1df1b Merge pull request #414 from Hoikas/moar-crashes
Catch moar crashes...
2014-05-11 23:20:00 -04:00
3b8ad7eabf Merge pull request #415 from Hoikas/coverity
Fix moar leeks
2014-05-11 23:19:53 -04:00
eefa389be1 Merge pull request #417 from dpogue/coverity
Coverity Fixes
2014-05-11 23:19:44 -04:00
a3d90948b7 Fix some coverity and style issues in pnEncryption. 2014-05-11 14:40:24 -07:00
7d104772fd Implement chat history browsing (Client and Python) 2014-05-09 20:40:18 +02:00
d4dbc81522 Fix another book-sharing message leak... 2014-05-05 21:37:15 -04:00
1ed13e6466 Fix some message leaks in cyCamera 2014-05-05 21:33:01 -04:00
426d8e08d7 Catch moar crashes...
... Instead of throwing up a useless VC++ dialog box, actually do our
error handling.
2014-05-05 21:18:28 -04:00
b3d6afc1c1 Can you say KABOOM?
The data is interleaved. If you randomly change it up, OpenAL *will* crash
on you...
2014-05-05 18:11:34 -04: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
f9129ae82a Fix const-ness of some pfPython GUI stuff. 2014-05-04 17:03:50 -07:00
36f9876705 Merge commit 'a1edba6' 2014-05-03 15:42:56 -07:00
f78deb37d3 Fix memory leak in Relto sharing 2014-05-03 16:24:59 -04:00
783f0e9eb1 Fix unlikely plStateDescriptor leak 2014-05-03 16:24:59 -04:00
4e35dbf528 Fix ConsoleTrigger memory leak 2014-05-03 16:24:58 -04:00