Bill Currie
9daf527afd
Do a bit of comment cleanup.
2010-10-11 21:11:33 +09:00
Bill Currie
a9987467ec
Allow entity copying too.
2010-10-11 09:52:10 +09:00
Bill Currie
670d9155e7
Fix key resetting.
...
Make sure we don't add a new key-pair when the key already exists, and if
the existing value has the same pointer as the "new" value, do nothing.
2010-10-10 18:47:27 +09:00
Bill Currie
57e6bf84a6
Correct an error message.
2010-10-02 20:35:22 +09:00
Jeff Teunissen
fb785c334b
tactical whitespace bomb
...
Add return-type information to all methods, split up lines properly where
I could find them, and ran the whole thing through uncrustify. Looks purty
now. :)
2010-09-29 16:09:11 -04:00
Jeff Teunissen
ec0c37ee82
Add type information, don't return self most of the time
...
Start "modernizing" the code base; old code is based heavily in the
Smalltalk style, where everything that doesn't return a different object
returns self. This can be useful, but it isn't what is usually done these
days. Also, add type information (which didn't exist in "the old days" --
an object was an "id", not a "Foo *") to help with debugging.
2010-09-28 15:43:35 -04:00
Jeff Teunissen
ad6e799981
signed/unsigned and some const-correctness
2010-09-28 12:13:25 -04:00
Bill Currie
d13e2aeded
Char buffer audit.
...
Get rid of most static char buffers. The few remaining are either in file
structs or messy code that needs further analysis.
2010-09-28 21:40:11 +09:00
Bill Currie
7c2709e8f8
Do a const-correct run.
2010-09-28 18:41:38 +09:00
Bill Currie
a794752d78
Fix the tangled mess of entity connections.
...
What was the person who wrote valueForQKey thinking? Make the function
const-correct and bubble the changes through the code.
2010-09-28 00:29:16 +09:00
Bill Currie
27ad18de3d
Entity loading from maps seems to work.
2010-09-26 13:50:19 +09:00
Bill Currie
eba4402d8e
Get map loading sort-of working.
...
Segfaults, but the Map class can now be instantiated.
2010-09-26 13:50:18 +09:00
Bill Currie
931900fbd3
Pass .m files through indent.
...
The result isn't perfect, but it cleans up the whitespace and makes the
code more consistent with the rest of the project.
2010-09-26 13:50:17 +09:00
Bill Currie
44dd62d369
Make MapEdit (QuakeEd) compile.
...
It won't work yet as there's no gorm file and there's code that has been
commented out, but it finally compiles.
2010-09-26 13:50:17 +09:00
Bill Currie
48a5ad0d36
my WIP on porting QuakeEd to GNUstep/QuakeForge
2003-03-18 19:48:24 +00:00