Revision a0aa03dc
Added by danij about 18 years ago
Files
- added
- modified
- copied
- renamed
- deleted
- doomsday
- engine
- api
- data
- portable
- include
- con_decl.h (diff)
- con_main.h (diff)
- dd_help.h (diff)
- src
- con_config.c (diff)
- con_data.c (diff)
- con_main.c (diff)
- dd_help.c (diff)
- dd_input.c (diff)
- dd_wad.c (diff)
- edit_bias.c (diff)
- gl_main.c (diff)
- gl_texmanager.c (diff)
- net_demo.c (diff)
- net_main.c (diff)
- rend_console.c (diff)
- rend_halo.c (diff)
- rend_main.c (diff)
- rend_sky.c (diff)
- s_main.c (diff)
- s_mus.c (diff)
- ui_main.c (diff)
- ui_panel.c (diff)
- include
- plugins
- engine
Implemented engine-side CCmd parameter validation as discussed previously, as a preparatory step for the planned integration of a scripting language into the console later in the 1.9.x series. CCmds can opt-out of engine-side validation by not specifying a usage control string when registered.
TODO: Split console commands with different actions depending on number of parameters; apply the "overloaded" function paradigm (needs to be designed and implemented for 1.9.0).
TODO: Only the declared required parameters are currently validated.