Michael Hansen
827ea85af0
Remove some additional usless / unused junk
10 years ago
Michael Hansen
751d760772
Use standard (f)abs functions
10 years ago
Michael Hansen
e36220cca5
Use std::min and std::max
10 years ago
Michael Hansen
9d67b96837
Fix some errors and warnings when compiling with Clang
10 years ago
Michael Hansen
f83ec34c67
Move the old IPC-based semaphore to hsGlobalSemaphore, and provide a
...
"normal" (inter-thread only) semaphore class.
10 years ago
Michael Hansen
2947acb2c8
Replace hsMutex with std::mutex
10 years ago
Darryl Pogue
a3ae4201a2
Template-ize hsTimer return values.
10 years ago
Michael Hansen
aee2f7f7ca
Make hsRefCnt atomic, and merge with hsAtomicRefCnt
10 years ago
Michael Hansen
403528a24b
Use hsRef for storage of the remaining vault nodes
10 years ago
Michael Hansen
8fa9171415
Also use hsRef for the vault functions which "return" lists
10 years ago
Michael Hansen
d2a05929f8
Replace most vault *IncRef() API functions with hsRef versions
10 years ago
Michael Hansen
8b43d46ea5
Use moar stringstreams (where appropriate)
10 years ago
Michael Hansen
5c6b6bbc7c
Fix the rest of the plString::Format calls
10 years ago
Michael Hansen
1debf8180b
Convert many of the now-deprecated plString::Format calls to plFormat
10 years ago
Adam Johnson
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!
10 years ago
Michael Hansen
1a0420127c
Provide some plFormat samples with floats/doubles
10 years ago
Adam Johnson
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.
10 years ago
Adam Johnson
2cc162eecb
plString-ify plPythonSDLModifier
10 years ago
Adam Johnson
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!
10 years ago
Adam Johnson
088cf740a6
pyDynamicMap header tweaks...
...
More spurious virtual keywords removed
10 years ago
Adam Johnson
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.
10 years ago
Adam Johnson
f2dee21063
Nuke std::wstring from plDynamicTextMsg
10 years ago
Michael Hansen
34b2eb1836
More std::atomic and friends
10 years ago
Michael Hansen
d713a13dbe
Merge pnUtRef with hsRefCnt, and remove the former
10 years ago
Michael Hansen
aeb4c27c12
Clean up localization mgr lookups and add some missing mnemonics
10 years ago
Michael Hansen
f0ed701d8f
Fix pfLocalizationDataMgr's SetElementPlainTextData to work properly
...
without a database re-load.
10 years ago
Filtik
7d104772fd
Implement chat history browsing (Client and Python)
10 years ago
Adam Johnson
1ed13e6466
Fix some message leaks in cyCamera
10 years ago
Adam Johnson
426d8e08d7
Catch moar crashes...
...
... Instead of throwing up a useless VC++ dialog box, actually do our
error handling.
10 years ago
Darryl Pogue
f9129ae82a
Fix const-ness of some pfPython GUI stuff.
10 years ago
Adam Johnson
4e35dbf528
Fix ConsoleTrigger memory leak
10 years ago
Adam Johnson
133098c18e
Fix pyMatrix44 memory leak
10 years ago
Adam Johnson
5672bcb57e
Fix Coverity issues with pfPatcher
11 years ago
Anne Marije v/d Meer
3fceb7652c
Const getters
11 years ago
Christian Walther
e26f479bb5
Make font flags available to Python in PlasmaConstants.
11 years ago
Anne Marije v/d Meer
04647a1c98
Fix comment Hoikas
11 years ago
Christian Walther
bee6001b78
Fix ptGUIControl.setFontFlags().
11 years ago
Anne Marije v/d Meer
664339a4bd
Move methods to pyGUIControl to pyGUIControlTextBox.
11 years ago
Anne Marije v/d Meer
4e613d1899
add python api to set flags
...
Clean up unwanted changes caused by IDE extension -.-
Reworked implementation
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
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
Michael Hansen
7c0c1635ab
Use the UTF-8 version of Expat
11 years ago
Darryl Pogue
a1e3fa6faf
Various MinGW compile fixes.
11 years ago
Florian Meißner
7a59dbae41
I did it wrooong
11 years ago
Michael Hansen
3d1bcf1988
Whoops-a-birdy
11 years ago
Adam Johnson
5d919f6d28
Fix leak in GetLinkToCity
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