2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 14:37:41 +00:00
Commit Graph

120 Commits

Author SHA1 Message Date
74e06e3984 Deprecate and remove hsStlSortUtils 2013-01-01 21:35:11 -08:00
8158a43dfe Fully remove hsStlUtils, as it is now completely unused 2013-01-01 21:35:11 -08:00
60021923a2 Deprecate and remove xtl::format in favor of plString::Format 2013-01-01 21:35:10 -08:00
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
2013-01-01 21:35:10 -08:00
d40e7a5ca5 Move file stuff back to plFile for gcc. 2013-01-01 21:05:32 -08:00
3f79d69463 Merge pull request #238 from Hoikas/hdr-work
More Header Cleanups
2013-01-01 15:38:25 -08:00
8091fffa1d Use plString in PtGetCameraNumber() 2012-12-26 18:46:47 -05:00
e86d3a7658 Fix crash in PtGetCameraNumber() 2012-12-26 18:44:24 -05:00
3d15f529aa Merge pull request #230 from Hoikas/physx
PhysX Cleanup (forward port from OU)
2012-12-25 19:46:12 -08:00
cac3968d13 Merge pull request #234 from Hoikas/sdl-isused
pySimpleStateVariable IsUsed Binding
2012-12-25 19:45:36 -08:00
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.
2012-12-22 17:16:05 -05:00
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.
2012-12-22 17:15:14 -05:00
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.
2012-12-21 23:08:05 -05:00
a76cb3f18d Merge pull request #233 from Hoikas/py_system_error
Fix Scary SystemErrors
2012-12-20 20:23:41 -08:00
e0e141fd01 Move Python string helper to the correct location 2012-12-18 18:01:56 -08:00
6ec219009c Add isUsed bindings to pySimpleStateVariable
This lets python scripts determine if variables in SDL blobs are used (at
the default).
2012-12-16 00:26:35 -05:00
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.
2012-12-15 23:41:12 -05:00
49dfb4e546 Convert SDL (mostly) to plStrings 2012-12-13 02:06:41 -08:00
2232f12378 Merge pull request #222 from Lyrositor/scroll-position
Add functions to fix KI Chat scrolling issue.
2012-11-18 10:16:04 -08:00
c68724765b Some minor cleanup for readability 2012-11-13 20:05:04 -08:00
b219c3c3cc Alright, this _TEMP_CONVERT_ stuff was a stupid idea 2012-11-13 18:40:13 -08:00
075c535e2c Some cleanup and a vararg plString usage fix 2012-11-12 22:58:15 -08:00
9cc3f404af Add Short-String Optimization to plString 2012-11-12 19:06:53 -08:00
041b1985e4 Fix paths and move GetSecureEncryptionKey so things compile again 2012-11-12 18:31:07 -08:00
6b667fcaec Re-add file needed for precompiled headers to work 2012-11-11 23:31:45 -08:00
3c2a8c66e7 Remove more empty source files 2012-11-11 23:00:24 -08:00
40d5e2e867 Fix some noteworthy warnings (mostly hsBool->bool incompatibility) and missing headers 2012-11-11 22:34:05 -08:00
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.
2012-11-08 11:06:12 -05:00
2531dba66c Make Python.Cheat little bit safer 2012-10-02 19:26:10 +02:00
a709e17069 Obliterate hsBool 2012-07-14 18:46:27 -04:00
d690df1064 Add pyMatrix and pyGeometry to pfPython PCH
This also includes some header debloat and const/reference fixes
(particularly in pyMatrix44). This will result in the generation of
slightly more efficient code.
2012-06-16 23:05:57 -04:00
d43073949b Precompiled Headers for pfPython
Also did some work on decreasing header bloat. No promises on a complete
job--this was just enough to allow PCH to actually help us out (and boy
does it!)

With an Intel Core 2 Duo (4GB DDR2 800)
With PCH: 50.51 seconds
Without:  4 minutes, 17.14 seconds

:D
2012-06-16 23:05:56 -04:00
c3eb5300df Merge pull request #206 from Hoikas/quabs
Engine fixes for AhnyQuabs
2012-06-10 09:50:25 -07:00
b6f97dae0f Merge pull request #192 from boq/notify_int
Allow plNotify variable events to carry integers in addition to floats.

We can finally merge with the release of Cyan MOULa 912.
2012-06-01 13:43:33 -07:00
1252df83e1 Ensure that OnServerInitComplete is always executed 2012-05-12 20:49:30 -04:00
5cf540b424 Updates to the Python API
Throw away some stupid stuff and make things slightly easier to use...
2012-05-12 20:49:26 -04:00
3b69a4aee3 Track NPC clones
Manual state management in python was kind of fiddly, so let's track all
avatar clones in the NetApp and unload them as needed. This also seems to
fix a potential bug in plNPCSpawnMod (is that even used?).
2012-05-12 20:49:18 -04:00
ae28963572 Python glue for the new pfGameScore
Remove useless pyScoreMgr and use static methods on pyGameScore that call us
back via OnGameScore()
2012-04-14 23:00:40 -04:00
8e79583717 Add some Python Helpers
We can now convert plString to PyUnicode objects and have static methods
with variable arguments and variable keyword arguments
2012-04-14 22:25:49 -04:00
e0cd86bfc1 Convert PyString_*Ex functions over to plString 2012-04-14 22:25:48 -04:00
89ec0aa33b Also handle Python long integers in addVarNumber. 2012-04-10 22:29:18 +02:00
82e4c81303 Differentiate between float and int types in plNotify 2012-04-10 22:26:56 +02:00
c70bb776ba Merge pull request #181 from Hoikas/taskbar
Taskbar Stuff
2012-04-05 23:18:34 -07:00
3c73b9f694 Fix KI daylight saving time calculation.
The previous implementation had the following bugs:
- DST was truncated to end of October
- DST start was off by one week in years where March 1st is a Monday
- DST start was off by one second (1:59:59 -> 2:00:00 -> 3:00:01 instead of the correct 1:59:59 -> 3:00:00 -> 3:00:01)

Tested against tzdata 2009g.
2012-03-30 21:53:15 +02:00
5beda0ab87 Implement client window flashing
This will be used in python to grab the player's attention on PMs or other
interesting events.
2012-03-20 21:00:59 -04:00
69970aba43 Fix the George W. Bush bug
Fix the DST hack to use the correct dates in post-2006 US and Canada. I
unfortunately could not find a decent cross-platform way to do this.
2012-03-06 21:04:06 -05:00
40933d6612 Merge pull request #144 from Deledrius/vault_png
More PNG support (Vault and Python)
2012-02-13 08:52:17 -08:00
3e15b5d318 Fixed memory leak, plString is nice 2012-02-13 01:36:50 -08:00
c9b4c0a92d NewKey can take a plString, so no need to convert to const char* 2012-02-12 04:18:24 -05:00
404cd09f1c Move plEncryption to pnEncryption.
--HG--
rename : Sources/Plasma/PubUtilLib/plEncryption/plChecksum.cpp => Sources/Plasma/NucleusLib/pnEncryption/plChecksum.cpp
rename : Sources/Plasma/PubUtilLib/plEncryption/plChecksum.h => Sources/Plasma/NucleusLib/pnEncryption/plChecksum.h
2012-02-11 23:14:11 -08:00