Adam Johnson
38f5e6ea0a
Implement Hor+ FOVs
12 years ago
Christopher Schmidt
20de71cef8
add PtGetNPCCount function to python API
12 years ago
Christopher Schmidt
41001cbaa3
add PtGetNPCByID function for Python
...
This function returns the real SceneObject of the NPC, so it can be customized by Python.
12 years ago
Adam Johnson
20c52b661f
Play the link-in sound by default
12 years ago
Adam Johnson
0699490e5a
Don't dereference a null pointer
12 years ago
Darryl Pogue
e4af3aff16
time.h -> ctime
12 years ago
Adam Johnson
7888cf7010
Remove redundant bitfield
12 years ago
Adam Johnson
07ddec2f79
Expose to python
12 years ago
Michael Hansen
2c028c4b07
Remove hsFiles in favor of plFilesystem stuff
12 years ago
Michael Hansen
6e564476b7
Deprecate plFileUtils and parts of pnUtPath
12 years ago
Michael Hansen
f86b549293
Re-define nil as nullptr, cleaning up some potential issues along the way
12 years ago
Michael Hansen
767b0622d9
More efficient form for PyString_AsStringEx
12 years ago
Michael Hansen
6f6ade2636
Replace hsStream::Open duplicated methods everywhere with a single plFileName interface
12 years ago
Michael Hansen
f980f022dd
Replace pnProduct with a (very) thin CoreLib plProduct wrapper around CMake-defined product ID values
12 years ago
Joseph Davies
a2dd2f60d2
Condense string conversion in Python glue.
...
Adds fixes from code review.
12 years ago
Joseph Davies
14632eecee
Use plString in pfLocalizationMgr - Part 2
...
More clean-up and adjustments to use plString in pfLocalizationMgr
and associated classes.
12 years ago
Darryl Pogue
c77cb10c20
Move plJPEG into plGImage.
...
This matches what was done for plPNG.
12 years ago
Michael Hansen
2382cebd11
Fix some plString vararg parameters in normally-disabled code
12 years ago
Michael Hansen
ca916fee49
Add proper member access control to NetVaultNode
12 years ago
Michael Hansen
bc0d04da48
Deprecate and remove NEWZERO macro
12 years ago
Darryl Pogue
a8126757f8
Fixes pointed out by @zrax and @hoikas .
12 years ago
Michael Hansen
f455ee25ec
Fixes for UUID compilation on Windows.
12 years ago
Darryl Pogue
bcf6e97d23
Replace Uuid with plUUID EVERYWHERE.
12 years ago
Darryl Pogue
a0641ba66b
Clean up for Python interface stuff.
12 years ago
Darryl Pogue
274812c057
Remove all uses of GuidToString.
12 years ago
Darryl Pogue
fd8541e18d
Get rid of GuidGenerate calls.
12 years ago
Michael Hansen
74e06e3984
Deprecate and remove hsStlSortUtils
12 years ago
Michael Hansen
8158a43dfe
Fully remove hsStlUtils, as it is now completely unused
12 years ago
Michael Hansen
60021923a2
Deprecate and remove xtl::format in favor of plString::Format
12 years ago
Michael Hansen
f510b529f8
Remove unused headers from hsStlUtils.h (and push them downstream where needed)
...
Also fix a couple of plString and header issues identified by Paradox on GCC/Clang
12 years ago
Darryl Pogue
d40e7a5ca5
Move file stuff back to plFile for gcc.
12 years ago
Adam Johnson
8091fffa1d
Use plString in PtGetCameraNumber()
12 years ago
Adam Johnson
e86d3a7658
Fix crash in PtGetCameraNumber()
12 years ago
Adam Johnson
3ea82ca589
Be smarter about Pch.[h|cpp] files
...
As pointed out in #225 , Pch.cpp looks suspiciously like a garbage file
when precompiled headers are disabled in cmake. To solve that, I have
changed the precompiled header function to add the Pch source files only
when pch is enabled. This should prevent future accidents.
12 years ago
Adam Johnson
7785c9c85e
Remove global Windows.h include
...
This is the beginning of efforts to reduce the scope of Windows.h. I have
shuttled it into hsWindows.h (again) and fixed the compilation of the
major apps. There is still some scope work that needs to be done, and the
Max plugin has not yet been addressed.
12 years ago
Skoader
769cd60617
Refactor avatar movement code
...
plMovementStrategy classes have been reworked and completely replace all plAvatarControllers.
While based on the old implementation, plPhysicalControllerCore has essentially been rewritten.
Remnants of long gone physical "actions" have been removed.
4 files removed -
plAVCallbackAction.h & plAVCallbackAction.cpp
plAntiGravAction.h & plAntiGravAction.cpp
This revision will not compile, requires new plPXPhysicalControllerCore implementation.
12 years ago
Michael Hansen
e0e141fd01
Move Python string helper to the correct location
12 years ago
Adam Johnson
6ec219009c
Add isUsed bindings to pySimpleStateVariable
...
This lets python scripts determine if variables in SDL blobs are used (at
the default).
12 years ago
Adam Johnson
c13a12c58e
Fix those scary SystemErrors we see in DS
...
As it turns out, my old OnServerInitComplete fix didn't check to see if
the script had an OnServerInitComplete method. So, when we called that
method-of-doom from C++, we'd see a SystemError. Aside from removing an
error message, this probably has no effect.
12 years ago
Michael Hansen
49dfb4e546
Convert SDL (mostly) to plStrings
12 years ago
Michael Hansen
c68724765b
Some minor cleanup for readability
12 years ago
Michael Hansen
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
12 years ago
Michael Hansen
075c535e2c
Some cleanup and a vararg plString usage fix
12 years ago
Michael Hansen
9cc3f404af
Add Short-String Optimization to plString
12 years ago
Michael Hansen
041b1985e4
Fix paths and move GetSecureEncryptionKey so things compile again
12 years ago
Michael Hansen
6b667fcaec
Re-add file needed for precompiled headers to work
12 years ago
Michael Hansen
3c2a8c66e7
Remove more empty source files
12 years ago
Michael Hansen
40d5e2e867
Fix some noteworthy warnings (mostly hsBool->bool incompatibility) and missing headers
12 years ago
Lyrositor
364de3a317
Add functions to fix KI Chat scrolling issue.
...
Fixes #180 (if combined with the moul-scripts commit). These two Python/Plasma functions are used in the moul-scripts fix for the scrolling KI Chat issue.
12 years ago
Bartek Bok
2531dba66c
Make Python.Cheat little bit safer
12 years ago