Home
last modified time | relevance | path

Searched refs:gotSlot (Results 1 – 19 of 19) sorted by relevance

/dports/games/ags/ags_linux_v.3.4.4.1/Engine/ac/
H A Ddynamicsprite.cpp307 if (gotSlot <= 0) in DynamicSprite_CreateFromScreenShot()
334 if (gotSlot <= 0) in DynamicSprite_CreateFromExistingSprite()
356 if (gotSlot <= 0) in DynamicSprite_CreateFromDrawingSurface()
388 if (gotSlot <= 0) in DynamicSprite_Create()
430 if (gotSlot <= 0) in DynamicSprite_CreateFromBackground()
450 spriteset.set(gotSlot, redin); in add_dynamic_sprite()
468 if ((gotSlot < 0) || (gotSlot >= spriteset.elements)) in free_dynamic_sprite()
474 delete spriteset[gotSlot]; in free_dynamic_sprite()
475 spriteset.set(gotSlot, NULL); in free_dynamic_sprite()
478 spritewidth[gotSlot] = 0; in free_dynamic_sprite()
[all …]
H A Dglobal_dynamicsprite.cpp43 int gotSlot = spriteset.findFreeSlot(); in LoadImageFile() local
44 if (gotSlot <= 0) in LoadImageFile()
47 add_dynamic_sprite(gotSlot, ReplaceBitmapWithSupportedFormat(loadedFile)); in LoadImageFile()
49 return gotSlot; in LoadImageFile()
H A Dglobal_drawingsurface.cpp248 void RawDrawImageResized(int xx, int yy, int gotSlot, int width, int height) { in RawDrawImageResized() argument
249 if ((gotSlot < 0) || (gotSlot >= MAX_SPRITES) || (spriteset[gotSlot] == NULL)) in RawDrawImageResized()
259 Bitmap *newPic = BitmapHelper::CreateBitmap(width, height, spriteset[gotSlot]->GetColorDepth()); in RawDrawImageResized()
260 newPic->StretchBlt(spriteset[gotSlot], in RawDrawImageResized()
261 RectWH(0, 0, spritewidth[gotSlot], spriteheight[gotSlot]), in RawDrawImageResized()
H A Dglobal_game.cpp171 int gotSlot; in LoadSaveSlotScreenshot() local
174 if (!read_savedgame_screenshot(get_save_game_path(slnum), gotSlot)) in LoadSaveSlotScreenshot()
177 if (gotSlot == 0) in LoadSaveSlotScreenshot()
180 if ((spritewidth[gotSlot] == width) && (spriteheight[gotSlot] == height)) in LoadSaveSlotScreenshot()
181 return gotSlot; in LoadSaveSlotScreenshot()
184 Bitmap *newPic = BitmapHelper::CreateBitmap(width, height, spriteset[gotSlot]->GetColorDepth()); in LoadSaveSlotScreenshot()
185 newPic->StretchBlt(spriteset[gotSlot], in LoadSaveSlotScreenshot()
186 RectWH(0, 0, spritewidth[gotSlot], spriteheight[gotSlot]), in LoadSaveSlotScreenshot()
192 free_dynamic_sprite(gotSlot); in LoadSaveSlotScreenshot()
193 add_dynamic_sprite(gotSlot, newPic); in LoadSaveSlotScreenshot()
[all …]
H A Ddynamicsprite.h48 void add_dynamic_sprite(int gotSlot, Common::Bitmap *redin, bool hasAlpha = false);
49 void free_dynamic_sprite (int gotSlot);
H A Dglobal_drawingsurface.h38 void RawDrawImageResized(int xx, int yy, int gotSlot, int width, int height);
/dports/games/scummvm/scummvm-2.5.1/engines/ags/engine/ac/
H A Ddynamic_sprite.cpp307 if (gotSlot <= 0) in DynamicSprite_CreateFromScreenShot()
334 if (gotSlot <= 0) in DynamicSprite_CreateFromExistingSprite()
355 if (gotSlot <= 0) in DynamicSprite_CreateFromDrawingSurface()
386 if (gotSlot <= 0) in DynamicSprite_Create()
425 if (gotSlot <= 0) in DynamicSprite_CreateFromBackground()
436 add_dynamic_sprite(gotSlot, newPic); in DynamicSprite_CreateFromBackground()
445 _GP(spriteset).SetSprite(gotSlot, redin); in add_dynamic_sprite()
460 void free_dynamic_sprite(int gotSlot) { in free_dynamic_sprite() argument
462 if ((gotSlot < 0) || ((size_t)gotSlot >= _GP(spriteset).GetSpriteSlotCount())) in free_dynamic_sprite()
470 _GP(game).SpriteInfos[gotSlot].Flags = 0; in free_dynamic_sprite()
[all …]
H A Dglobal_dynamic_sprite.cpp48 int gotSlot = _GP(spriteset).GetFreeIndex(); in LoadImageFile() local
49 if (gotSlot <= 0) in LoadImageFile()
52 add_dynamic_sprite(gotSlot, ReplaceBitmapWithSupportedFormat(loadedFile)); in LoadImageFile()
54 return gotSlot; in LoadImageFile()
H A Dglobal_game.cpp149 int gotSlot; in LoadSaveSlotScreenshot() local
152 if (!read_savedgame_screenshot(get_save_game_path(slnum), gotSlot)) in LoadSaveSlotScreenshot()
155 if (gotSlot == 0) in LoadSaveSlotScreenshot()
158 …if ((_GP(game).SpriteInfos[gotSlot].Width == width) && (_GP(game).SpriteInfos[gotSlot].Height == h… in LoadSaveSlotScreenshot()
159 return gotSlot; in LoadSaveSlotScreenshot()
162 …Bitmap *newPic = BitmapHelper::CreateBitmap(width, height, _GP(spriteset)[gotSlot]->GetColorDepth(… in LoadSaveSlotScreenshot()
163 newPic->StretchBlt(_GP(spriteset)[gotSlot], in LoadSaveSlotScreenshot()
164 … RectWH(0, 0, _GP(game).SpriteInfos[gotSlot].Width, _GP(game).SpriteInfos[gotSlot].Height), in LoadSaveSlotScreenshot()
170 free_dynamic_sprite(gotSlot); in LoadSaveSlotScreenshot()
171 add_dynamic_sprite(gotSlot, newPic); in LoadSaveSlotScreenshot()
[all …]
H A Dglobal_drawing_surface.cpp229 void RawDrawImageResized(int xx, int yy, int gotSlot, int width, int height) { in RawDrawImageResized() argument
230 if ((gotSlot < 0) || (_GP(spriteset)[gotSlot] == nullptr)) in RawDrawImageResized()
240 …Bitmap *newPic = BitmapHelper::CreateBitmap(width, height, _GP(spriteset)[gotSlot]->GetColorDepth(… in RawDrawImageResized()
241 newPic->StretchBlt(_GP(spriteset)[gotSlot], in RawDrawImageResized()
242 … RectWH(0, 0, _GP(game).SpriteInfos[gotSlot].Width, _GP(game).SpriteInfos[gotSlot].Height), in RawDrawImageResized()
H A Ddynamic_sprite.h55 void add_dynamic_sprite(int gotSlot, Shared::Bitmap *redin, bool hasAlpha = false);
56 void free_dynamic_sprite(int gotSlot);
H A Dglobal_drawing_surface.h45 void RawDrawImageResized(int xx, int yy, int gotSlot, int width, int height);
/dports/games/scummvm/scummvm-2.5.1/engines/sludge/
H A Dsound.cpp165 int gotSlot = findInSoundCache(filenum); in huntKillSound() local
166 if (gotSlot == -1) in huntKillSound()
169 freeSound(gotSlot); in huntKillSound()
195 int gotSlot = findInSoundCache(filenum); in huntKillFreeSound() local
196 if (gotSlot == -1) in huntKillFreeSound()
198 freeSound(gotSlot); in huntKillFreeSound()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sludge/
H A Dsound.cpp170 int gotSlot = findInSoundCache(filenum); in huntKillSound() local
171 if (gotSlot == -1) in huntKillSound()
174 freeSound(gotSlot); in huntKillSound()
200 int gotSlot = findInSoundCache(filenum); in huntKillFreeSound() local
201 if (gotSlot == -1) in huntKillFreeSound()
203 freeSound(gotSlot); in huntKillFreeSound()
/dports/games/scummvm/scummvm-2.5.1/engines/ags/plugins/
H A Dags_plugin.cpp573 int gotSlot = _GP(spriteset).GetFreeIndex(); in CreateDynamicSprite() local
574 if (gotSlot <= 0) in CreateDynamicSprite()
586 add_dynamic_sprite(gotSlot, newPic); in CreateDynamicSprite()
587 return gotSlot; in CreateDynamicSprite()
/dports/games/ags/ags_linux_v.3.4.4.1/Engine/plugin/
H A Dagsplugin.cpp596 int gotSlot = spriteset.findFreeSlot(); in CreateDynamicSprite() local
597 if (gotSlot <= 0) in CreateDynamicSprite()
609 add_dynamic_sprite(gotSlot, newPic); in CreateDynamicSprite()
610 return gotSlot; in CreateDynamicSprite()
/dports/devel/folly/folly-2021.12.27.00/folly/
H A DSharedMutex.h1725 bool gotSlot = deferredReader(slot)->compare_exchange_strong( in lockSharedImpl() local
1738 if (!gotSlot) { in lockSharedImpl()
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/Folly/folly/
H A DSharedMutex.h1668 bool gotSlot = deferredReader(slot)->compare_exchange_strong( in lockSharedImpl() local
1681 if (!gotSlot) { in lockSharedImpl()
/dports/games/scummvm/scummvm-2.5.1/engines/ags/plugins/core/
H A Dglobal_api.cpp569 PARAMS1(int, gotSlot); in free_dynamic_sprite()
570 AGS3::free_dynamic_sprite(gotSlot); in free_dynamic_sprite()
1439 PARAMS5(int, xx, int, yy, int, gotSlot, int, width, int, height); in RawDrawImageResized()
1440 AGS3::RawDrawImageResized(xx, yy, gotSlot, width, height); in RawDrawImageResized()