/dports/games/ags/ags_linux_v.3.4.4.1/Engine/ac/ |
H A D | dynamicsprite.cpp | 307 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 D | global_dynamicsprite.cpp | 43 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 D | global_drawingsurface.cpp | 248 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 D | global_game.cpp | 171 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 D | dynamicsprite.h | 48 void add_dynamic_sprite(int gotSlot, Common::Bitmap *redin, bool hasAlpha = false); 49 void free_dynamic_sprite (int gotSlot);
|
H A D | global_drawingsurface.h | 38 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 D | dynamic_sprite.cpp | 307 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 D | global_dynamic_sprite.cpp | 48 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 D | global_game.cpp | 149 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 D | global_drawing_surface.cpp | 229 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 D | dynamic_sprite.h | 55 void add_dynamic_sprite(int gotSlot, Shared::Bitmap *redin, bool hasAlpha = false); 56 void free_dynamic_sprite(int gotSlot);
|
H A D | global_drawing_surface.h | 45 void RawDrawImageResized(int xx, int yy, int gotSlot, int width, int height);
|
/dports/games/scummvm/scummvm-2.5.1/engines/sludge/ |
H A D | sound.cpp | 165 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 D | sound.cpp | 170 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 D | ags_plugin.cpp | 573 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 D | agsplugin.cpp | 596 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 D | SharedMutex.h | 1725 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 D | SharedMutex.h | 1668 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 D | global_api.cpp | 569 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()
|