Michael Hansen
1debf8180b
Convert many of the now-deprecated plString::Format calls to plFormat
11 years ago
Michael Hansen
d7fdf10455
Convert ReadSafe(W)String* to the plString variants, and remove the now
...
unneeded _TEMP variants. All safe strings read from hsStreams are
now plStringified :)
11 years ago
Adam Johnson
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.
11 years ago
Adam Johnson
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.
11 years ago
Adam Johnson
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!
11 years ago
Adam Johnson
07eab8def4
Fix annoying "Bad static key ID" asserts
11 years ago
Florian Meißner
063b61161d
Don't ignore possible extensions when localizing object names
11 years ago
Adam Johnson
0192c7eecd
Fix rename fail
12 years ago
Adam Johnson
dcacfc8665
Fix export of Emote Anims
...
Bug in the registry key list refactor... We wrote out all the keys in the
key list instead of only the keys with objects. This meant we got a lot of
garbage (empty) objects when exporting [Fem|M]aleWave.
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
Adam Johnson
f664e8b9f5
Refactor RegistryKeyList
...
This is in preparation for page patching. The old code kept dynamic
(programatically created) and serialized keys separate. This had the
potential to reorder the key list during the application of a patch.
This is separate from the prp-patches branch to facillitate review.
12 years ago
Michael Hansen
6f6ade2636
Replace hsStream::Open duplicated methods everywhere with a single plFileName interface
12 years ago
Adam Johnson
bb2146b3a3
Remove Cruft
12 years ago
Adam Johnson
b4f6ccaa88
Fix the "Crash on Exit" bug
...
We were throwing away the Dispatcher before all the keys (namely, leaked
keys) were unloaded. See the comment in plResManager for more details.
12 years ago
Darryl Pogue
c448d11209
Fix format string here.
12 years ago
Darryl Pogue
9a579d6af7
Fix memory leaks.
12 years ago
Darryl Pogue
cd53cf180d
Fix issues pointed out in code review.
12 years ago
Darryl Pogue
4dd06d1e7e
Convert plRegistryNode stuff to plString.
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
Darryl Pogue
4221b57baa
Fix a whole bunch of clang warnings.
12 years ago
Darryl Pogue
ca87b47ca8
Fix plResManager stricmp.
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
041b1985e4
Fix paths and move GetSecureEncryptionKey so things compile again
12 years ago
Adam Johnson
a709e17069
Obliterate hsBool
13 years ago
Adam Johnson
f0af98b0a7
Toss lots of custom CString code
...
We already have a C standard library, so let's not reimplement it.
13 years ago
Darryl Pogue
cb209c853f
Move these inline to be faster.
13 years ago
Darryl Pogue
5ad311dd97
Use a std::map for faster page lookups.
13 years ago
Adam Johnson
ec216206dd
Fix StupidSearch
...
This fixes stupid stuff like Phil's Relto linking panel and the Words covers
13 years ago
Michael Hansen
ad66286a17
Fix several errors and warnings from GCC compilation
13 years ago
Michael Hansen
bb0ed04a52
Fix some things which got missed from debug builds
13 years ago
Michael Hansen
e34414889f
Convert plUoid's object name to a plString
13 years ago
Michael Hansen
442a733fbb
Add more temporary hack macros to help speed up conversion and testing
13 years ago
Darryl Pogue
5013a978eb
Get rid of NEW(), TRACKED_NEW, and ZERO().
13 years ago
Adam Johnson
be26b145df
HeadSpin.h is now the core header.
...
Rearrange some things so such that low-level CoreLib headers aren't quite
so crazy. For higher level stuff, you still need to include the
appropriate header.
13 years ago
Adam Johnson
5027b5a4ac
Convert custom HeadSpin integer types to standard types from stdint.h
13 years ago
Darryl Pogue
3398938d31
Fix a bunch of warnings from clang.
13 years ago
Branan Purvine-Riley
c1deed66c7
Force page stream to stay open during a room load
13 years ago
Darryl Pogue
c91eb23f92
Clean up the linking mess in CMake.
...
(Of the library variety, not the book variety... although that's still
confusingly similar terminology)
13 years ago
Joseph Davies
e462ef04b3
Fix Endian functions names in hsTypes and hsStream.
...
Function and macro names for endianness were previously vague,
and on big-endian systems entirely misleading. The names are
now properly descriptive of what they actually do.
13 years ago
CyanWorlds
eb2767a5f7
Open source re-licensing
13 years ago
diafero
adc3653296
fix relative includes in PubUtilLib, move them up to where they belong, remvoe some unused files
14 years ago
Darryl Pogue
ee23f01736
String function fixes for mingw.
14 years ago
Darryl Pogue
ea3fa47eca
Make a bunch more strings const.
14 years ago
Darryl Pogue
28d5ec2e4b
This function is not inline.
14 years ago