2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00
Commit Graph

206 Commits

Author SHA1 Message Date
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
75793e5182 Manual merge of Pull Request #232 from zrax/plString
Conflicts:
	Sources/Plasma/CoreLib/HeadSpin.h
2012-12-20 17:22:31 -05:00
66038d4fc2 Merge pull request #231 from dpogue/fixes
Linux fixes
2012-12-19 16:38:23 -08:00
e0e141fd01 Move Python string helper to the correct location 2012-12-18 18:01:56 -08:00
e9835eda57 Add more functionality to the bink stubs to make them behave more like the previous implementation did when built without BINK_SDK_AVAILABLE.
In particular, the intro movie now exits immediately again rather than staying indefinitely.

The important difference is to send the completion callback in plBinkPlayer::NextFrame(), i.e. act as if we had reached the end of the movie.

Storing the filename is to keep plClient::IHandleMovieMsg() from deleting and recreating the plBinkPlayer on every message.

The changed return values are just to better match the previous behavior and probably don’t matter.
2012-12-18 15:49:41 +01:00
5f53ada44d stub out plClient Bink support 2012-12-15 23:58:34 -05:00
64214e1a7b Corrections as proposed by @branan. 2012-12-15 18:23:33 -08:00
4221b57baa Fix a whole bunch of clang warnings. 2012-12-15 16:46:20 -08:00
9f276e2c57 Add support for Visual Leak Detector, since valgrind doesn't support MSVC 2012-12-13 02:07:53 -08:00
49dfb4e546 Convert SDL (mostly) to plStrings 2012-12-13 02:06:41 -08:00
165e79fa64 Throw out more error string concating 2012-11-28 20:36:37 -05:00
1bada0dfa2 Fixup tree dumping
Remove unnesecary conversions and string concats in the tree->log dumping
code.
2012-11-28 19:55:56 -05:00
d2b4a64409 Remove some std::wstring concating
Replace a weird error string stack with direct calls to the
LocalizationMgr log and its associated formatting helper. In cases where
indirection was needed, plString was introduced. This makes the code
cleaner and faster.
2012-11-28 19:25:07 -05:00
4ee424df34 Merge pull request #226 from Hoikas/no-encryption
Deprecate WDYS Encryption
2012-11-27 17:28:09 -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
b987f9719c Remove log and init file encryption.
This fixes issue #123, and is supposed to get rid of encryption for the status logs and the init files loaded at startup.
2012-11-12 20:48:05 -05: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
8fc79f280c Remove Python.RunFile 2012-10-02 19:26:09 +02:00
bc3c409094 Merge pull request #217 from Hoikas/hdr-cleanup
Header Cleanups
2012-08-13 17:20:01 -07:00
27ab9ef129 Display SO name in spawn list 2012-07-25 21:06:44 +02:00
a709e17069 Obliterate hsBool 2012-07-14 18:46:27 -04:00
5f78b33db4 Remove hsRand--we have rand support in the Cstdlib 2012-07-11 09:46:20 -04:00
f0af98b0a7 Toss lots of custom CString code
We already have a C standard library, so let's not reimplement it.
2012-07-11 09:46:20 -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
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