1 /* ScummVM - Graphic Adventure Engine 2 * 3 * ScummVM is the legal property of its developers, whose names 4 * are too numerous to list here. Please refer to the COPYRIGHT 5 * file distributed with this source distribution. 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 2 10 * of the License, or (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 * 21 */ 22 23 #ifndef DIRECTOR_LINGO_BUILTINS_H 24 #define DIRECTOR_LINGO_BUILTINS_H 25 26 namespace Director { 27 28 namespace LB { 29 30 // builtin functions 31 void b_abs(int nargs); 32 void b_atan(int nargs); 33 void b_cos(int nargs); 34 void b_exp(int nargs); 35 void b_float(int nargs); 36 void b_integer(int nargs); 37 void b_log(int nargs); 38 void b_pi(int nargs); 39 void b_power(int nargs); 40 void b_random(int nargs); 41 void b_sin(int nargs); 42 void b_sqrt(int nargs); 43 void b_tan(int nargs); 44 45 void b_chars(int nargs); 46 void b_charToNum(int nargs); 47 void b_length(int nargs); 48 void b_numToChar(int nargs); 49 void b_offset(int nargs); 50 void b_string(int nargs); 51 52 void b_add(int nargs); 53 void b_addAt(int nargs); 54 void b_addProp(int nargs); 55 void b_append(int nargs); 56 void b_count(int nargs); 57 void b_deleteAt(int nargs); 58 void b_deleteProp(int nargs); 59 void b_findPos(int nargs); 60 void b_findPosNear(int nargs); 61 void b_getaProp(int nargs); 62 void b_getAt(int nargs); 63 void b_getLast(int nargs); 64 void b_getOne(int nargs); 65 void b_getPos(int nargs); 66 void b_getProp(int nargs); 67 void b_getPropAt(int nargs); 68 void b_list(int nargs); 69 void b_listP(int nargs); 70 void b_max(int nargs); 71 void b_min(int nargs); 72 void b_setaProp(int nargs); 73 void b_setAt(int nargs); 74 void b_setProp(int nargs); 75 void b_sort(int nargs); 76 77 void b_factory(int nargs); 78 void b_floatP(int nargs); 79 void b_ilk(int nargs); 80 void b_integerp(int nargs); 81 void b_objectp(int nargs); 82 void b_pictureP(int nargs); 83 void b_stringp(int nargs); 84 void b_symbolp(int nargs); 85 void b_voidP(int nargs); 86 87 void b_alert(int nargs); 88 void b_clearGlobals(int nargs); 89 void b_cursor(int nargs); 90 void b_framesToHMS(int nargs); 91 void b_HMStoFrames(int nargs); 92 void b_param(int nargs); 93 void b_printFrom(int nargs); 94 void b_put(int nargs); 95 void b_showGlobals(int nargs); 96 void b_showLocals(int nargs); 97 void b_value(int nargs); 98 99 void b_constrainH(int nargs); 100 void b_constrainV(int nargs); 101 void b_copyToClipBoard(int nargs); 102 void b_duplicate(int nargs); 103 void b_editableText(int nargs); 104 void b_erase(int nargs); 105 void b_findEmpty(int nargs); 106 void b_importFileInto(int nargs); 107 void b_installMenu(int nargs); 108 void b_label(int nargs); 109 void b_marker(int nargs); 110 void b_move(int nargs); 111 void b_moveableSprite(int nargs); 112 void b_pasteClipBoardInto(int nargs); 113 void b_puppetPalette(int nargs); 114 void b_puppetSound(int nargs); 115 void b_puppetSprite(int nargs); 116 void b_puppetTempo(int nargs); 117 void b_puppetTransition(int nargs); 118 void b_ramNeeded(int nargs); 119 void b_rollOver(int nargs); 120 void b_spriteBox(int nargs); 121 void b_unLoad(int nargs); 122 void b_unLoadCast(int nargs); 123 void b_updateStage(int nargs); 124 void b_zoomBox(int nargs); 125 void b_immediateSprite(int nargs); 126 127 void b_abort(int nargs); 128 void b_continue(int nargs); 129 void b_dontPassEvent(int nargs); 130 void b_delay(int nargs); 131 void b_do(int nargs); 132 void b_go(int nargs); 133 void b_halt(int nargs); 134 void b_nothing(int nargs); 135 void b_pass(int nargs); 136 void b_pause(int nargs); 137 void b_play(int nargs); 138 void b_playAccel(int nargs); 139 void b_preLoad(int nargs); 140 void b_preLoadCast(int nargs); 141 void b_quit(int nargs); 142 void b_restart(int nargs); 143 void b_shutDown(int nargs); 144 void b_startTimer(int nargs); 145 void b_return(int nargs); 146 147 void b_closeDA(int nargs); 148 void b_closeResFile(int nargs); 149 void b_closeXlib(int nargs); 150 void b_getNthFileNameInFolder(int nargs); 151 void b_open(int nargs); 152 void b_openDA(int nargs); 153 void b_openResFile(int nargs); 154 void b_openXlib(int nargs); 155 void b_setCallBack(int nargs); 156 void b_saveMovie(int nargs); 157 void b_showResFile(int nargs); 158 void b_showXlib(int nargs); 159 void b_xFactoryList(int nargs); 160 161 void b_point(int nargs); 162 void b_inside(int nargs); 163 void b_intersect(int nargs); 164 void b_map(int nargs); 165 void b_offsetRect(int nargs); 166 void b_rect(int nargs); 167 void b_union(int nargs); 168 169 void b_window(int nargs); 170 171 void b_beep(int nargs); 172 void b_mci(int nargs); 173 void b_mciwait(int nargs); 174 void b_sound(int nargs); 175 void b_soundBusy(int nargs); 176 177 void b_backspace(int nargs); 178 void b_empty(int nargs); 179 void b_enter(int nargs); 180 void b_false(int nargs); 181 void b_quote(int nargs); 182 void b_returnconst(int nargs); 183 void b_tab(int nargs); 184 void b_true(int nargs); 185 void b_version(int nargs); 186 187 void b_cast(int nargs); 188 void b_script(int nargs); 189 190 void b_numberofchars(int nargs); 191 void b_numberofitems(int nargs); 192 void b_numberoflines(int nargs); 193 void b_numberofwords(int nargs); 194 195 void b_scummvmassert(int nargs); 196 void b_scummvmassertequal(int nargs); 197 198 // XCMD/XFCN (HyperCard), normally exposed 199 void b_getVolumes(int nargs); 200 201 } // End of namespace LB 202 203 } // End of namespace Director 204 205 #endif 206