fs2open: trunk r229

Author Committer Branch Timestamp Parent
Goober5000 trunk 2002-12-22 12:22 Pending
Changeset Subcategories implemented. :) So far all that's been done is the Change menu, but other
subcategorizations are possible. Here are the instructions from sexp.h...
"Adding more subcategories is possible with the new code. All that needs to be done is
to add a #define here (a number from 0x0000 to 0x00ff ORred with the category that it
goes under), some appropriate case statements in get_subcategory() (in sexp.cpp) that
will return the subcategory for each sexp that uses it, and the submenu name in the
op_submenu[] array in sexp_tree.cpp."

Please note that I rearranged a whole bunch of sexps in the Operators[] array in sexp.cpp
in order to make the subcategories work better, so if you get a whole bunch of differences
or even conflicts, just ignore them. :)
--Goober5000
mod - /trunk/fs2_open/code/parse/sexp.cpp Diff File
mod - /trunk/fs2_open/code/parse/sexp.h Diff File