[SESI logo]

Prisms Development Toolkit Documentation

Side Effects Software Inc. 1997

Custom SOPs

The Help Page

This is information given to the user when they press the help menu at the top of a SOP. Its contents will make no difference to the correct operation of the SOP, but it is a good idea to help your animators (now and in the future) by documenting what the SOP does and what sorts of arguments it expects.

The help page is simply a number of character strings, terminated by a NULL string (the 0 at the end). Notice that each string ends with a comma, and that there are no newline or other formating characters in the strings. Long strings can be continued with the backslash ( \ ) continuation character.

It is a good idea if lines are less than 40 characters long, and if there are less than 40 lines of help.


static char	*sopHelp[] = {
"This SOP builds a circle in the given plane.  The default values are\
 as given.",
" ",
"Options:",
" center      - the center point of circle",
" radius      - the radius of the circle",
" orientation - the orientation plane of the circle",
" divisions   - the number of line segments to make circle",
	0,
};


Tookit Overview
Expression Functions | User Functions | Custom SOPs
Prisms Internal Format | Programmer's Reference
Compiling SOPs | Using sopbuild | SOP Routine Reference
Dynamic SOPs | Prisms Types | Macros
Math Routines | Data Routines | Polygon Routines | Winged-edge Routines

Copyright © 1997 Side Effects Software Inc.
477 Richmond Street West, Toronto, Ontario, Canada M5V 3E7