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

392 Commits

Author SHA1 Message Date
827ea85af0 Remove some additional usless / unused junk 2014-08-09 12:28:20 -07:00
751d760772 Use standard (f)abs functions 2014-08-09 12:28:20 -07:00
e36220cca5 Use std::min and std::max 2014-08-09 12:28:19 -07:00
9d67b96837 Fix some errors and warnings when compiling with Clang 2014-08-09 12:19:14 -07:00
f83ec34c67 Move the old IPC-based semaphore to hsGlobalSemaphore, and provide a
"normal" (inter-thread only) semaphore class.
2014-07-26 11:09:15 -07:00
2947acb2c8 Replace hsMutex with std::mutex 2014-07-25 23:39:53 -07:00
d27f102166 Merge pull request #437 from zrax/hsRef
Clean up ref-counting
2014-07-15 21:33:18 -04:00
a3ae4201a2 Template-ize hsTimer return values. 2014-06-28 18:14:26 -07:00
f578a42ab1 Merge pull request #423 from Hoikas/agesdl
Fix Age.SetSDL commands
2014-06-05 17:25:11 -04:00
aee2f7f7ca Make hsRefCnt atomic, and merge with hsAtomicRefCnt 2014-06-01 13:34:19 -07:00
403528a24b Use hsRef for storage of the remaining vault nodes 2014-06-01 13:34:17 -07:00
8fa9171415 Also use hsRef for the vault functions which "return" lists 2014-06-01 13:34:16 -07:00
d2a05929f8 Replace most vault *IncRef() API functions with hsRef versions 2014-06-01 13:34:16 -07:00
8b43d46ea5 Use moar stringstreams (where appropriate) 2014-05-28 19:06:18 -07:00
5c6b6bbc7c Fix the rest of the plString::Format calls 2014-05-28 18:49:50 -07:00
1debf8180b Convert many of the now-deprecated plString::Format calls to plFormat 2014-05-28 18:10:24 -07:00
89a9bbb3c4 Merge pull request #431 from zrax/plFormat_float
Add float and double support to plFormat
2014-05-28 18:22:27 -04:00
4035d96095 Crash Fix: normalize filenames in the patcher!
There were two different path separator styles that caused
plResManager::RemoveSinglePage to do nothing when called from the patcher.
D'oh!
2014-05-28 16:17:04 -04:00
1a0420127c Provide some plFormat samples with floats/doubles 2014-05-27 18:31:06 -07:00
4b42e387a3 Merge pull request #425 from Hoikas/dyntextmsg-string
pyDynamicMap plString-ification
2014-05-24 19:26:31 -07: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
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
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
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
f0ed701d8f Fix pfLocalizationDataMgr's SetElementPlainTextData to work properly
without a database re-load.
2014-05-18 00:02:21 -07: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
7d104772fd Implement chat history browsing (Client and Python) 2014-05-09 20:40:18 +02: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
f9129ae82a Fix const-ness of some pfPython GUI stuff. 2014-05-04 17:03:50 -07:00
4e35dbf528 Fix ConsoleTrigger memory leak 2014-05-03 16:24:58 -04:00
133098c18e Fix pyMatrix44 memory leak 2014-05-03 12:56:15 -04:00
5672bcb57e Fix Coverity issues with pfPatcher 2014-04-26 17:21:51 -04:00
3fceb7652c Const getters 2014-04-26 21:14:59 +02:00
e26f479bb5 Make font flags available to Python in PlasmaConstants. 2014-04-26 21:14:58 +02:00
04647a1c98 Fix comment Hoikas 2014-04-26 21:14:57 +02:00
bee6001b78 Fix ptGUIControl.setFontFlags(). 2014-04-26 21:14:56 +02:00
664339a4bd Move methods to pyGUIControl to pyGUIControlTextBox. 2014-04-26 21:14:55 +02:00
4e613d1899 add python api to set flags
Clean up unwanted changes caused by IDE extension -.-

Reworked implementation
2014-04-26 21:14:54 +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
4cd2b2f7dd Fix #303 2014-04-26 21:14:47 +02:00