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

374 Commits

Author SHA1 Message Date
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
5a93553651 Merge pull request #208 from Hoikas/deadweight
Remove Junk
2012-06-10 10:06:32 -07:00
1a5606e05c Remove obsolete components 2012-06-10 12:59:28 -04:00
c3eb5300df Merge pull request #206 from Hoikas/quabs
Engine fixes for AhnyQuabs
2012-06-10 09:50:25 -07:00
95e1fe34b8 Remove unused dead weight CSR and SimpleNet code 2012-06-09 18:45:34 -04: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
4c851fa640 Fix console documentation. 2012-05-08 07:41:46 -04:00
081a766e67 Merge pull request #197 from Deledrius/l10n_fixes_iterators
Fix crashes caused by poor iterator usage in pfLocalizationDataMgr.
2012-04-20 18:58:23 -07:00
155e75479b Fix memory leak from copied string pointer in LocalizationDatabase. 2012-04-20 18:49:46 -07:00
6cf0898bc1 Make Localization log message more useful. 2012-04-20 18:49:35 -07:00
a305f61748 Fix crashes caused by poor iterator usage. 2012-04-18 11:12:44 -07:00
389d3c1802 Fix deadlock if plCrashHandler is not running
Only wait for the crash server to do its job if it's attached. Silent
failures are evil, but it's better than hanging forever.
2012-04-17 16:03:41 -04:00
151657a9f2 Fix zombie plCrashHandler issues
Win32 HACK: We wait on both the pfCrashCli handle and the crashed semaphore.
This way, we can proceed to exit pfCrashSrv when the client process exits
insanely.
2012-04-17 15:59:14 -04:00
b5f70c4a53 Merge pull request #183 from Hoikas/score-rewrite
GameScore Rewrite
2012-04-15 14:10:47 -07:00
670576bf67 Merge pull request #184 from Hoikas/minidump
Improved Crash Handling
2012-04-15 14:08:20 -07:00
db2f4a0bf1 Merge pull request #194 from Hoikas/physx
Redo some PhysX Hacks
2012-04-15 14:04:51 -07: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
bbdc5cd0bb Implement new pfGameScore class and friends
pfGameScore will call you back on actions that require server ops. Also, we
ref count the score instead of using some weird hashtable manager class
because the server never actually tells us if someone else changes the
score.
2012-04-14 22:25:49 -04:00
e0cd86bfc1 Convert PyString_*Ex functions over to plString 2012-04-14 22:25:48 -04:00
8d36a0d028 Closes #182 -- dpogue/kill_utils
Conflicts:
	Sources/Plasma/Apps/plClient/winmain.cpp
2012-04-14 19:34:07 -04:00
d2a1350e8b Real camera fixes
Corrects popping issues in Kemo but doesn't screw up Teledahn at the same
time... Magical special casing :(
2012-04-12 21:52:04 -04:00
cba9f459e8 Revert "Disallow duplicate camera pushes"
This reverts commit e32fb9b9e248b03b8715904b9a4c0c70b1309cc1, which
introduced camera region bugs
2012-04-12 21:51:12 -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
5fa14466c8 Eradicate pfStackTrace 2012-04-06 02:31:49 -04:00
14279794f7 Implement pfCrashHandler
pfCrashHandler includes a client that watches plClient for crashes. When
it detects a crash, it lets the plCrashSrv (plCrashHandler.exe) know about
it. We then produce a mninidump, then signal the client that it's OK to
show a crash dialog. See http://www.nynaeve.net/?p=128 for a good
explanation of why I split the crash logic into another process.
2012-04-06 02:29:21 -04: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
3ba721711e Completely kill pnUtAddr and NetAddress. 2012-03-26 21:49:10 -07:00
3ea3473d13 Get rid of pnUtW32Addr and make IP strings char*s.
IP addresses don't need to be unicode.
pnUtAddr is still around until we replace all NetAddress uses with
plNetAddress (they are typedef'ed to each other right now).
2012-03-26 21:27:55 -07: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
6039d62bc2 Implement progress failures
I took the liberty to improve the obvious failure cases where a red progress
bar would be useful.
2012-03-20 01:14:06 -04:00
4737e791cb Remove almost all uses of NetAddress.
This probably has a bunch of bugs because of Network Order/Host Order
issues. If we intend to actually support BE architectures, these
problems are going to get much much worse :(
2012-03-12 21:59:10 -07:00
87f050b55e Get rid of one hashtable in pfGameMgr. 2012-03-11 00:02:20 -08:00
9137df7763 Merge pull request #173 from Hoikas/time
Time Fixes
2012-03-09 20:34:10 -08: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
1a59bcd1a0 Engine part of chat name completion 2012-03-02 09:52:54 +01:00
860bba92fb Tiny fix, marginally related to rest of stuff 2012-03-02 09:30:06 +01:00
a753532f77 Merge pull request #168 from boq/clipboard
Basic clipboard functionality
2012-03-01 21:07:49 -08:00
7295a38386 We now filter WM_CHARs containing control codes, so ignoring them in gui code is useless (even harmful) 2012-02-28 09:51:08 +01:00
d8dd19e093 Basic clipboard functionality 2012-02-27 21:24:08 +01:00
5bd22e1912 Filter WM_CHAR messages with control characters. Fix multiline edit input for keyboard layouts using alt key 2012-02-27 20:29:10 +01:00
8c345dac3d Take this opportunity to vector-ize plVirtualCam1 2012-02-24 22:31:10 -05:00
8deeb6831a Disallow duplicate camera pushes 2012-02-23 18:39:55 -05:00
0f68e5ae13 These got missed... 2012-02-18 02:49:55 -05:00