1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-19 11:49:09 +00:00
Commit Graph

1421 Commits

Author SHA1 Message Date
ec70590c5b proVariableEventData name => plString 2014-01-10 10:11:57 -08:00
5b6b886b55 Clean up DisplaySystemVersion() to avoid hsStrcpy, and add Windows 8.1
to the known versions decoder.
2014-01-10 10:11:50 -08:00
82029b56ff pfGameGUIMsg => plString 2014-01-09 22:20:58 -08:00
d8113a5ab7 Movie filename in plMovieMsg and plBinkPlayer => plString 2014-01-09 22:20:51 -08:00
611b9a09c2 plCloneSpawnModifier template name => plString 2014-01-09 21:48:21 -08:00
829277bcc4 Convert plLoadAgeMsg's age filename to a plString 2014-01-09 21:48:14 -08:00
8323758d33 Cleanup: Don't pass a writable scratch buffer off to dozens of virtual
functions -- that's just silly!
2014-01-09 21:48:05 -08:00
b865e8c9f2 Convert anim name in plAnimStage to a plString 2014-01-09 21:47:57 -08:00
0d53e4e0ec Convert plDXShader's error string to a plString, and do some cleanup 2014-01-09 21:47:46 -08:00
a931c7ca33 Convert username in pyPlayer and pfKIMsg to a plString 2014-01-09 21:44:06 -08:00
71a36424de Merge pull request #379 from zrax/maxmain_compile
Fix some MaxMain compile failures introduced by Hoikas' recent cleanup
2014-01-09 19:06:50 -08:00
853bcbd9d6 Fix some MaxMain compile failures introduced by Hoikas' recent cleanup 2014-01-09 18:55:43 -08:00
8cedb69e9e Fix some invalid heap ops found by Dr Memory 2014-01-07 22:54:21 -05:00
a5758f91c6 Merge pull request #377 from Hoikas/max-symbols
Fix Max Plugin Linker Warnings
2014-01-05 21:36:10 -08:00
ec96fbe600 Merge pull request #378 from Hoikas/invisible-mats
Fix #365
2014-01-05 20:27:02 -08:00
e48a4767cf Fix #365
plRegistryKeyList::Read assumed that plUoid object IDs are always
sequential. This is not the case since f664e8b resulted in all keys
getting an ID. The problem manifested itself here because there were
temporary materials that were being created and thrown away, causing
object ID gaps.
2014-01-05 23:23:04 -05:00
3c7b6ccb6b Merge pull request #374 from Hoikas/max-plugin
Moar 3ds Max
2014-01-04 15:52:56 -08:00
4f3cb61d96 Toss useless redefinition. 2014-01-03 19:14:33 -05:00
457f1ef5f6 The exporter is a single DLL.
So we don't need to __declspec(dllimport) ANYTHING. This stops more linker
warnings.
2014-01-03 19:12:25 -05:00
129d21c4f9 Remove duplicated plPickNode code
This fixes some of the "multiple definition of symbol" warnings we get
from the linker. I checked this against the OU AllDlls solution and
deleted the version not present in it.
2014-01-03 19:06:05 -05:00
b8d0b9ab8b Fix external release builds.
Due to a complicated set of circumstances, this was the problem that
caused console key input eating on Gehn. Always remember kids, ifdef
include hackery is teh ebils.
2013-12-29 17:45:38 -05:00
85d64926d2 Don't do work in DllMain.
If you don't know why I did this, please Google why you should never do
work in DllMain.
2013-12-24 16:28:21 -05:00
a4b1c53ea3 Stubify MaxFileData
So, yeah, this blows away MaxSceneViewer. We're never going to get around
to fixing that. In exchange for this massive code explosion, you get a
free MaxFileData stub type thing. It keeps all the data just so we don't
blow up Cyan's plugins. This fixes the "Missing Dll" messages people keep
whining about.
2013-12-24 16:22:10 -05:00
19da80f31b Fix External Client garbage-strings 2013-12-23 20:26:42 -05:00
52427c2032 Fix eap->hoikas self-patch 2013-12-23 17:10:54 -05:00
7915f21019 plUruLauncher PatchOnly
Shhh! I'm sneaking this "feature" in for Gehn 18. The idea is that we
should no longer require MOULa installs for the installer to work. So,
after we've extracted the files but before we quit the installer, we fire
up `UruLauncher.exe -Repair -ServerIni=repair.ini -PatchOnly`. This will
download all the standard MOULa stuff, exit, and the install finishes.
Whew!
2013-12-22 22:54:45 -05:00
7c0e3e2a61 Merge pull request #373 from Hoikas/linking-perf
Low-Hanging Linking Performance
2013-12-21 16:58:34 -08:00
42707c6e8a Merge pull request #372 from Hoikas/draw-starve
Smoother Spinning Dots
2013-12-21 16:57:35 -08:00
505df7c954 Merge pull request #371 from Hoikas/keycol-set
Fix plKeyCollector key trashing...
2013-12-21 16:57:10 -08:00
e2b5786988 Fix a bug related to trashed keys.
It appears that the hsTArray memory management really sucks for smart
pointers like plKey. The crash mentioned at
http://forum.guildofwriters.org/viewtopic.php?f=117&t=6291 went away
immediately after switching plKeyCollector to an std::set.
2013-12-21 12:28:12 -05:00
88a60f04f6 Inline plKey::operator== 2013-12-20 21:15:03 -05:00
366a9a11a4 Fix logic error that causes slow string lookup
Recall that plKey object IDs are index-1 (unless they key is fixed, in
which case the ID is always 0), whereas vectors are index-0. JOY TO THE
HAX!
2013-12-20 21:13:59 -05:00
3a354020e1 Minimize calls into shell APIs 2013-12-20 18:52:15 -05:00
1cd4681980 Naïve fix for draw-loop starving.
Herp derp, it helps to fire off the update callback once an object is
read...
2013-12-20 17:14:18 -05:00
67448aad66 Merge pull request #370 from Deledrius/framenum_fix
Replace hardcoded frame number in plDTProgressMgr.
2013-12-20 13:51:22 -08:00
77266066ff Replace hardcoded frame number in plDTProgressMgr.
This was overlooked when the consolidation was done in 3027e0605c.
With this fix, the number of frames to be loaded is entirely defined
in a single place.  This also prepares the code for a future commit
to remove the necessity of the compile-time definition entirely.
2013-12-20 13:42:47 -08:00
358ae8dc84 Merge pull request #369 from Hoikas/dcm
Dyanmic Cam Map stuff
2013-12-19 19:10:42 -08:00
901525d600 Remove some unused string stuff 2013-12-17 18:37:10 -08:00
b6d7584e55 Merge pull request #368 from zrax/format_errors
Fix several C-style string format parameter errors detected via vararg-template voodoo
2013-12-16 20:11:58 -08:00
56507c5219 Fix several format errors detected via vararg-template voodoo 2013-12-16 18:58:47 -08:00
b421e75040 Send the right RefMsg, please...
So this is interesting. If you disable Planar Reflections and visit an age with a DCM, you will crash after a few minutes. This is because plDynamicCamMap is sending the wrong plRefMsg to the plLayer. This does nothing (aside from waste time), so we keep sending the ref again and again and again and again until we get some weird heap corruption and KABLOOOOOOOOOOOEY!
2013-12-16 21:22:50 -05:00
09cc4b8259 Merge pull request #353 from Hoikas/new-launcher
Unified Patcher (Part 2: Nuke eap)
2013-12-12 14:04:43 -08:00
4ae685aff9 Hack around hidden/dead MessageBoxes :(
So, it appears that once our dialog is created, the DialogBox windowproc
is nuked. So, to hack around this, any errors that occur while it is open
are cached and reported out after we close everything down. It sucks, but
it works. I blame Microsoft.
2013-12-12 16:59:45 -05:00
1bcd17c850 Redist Updating
This is the crowning feature: the whole point of this exercise. You can
now update redists from the client launcher itself. To activate this
functionality, you will need to flag the file 0x10 in the manifest. I
recommend listing your redists in the patcher manifests.
2013-12-12 16:59:44 -05:00
d855d86475 Game Repair Mode
This adds a license-stopgap "feature" ... You can now update only the game
data by using the -Repair argument on the launcher. You'll need to specify
a stripped down MOULa server.ini with the GateKeeperSrv keys/host.
2013-12-12 16:59:43 -05:00
e7ab709b52 Client Image Flag
This argument works just like it does in Guild Wars. It checks all the
files (using Cyan's evil "Internal" and "External" manifests) for changes.
Expect this to take a decent amount of time.
2013-12-12 16:59:42 -05:00
a231b4db9d Rewrite plUruLauncher
Welcome to the glorious new regime.
2013-12-12 16:59:39 -05:00
b358b26ae9 Merge pull request #354 from Hoikas/init-cleanup
Graphics Init Cleanup
2013-12-12 13:53:16 -08:00
185118d21c Better management of TnLEnums and Direct3D9 object
Two of the big nasties, according to profiling, are the TnL enum and
creation of Direct3D objects. It turned out we were doing these things
several times (3 and 4 respectively) during the init process. So, now we
have an hsGDirect3D namespace and some smart pointers to manage them!
2013-12-12 16:47:03 -05:00
fc67738ee8 Remove some obviously obsolete caps 2013-12-12 16:24:04 -05:00