ScummVM API documentation
convert_usecode_regret.h
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 modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (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, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef ULTIMA8_CONVERT_U8_CONVERTUSECODEREGRET_H
23 #define ULTIMA8_CONVERT_U8_CONVERTUSECODEREGRET_H
24 
25 #include "ultima/ultima8/convert/convert_usecode.h"
26 #include "ultima/ultima8/convert/crusader/convert_usecode_crusader.h"
27 
28 namespace Ultima {
29 namespace Ultima8 {
30 
32 public:
33  const char* const *intrinsics() override { return _intrinsics; };
34  const char* const *event_names() override { return ConvertUsecodeCrusader::_event_names; };
35 
36 private:
37  static const char* const _intrinsics[512];
38 };
39 
40 const char* const ConvertUsecodeRegret::_intrinsics[] = {
41  // 0000
42  "World::I_getAlertActive()",
43  "Item::getFrame(void)",
44  "Item::setFrame(uint16)",
45  "Item::getMapNum(void)",
46  "Item::getStatus(void)",
47  "Item::orStatus(sint16)",
48  "Item::equip(sint16)",
49  "Item::isEntirelyOnScreen()",
50  "Item::isNpc(void)",
51  "Item::getZ(void)",
52  "World::I_gameDifficulty()",
53  "Item::getQLo(void)",
54  "Item::destroy(void)",
55  "Actor::I_getUnkByte()", // same as field 0x63 in No Remorse
56  "Item::getX(void)",
57  "Item::getY(void)",
58  // 0010
59  "Item::playSfxCru()",
60  "Item::getShape(void)",
61  "Item::I_explode()",
62  "UCMachine::I_rndRange()",
63  "Item::legalCreateAtCoords(uint16,uint16,uint16,uint16,uint16)",
64  "Item::andStatus(void)",
65  "World::I_getControlledNPCNum()",
66  "Actor::I_getDir()",
67  "Actor::I_getLastAnimSet()",
68  "Item::I_fireWeapon()",
69  "Item::create(uint16,uint16)",
70  "Item::popToCoords(uint16,uint16,uint8)",
71  "Actor::I_setDead()",
72  "Item::push(void)",
73  "Item::I_getEtherealTop()",
74  "Item::getQLo(void)",
75  // 0020
76  "Item::setQLo(sint16)",
77  "Item::getQHi(void)",
78  "Item::setQHi(sint16)",
79  "Item::I_getClosestDirectionInRange()",
80  "Item::hurl(sint16,sint16,sint16,sint16)",
81  "Item::getCY(void)",
82  "Item::getCX(void)",
83  "SpriteProcess::I_createSprite()",
84  "Item::setNpcNum(sint16)",
85  "AudioProcess::I_playSFXCru()",
86  "Item::setShape()",
87  "Item::pop(void)",
88  "AudioProcess::I_stopSFXCru()",
89  "Item::isCompletelyOn(uint16)",
90  "Item::popToContainer(uint16)",
91  "Actor::I_getHp()",
92  // 0030
93  "Actor::I_getMana()",
94  "Item::getFamily(void)",
95  "Actor::destroyContents(void)",
96  "AudioProcess::I_setVolumeForItemSFX(uint16,uint16,byte)",
97  "Item::getDirToItem(uint16)",
98  "AudioProcess::I_isSfxPlayingForObject(Item *,uint sfxno)",
99  "Item::I_getRangeIfVisible()",
100  "AudioProcess::I_playSFXCru()",
101  "Item::andStatus(void)",
102  "Kernel::resetRef(uint16,ProcessType)",
103  "Item::touch(void)",
104  "Egg::getEggId(void)",
105  "MainActor::I_addItemCru()",
106  "Actor::I_getMap()",
107  "Item::callEvent11(sint16)",
108  "CameraProcess::I_somethingAboutCameraUpdate()",
109  // 0040
110  "AudioProcess::I_stopSFXCru()",
111  "Item::isOn(uint16)",
112  "Item::getQHi(void)",
113  "Item::isOn(uint16)",
114  "Item::getQHi(void)",
115  "Item::isOn(uint16)",
116  "Item::getQHi(void)",
117  "Item::isOn(uint16)",
118  "Item::getQHi(void)",
119  "Item::isOn(uint16)",
120  "Item::getQHi(void)",
121  "Item::isOn(uint16)",
122  "Item::getQHi(void)",
123  "Actor::I_getCurrentActivityNo()",
124  "Actor::isDead(void)",
125  "Actor::I_clrInCombat()",
126  // 0050
127  "Actor::I_setDefaultActivity0()",
128  "Actor::I_setDefaultActivity1()",
129  "Actor::I_setDefaultActivity2()",
130  "Actor::I_setActivity()",
131  "World::I_setControlledNPCNum()",
132  "Item::I_receiveHit()",
133  "Game::I_isReleaseBuild()",
134  "MainActor::I_setMana()",
135  "Item::use(void)",
136  "Item::setUnkEggType(sint16)",
137  "MusicProcess::I_playMusic()",
138  "Item::getSurfaceWeight(void)",
139  "Item::I_isCentreOn()",
140  "Item::setFrame(uint16)",
141  "Actor::I_getLastAnimSet()",
142  "Ultima8Engine::I_setAvatarInStasis()",
143  // 0060
144  "Actor::I_isBusy()",
145  "Actor::I_getField0x13Flag2()",
146  "Actor::I_doAnim()",
147  "Item::legalCreateAtPoint(uint16,uint16,WorldPoint&)",
148  "Item::getPoint(WorldPoint&)",
149  "Item::legalMoveToPoint(WorldPoint&,uint16,uint16)",
150  "Item::fall(void)",
151  "Item::hurl(sint16,sint16,sint16,sint16)",
152  "Kernel::getNumProcesses(uint16,ProcessType)",
153  "Item::getCY(void)",
154  "U8Engine::I_isCfgAnimationOff()",
155  "ResetKeyboardState()",
156  "MusicProcess::I_pauseMusic()",
157  "MovieGump::I_playMovieCutsceneRegret()",
158  "MusicProcess::I_unpauseMusic()",
159  "Item::isInNpc(void)",
160  // 0070
161  "Ultima8Engine::I_setCruStasis()",
162  "Ultima8Engine::I_clrCruStasis()",
163  "PaletteFaderProcess::I_jumpToColor()",
164  "PaletteFaderProcess::I_fadeToGamePal()",
165  "Actor::isDead(void)",
166  "Item::getNpcNum(void)",
167  "IntrinsicReturn0",
168  "Game::I_isViolenceEnabled()",
169  "Item::unequip(sint16)",
170  "Item::andStatus(void)",
171  "Item::move(uint16,uint16,uint8)",
172  "Ultima8Engine::I_getCrusaderTeleporting()",
173  "Ultima8Engine::I_setCrusaderTeleporting()",
174  "Ultima8Engine::I_clrCrusaderTeleporting()",
175  "Actor::I_turnToward()",
176  "PaletteFaderProcess::I_fadeToBlack()",
177  // 0080
178  "MainActor::I_clrKeycards()",
179  "MusicProcess::I_stopMusic()",
180  "PaletteFaderProcess::I_jumpToAllBlack()",
181  "I_setUnkFlagA4()",
182  "I_clearUnkFlagA4()",
183  "MainActor::I_switchMap(int16)",
184  "teleportToEgg(sint16,int,uint8)",
185  "PaletteFaderProcess::I_fadeToGamePal()",
186  "Actor::I_clrImmortal()",
187  "Actor::I_setActivity()",
188  "Item::getQuality(void)",
189  "Item::setQuality(sint16)",
190  "MainActor::I_getMaxEnergy()",
191  "CameraProcess::I_moveTo(x,y,z)",
192  "Actor::I_setImmortal()",
193  "Camera::getX(void)",
194  // 0090
195  "Camera::getY(void)",
196  "Item::setMapNum(sint16)",
197  "Item::getNpcNum(void)",
198  "Item::shoot(WorldPoint&,sint16,sint16)",
199  "CameraProcess::I_setCenterOn()",
200  "Item::enterFastArea(void)",
201  "Item::setBroken()",
202  "Item::hurl(sint16,sint16,sint16,sint16)",
203  "Item::getNpcNum(void)",
204  "Ultima8Engine::I_moveKeyDownRecently()",
205  "teleportToEgg(sint16,uint8)",
206  "Actor::I_createActor()",
207  "Actor::I_clrInCombat()",
208  "PaletteFaderProcess::I_jumpToGreyScale()",
209  "PaletteFaderProcess::I_jumpToNormalPalette()",
210  "CruStatusGump::I_showStatusGump()",
211  // 00A0
212  "Item::andStatus(void)",
213  "Item::getUnkEggType(void)",
214  "Egg::setEggXRange(uint16)",
215  "Item::setFrame(uint16)",
216  "Item::overlaps(uint16)",
217  "Item::isOn(uint16)",
218  "Item::getQHi(void)",
219  "Actor::I_getLastAnimSet()",
220  "Item::getCY(void)",
221  "CurrentMap::I_canExistAt()", // Equivalent to Intrinsic00BB() in Remorse
222  "Item::isOn(uint16)",
223  "Actor::isDead(void)",
224  "Item::hurl(sint16,sint16,sint16,sint16)",
225  "Item::I_inFastArea()",
226  "Item::getQHi(void)",
227  "Item::andStatus(void)",
228  // 00B0
229  "Item::hurl(sint16,sint16,sint16,sint16)",
230  "Item::andStatus(void)",
231  "Item::hurl(sint16,sint16,sint16,sint16)",
232  "Item::andStatus(void)",
233  "Item::getDirToCoords(uint16,uint16)",
234  "MainActor::I_removeItem(uint16)",
235  "I_updateInventoryUI()",
236  "Item::getNpcNum(void)",
237  "Item::getCY(void)",
238  "Item::isOn(uint16)",
239  "Item::getFootpad(sint16&,sint16&,sint16&)",
240  "Actor::isDead(void)",
241  "Actor::I_createActorCru()",
242  "Actor::I_setActivity()",
243  "KeypadGump::I_showKeypad()",
244  "Item::andStatus(void)",
245  // 00C0
246  "ComputerGump::I_readComputer()",
247  "UCMachine::I_numToStr()",
248  "IntrinsicReturn0",
249  "Actor::I_getDir()",
250  "Item::getQHi(void)",
251  "Item::setQuality(sint16)",
252  "Item::hurl(sint16,sint16,sint16,sint16)",
253  "Actor::I_addHp()",
254  "CruHealerProcess::I_create()",
255  "Item::callEvent0A(sint16)",
256  "Item::setBroken()",
257  "Item::isOn(uint16)",
258  "Actor::I_teleport()",
259  "Item::I_getDirFromTo16()",
260  "Item::getQHi(void)",
261  "Item::isOn(uint16)",
262  // 00D0
263  "Actor::I_isInCombat()",
264  "Actor::I_getNPCDataField0x4()",
265  "Actor::I_setCombatTactic()",
266  "Actor::I_setDead())",
267  "CameraProcess::I_getCameraY()",
268  "Actor::I_getEquip()",
269  "Actor::I_setEquip()",
270  "Actor::I_getDefaultActivity0()",
271  "Actor::I_getDefaultActivity1()",
272  "Actor::I_getDefaultActivity2()",
273  "Actor::I_getLastAnimSet()",
274  "Actor::I_isFalling()",
275  "Item::getQLo(void)",
276  "Item::getQHi(void)",
277  "Item::getNpcNum(void)",
278  "Item::I_setField0x81()",
279  // 00E0
280  "Item::hurl(sint16,sint16,sint16,sint16)",
281  "Actor::I_setDead()",
282  "Item::getQLo(void)",
283  "Item::getCY(void)",
284  "Item::getNpcNum(void)",
285  "Item::hurl(sint16,sint16,sint16,sint16)",
286  "Item::getNpcNum(void)",
287  "Item::hurl(sint16,sint16,sint16,sint16)",
288  "Item::getNpcNum(void)",
289  "Item::hurl(sint16,sint16,sint16,sint16)",
290  "Item::getNpcNum(void)",
291  "Item::hurl(sint16,sint16,sint16,sint16)",
292  "Item::getNpcNum(void)",
293  "Item::hurl(sint16,sint16,sint16,sint16)",
294  "Item::getNpcNum(void)",
295  "Item::hurl(sint16,sint16,sint16,sint16)",
296  // 00F0
297  "Item::getNpcNum(void)",
298  "Item::hurl(sint16,sint16,sint16,sint16)",
299  "Item::getNpcNum(void)",
300  "Item::hurl(sint16,sint16,sint16,sint16)",
301  "Item::getNpcNum(void)",
302  "Item::hurl(sint16,sint16,sint16,sint16)",
303  "Item::getNpcNum(void)",
304  "Item::andStatus(void)",
305  "Actor::I_setDead()",
306  "Item::getQLo(void)",
307  "Actor::I_setDead()",
308  "Dtable::I_getMaxHPForNPC()",
309  "Actor::I_setHP()",
310  "Item::getQLo(void)",
311  "BatteryChargerProcess::I_create()",
312  "Item::hurl(sint16,sint16,sint16,sint16)",
313  // 0100
314  "Item::andStatus(void)",
315  "Item::isOn(uint16)",
316  "Actor::isDead(void)",
317  "Actor::I_setActivity()",
318  "Item::getQHi(void)",
319  "Actor::I_getLastAnimSet()",
320  "Actor::I_setDead()",
321  "Item::getQLo(void)",
322  "Item::isOn(uint16)",
323  "Item::getQHi(void)",
324  "Item::isOn(uint16)",
325  "Item::getQHi(void)",
326  "Item::hurl(sint16,sint16,sint16,sint16)",
327  "Item::getNpcNum(void)",
328  "Item::getCY(void)",
329  "Item::hurl(sint16,sint16,sint16,sint16)",
330  // 0110
331  "Item::isOn(uint16)",
332  "MainActor::I_hasKeycard()",
333  "IntrinsicReturn0",
334  "Actor::isDead(void)",
335  "Actor::I_clrImmortal()",
336  "UCMachine::I_numToStr()",
337  "Item::getQHi(void)",
338  "Actor::I_setActivity()",
339  "Item::andStatus(void)",
340  "Item::getNpcNum(void)",
341  "Item::andStatus(void)",
342  "Item::getNpcNum(void)",
343  "Item::I_isCrusTypeNPC()",
344  "Item::andStatus(void)",
345  "Item::getNpcNum(void)",
346  "Item::AvatarStoleSomehting(uint16)",
347  // 0120
348  "Item::andStatus(void)",
349  "Item::getNpcNum(void)",
350  "Item::getQ(void)",
351  "Item::setQ(uint)",
352  "Item::andStatus(void)",
353  "Item::getNpcNum(void)",
354  "Item::andStatus(void)",
355  "Item::getNpcNum(void)",
356  "Item::andStatus(void)",
357  "Item::getNpcNum(void)",
358  "Item::andStatus(void)",
359  "Item::getNpcNum(void)",
360  "Item::andStatus(void)",
361  "Item::getNpcNum(void)",
362  "Actor::I_getDir()",
363  "Item::andStatus(void)",
364  // 0130
365  "Item::getNpcNum(void)",
366  "Intrinsic0131()",
367  "Item::andStatus(void)",
368  "Item::hurl(sint16,sint16,sint16,sint16)",
369  "Item::andStatus(void)",
370  "Camera::getY(void)",
371  "Camera::getZ(void)",
372  "CruStatusGump::I_hideStatusGump()",
373  "Actor::I_clrInCombat()",
374  "Item::getTypeFlagCrusader(sint16)",
375  "Item::getNpcNum(void)",
376  "Item::hurl(sint16,sint16,sint16,sint16)",
377  "Item::getCY(void)",
378  "Item::getCZ(void)",
379  "Item::setFrame(uint16)",
380  "AudioProcess::I_playAmbientSFX()",
381  // 0140
382  "AudioProcess::I_isSFXPlaying()",
383  "World::I_clrAlertActiveRegret()",
384  "PaletteFaderProcess::I_fadeToGivenColor()",
385  "Actor::isDead(void)",
386  "Actor::I_setDead()",
387  "Game::I_playCredits()",
388  "PaletteFaderProcess::I_jumpToAllGrey()",
389  "Item::I_getFamilyOfType()",
390  "Item::getNpcNum(void)",
391  "Item::getQLo(void)",
392  "Item::andStatus(void)",
393  "Ultima8Engine::getCurrentTimerTick()",
394  "World::I_setAlertActiveRegret()",
395  "Ultima8Engine::I_getAvatarInStasis()",
396  "MainActor::I_addItemCru()",
397  "Egg::getEggXRange(void)",
398  // 0150
399  "Actor::I_clrInCombat()",
400  "PaletteFaderProcess::I_jumpToColor()",
401  "Item::setFrame(uint16)",
402  "UCMachine::I_numToStr()",
403  "Actor::I_getDir()",
404  "UCMachine::I_numToStr()",
405  "Item::isOn(uint16)",
406  "Actor::I_getDir()",
407  "Actor::I_setDead()",
408  "Item::getQHi(void)",
409  "Item::getQLo(void)",
410  "UCMachine::I_numToStr()",
411  "Actor::I_getDir()",
412  "Intrinsic015D()",
413  0
414 };
415 
416 
417 } // End of namespace Ultima8
418 } // End of namespace Ultima
419 
420 #endif
Definition: convert_usecode.h:28
Definition: detection.h:27
Definition: convert_usecode_regret.h:31