Christian Walther
078d59dfa0
Preliminary unit testing setup using Google C++ Testing Framework.
...
Including tests for the fixes of 595d265
and 3c73b9f
.
Conflicts:
CMakeLists.txt
10 years ago
Darryl Pogue
95c52c0912
Rename UniChar to plUniChar to avoid conflict on OSX.
...
OSX defines a UniChar type as part of the OS headers.
10 years ago
Michael Hansen
aee2f7f7ca
Make hsRefCnt atomic, and merge with hsAtomicRefCnt
11 years ago
Michael Hansen
403528a24b
Use hsRef for storage of the remaining vault nodes
11 years ago
Michael Hansen
8fa9171415
Also use hsRef for the vault functions which "return" lists
11 years ago
Michael Hansen
d2a05929f8
Replace most vault *IncRef() API functions with hsRef versions
11 years ago
Michael Hansen
1debf8180b
Convert many of the now-deprecated plString::Format calls to plFormat
11 years ago
Michael Hansen
1a0420127c
Provide some plFormat samples with floats/doubles
11 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.
11 years ago
Adam Johnson
2cc162eecb
plString-ify plPythonSDLModifier
11 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!
11 years ago
Adam Johnson
088cf740a6
pyDynamicMap header tweaks...
...
More spurious virtual keywords removed
11 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.
11 years ago
Adam Johnson
f2dee21063
Nuke std::wstring from plDynamicTextMsg
11 years ago
Michael Hansen
d713a13dbe
Merge pnUtRef with hsRefCnt, and remove the former
11 years ago
Adam Johnson
1ed13e6466
Fix some message leaks in cyCamera
11 years ago
Darryl Pogue
f9129ae82a
Fix const-ness of some pfPython GUI stuff.
11 years ago
Adam Johnson
133098c18e
Fix pyMatrix44 memory leak
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
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
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
Michael Hansen
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 :)
11 years ago
Michael Hansen
ef04cfcf84
Age Link info names => plString
11 years ago
Adam Johnson
f9a72e1a8f
Repeatable emote animations...
...
... It's multistage majick!
11 years ago
Florian Meißner
69e6381736
Implement Co-op animations via Python
11 years ago
Florian Meißner
b6a371f49f
Add animation loop functions to Python
11 years ago
Michael Hansen
ff30c77ddd
plArmatureMod => plString
11 years ago
Michael Hansen
0c1783b2f3
plGenericVar => plString
...
- Also fixes a bug in plGenericType::CopyFrom, where doubles would get
only half copied (and therefore become corrupt)
11 years ago
Michael Hansen
a783642515
Python file names and SynchedObj SDL state names => plString
11 years ago
Michael Hansen
f370c65ad3
GUI List Box items => plString
11 years ago
Michael Hansen
7de24157a5
Avatar Clothing data => plString
11 years ago
Michael Hansen
4987b32574
pfBackdoorMsg => plString
11 years ago
Michael Hansen
ec70590c5b
proVariableEventData name => plString
11 years ago
Michael Hansen
d8113a5ab7
Movie filename in plMovieMsg and plBinkPlayer => plString
11 years ago
Michael Hansen
a931c7ca33
Convert username in pyPlayer and pfKIMsg to a plString
11 years ago
Michael Hansen
56507c5219
Fix several format errors detected via vararg-template voodoo
11 years ago
Florian Meißner
b8ff9ee065
Add clothing file functions to the Avatar Python API
11 years ago
Michael Hansen
324715db9d
Pass message as a unicode object, to avoid encoings getting screwed up
11 years ago
Adam Johnson
e103d0c9d6
Port PtDebugPrint to C++
...
This has a couple of benefits:
- We should theoretically no longer run into UnicodeDecodeErrors from the
plString-based implementation
- By doing things engine side, we can use the logging API to colorize log
messages.
11 years ago
Adam Johnson
52deaff61a
Async pyVaultPlayerInfoList::AddPlayer
...
This fixes the stutter when adding a buddy to the KI. The return value was
never used, according to grep. There is a delay between hitting enter and the player being added, but that's acceptable.
11 years ago
Adam Johnson
139730eaab
Fix pySceneObject::IsHuman
11 years ago
Adam Johnson
dd35878465
Begin killing off sprintf
11 years ago
Bartek Bok
8261074f22
Better object searching
12 years ago
Bartek Bok
57c600ce32
Clone unloading
12 years ago