/dports/games/openrct2/OpenRCT2-0.3.5.1/test/testpaint/ |
H A D | FunctionCall.cpp | 26 static SpriteGroup getSpriteGroup(uint16_t spriteIndex); 158 static SpriteGroup getSpriteGroup(uint16_t spriteIndex) in getSpriteGroup() argument 160 if (spriteIndex >= 14568 && spriteIndex <= 14571) in getSpriteGroup() 165 if (spriteIndex >= 14990 && spriteIndex <= 14993) in getSpriteGroup() 170 if (spriteIndex >= 20564 && spriteIndex <= 20567) in getSpriteGroup() 175 if (spriteIndex >= 22134 && spriteIndex <= 22137) in getSpriteGroup() 180 if (spriteIndex >= 22138 && spriteIndex <= 22141) in getSpriteGroup()
|
/dports/games/emptyepsilon/SeriousProton-EE-2021.06.23/src/ |
H A D | textureManager.cpp | 19 void TextureManager::setTexture(sf::Sprite& sprite, const string& name, unsigned int spriteIndex) in setTexture() argument 25 if (spriteIndex < data.sprites.size()) in setTexture() 28 sprite.setTextureRect(data.sprites[spriteIndex]); in setTexture() 29 …sprite.setOrigin(float(data.sprites[spriteIndex].width) / 2, float(data.sprites[spriteIndex].heigh… in setTexture() 46 const sf::IntRect TextureManager::getSpriteRect(const string& name, unsigned int spriteIndex) in getSpriteRect() argument 52 if (spriteIndex < data.sprites.size()) in getSpriteRect() 53 return data.sprites[spriteIndex]; in getSpriteRect() 58 void TextureManager::setSpriteRect(const string& name, unsigned int spriteIndex, const sf::IntRect … in setSpriteRect() argument 64 if (spriteIndex < data.sprites.size()) in setSpriteRect() 65 data.sprites[spriteIndex] = rect; in setSpriteRect()
|
H A D | textureManager.h | 34 void setTexture(sf::Sprite& sprite, const string& name, unsigned int spriteIndex = 0); 35 const sf::IntRect getSpriteRect(const string& name, unsigned int spriteIndex = 0); 36 void setSpriteRect(const string& name, unsigned int spriteIndex, const sf::IntRect rect);
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/ |
H A D | CmdlineSprite.cpp | 287 int32_t spriteIndex = atoi(argv[2]); in cmdline_for_sprite() local 295 if (spriteIndex < 0 || spriteIndex >= static_cast<int32_t>(spriteFile->Header.num_entries)) in cmdline_for_sprite() 301 rct_g1_element* g1 = &spriteFile->Entries[spriteIndex]; in cmdline_for_sprite() 319 int32_t spriteIndex = atoi(argv[2]); in cmdline_for_sprite() local 328 if (spriteIndex < 0 || spriteIndex >= static_cast<int32_t>(spriteFile->Header.num_entries)) in cmdline_for_sprite() 334 const auto& spriteHeader = spriteFile->Entries[spriteIndex]; in cmdline_for_sprite() 386 for (int32_t spriteIndex = 0; spriteIndex < maxIndex; spriteIndex++) in cmdline_for_sprite() local 388 if (spriteIndex % 100 == 99) in cmdline_for_sprite() 391 printf("\r%d / %d, %d%%", spriteIndex, maxIndex, spriteIndex / maxIndex); in cmdline_for_sprite() 394 const auto& spriteHeader = spriteFile->Entries[spriteIndex]; in cmdline_for_sprite() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/source/duke3d/src/ |
H A D | network.cpp | 474 Bassert(spriteIndex >= 0); in Net_InsertScratchPadSprite() 490 if(spriteIndex >= MAXSPRITES) in Net_DeleteFromSect() 556 …for (spriteIndex = headscratchpadsprite; spriteIndex >= 0; spriteIndex = nextscratchpadsprite[spri… in Net_DeleteAllScratchPadSprites() 693 …for (int32_t spriteIndex = headspritestat[statnum]; spriteIndex >= 0; spriteIndex = nextspritestat… in Test_Iterate() local 708 …for (int32_t spriteIndex = headspritesect[sectnum]; spriteIndex >= 0; spriteIndex = nextspritesect… in Test_Iterate() local 722 if ((spriteIndex >= MAXSPRITES) || (spriteIndex < 0)) in Net_UpdateSpriteLinkedLists() 827 (nextspritesect[spriteIndex] == spriteIndex) in Net_UpdateSpriteLinkedLists() 828 && (nextspritestat[spriteIndex] == spriteIndex) in Net_UpdateSpriteLinkedLists() 5147 int32_t spriteIndex; in Net_NotifyNewGame() local 5161 for (; spriteIndex >= 0; spriteIndex = nextspritestat[spriteIndex]) in Net_NotifyNewGame() [all …]
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/actions/ |
H A D | GameActionCompat.cpp | 114 void guest_set_name(uint16_t spriteIndex, const char* name) in guest_set_name() argument 116 auto gameAction = GuestSetNameAction(spriteIndex, name); in guest_set_name() 123 void staff_set_name(uint16_t spriteIndex, const char* name) in staff_set_name() argument 125 auto gameAction = StaffSetNameAction(spriteIndex, name); in staff_set_name()
|
H A D | BalloonPressAction.cpp | 16 BalloonPressAction::BalloonPressAction(uint16_t spriteIndex) in BalloonPressAction() argument 17 : _spriteIndex(spriteIndex) in BalloonPressAction()
|
H A D | StaffSetOrdersAction.cpp | 20 StaffSetOrdersAction::StaffSetOrdersAction(uint16_t spriteIndex, uint8_t ordersId) in StaffSetOrdersAction() argument 21 : _spriteIndex(spriteIndex) in StaffSetOrdersAction()
|
H A D | StaffSetNameAction.cpp | 24 StaffSetNameAction::StaffSetNameAction(uint16_t spriteIndex, const std::string& name) in StaffSetNameAction() argument 25 : _spriteIndex(spriteIndex) in StaffSetNameAction()
|
H A D | GuestSetNameAction.cpp | 23 GuestSetNameAction::GuestSetNameAction(uint16_t spriteIndex, const std::string& name) in GuestSetNameAction() argument 24 : _spriteIndex(spriteIndex) in GuestSetNameAction()
|
H A D | StaffSetCostumeAction.cpp | 39 StaffSetCostumeAction::StaffSetCostumeAction(uint16_t spriteIndex, EntertainerCostume costume) in StaffSetCostumeAction() argument 40 : _spriteIndex(spriteIndex) in StaffSetCostumeAction()
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/gpu/ops/ |
H A D | GrDrawAtlasOp.cpp | 58 for (int spriteIndex = 0; spriteIndex < spriteCount; ++spriteIndex) { in GrDrawAtlasOp() local 61 const SkRect& currRect = rects[spriteIndex]; in GrDrawAtlasOp() 62 xforms[spriteIndex].toTriStrip(currRect.width(), currRect.height(), strip); in GrDrawAtlasOp() 67 SkColor color = colors[spriteIndex]; in GrDrawAtlasOp()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/gpu/batches/ |
H A D | GrDrawAtlasBatch.cpp | 115 for (int spriteIndex = 0; spriteIndex < spriteCount; ++spriteIndex) { in GrDrawAtlasBatch() local 118 const SkRect& currRect = rects[spriteIndex]; in GrDrawAtlasBatch() 119 xforms[spriteIndex].toQuad(currRect.width(), currRect.height(), quad); in GrDrawAtlasBatch() 124 SkColor color = colors[spriteIndex]; in GrDrawAtlasBatch()
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/world/ |
H A D | Sprite.cpp | 140 EntityBase* try_get_sprite(size_t spriteIndex) in try_get_sprite() argument 142 return spriteIndex >= MAX_ENTITIES ? nullptr : &_spriteList[spriteIndex].base; in try_get_sprite() 145 EntityBase* get_sprite(size_t spriteIndex) in get_sprite() argument 147 if (spriteIndex == SPRITE_INDEX_NULL) in get_sprite() 151 openrct2_assert(spriteIndex < MAX_ENTITIES, "Tried getting sprite %u", spriteIndex); in get_sprite() 152 return try_get_sprite(spriteIndex); in get_sprite()
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/ops/ |
H A D | GrDrawAtlasOp.cpp | 120 for (int spriteIndex = 0; spriteIndex < spriteCount; ++spriteIndex) { in DrawAtlasOp() local 123 const SkRect& currRect = rects[spriteIndex]; in DrawAtlasOp() 124 xforms[spriteIndex].toTriStrip(currRect.width(), currRect.height(), strip); in DrawAtlasOp() 129 SkColor color = colors[spriteIndex]; in DrawAtlasOp()
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/ops/ |
H A D | GrDrawAtlasOp.cpp | 120 for (int spriteIndex = 0; spriteIndex < spriteCount; ++spriteIndex) { in DrawAtlasOp() local 123 const SkRect& currRect = rects[spriteIndex]; in DrawAtlasOp() 124 xforms[spriteIndex].toTriStrip(currRect.width(), currRect.height(), strip); in DrawAtlasOp() 129 SkColor color = colors[spriteIndex]; in DrawAtlasOp()
|
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/ops/ |
H A D | GrDrawAtlasOp.cpp | 120 for (int spriteIndex = 0; spriteIndex < spriteCount; ++spriteIndex) { in DrawAtlasOp() local 123 const SkRect& currRect = rects[spriteIndex]; in DrawAtlasOp() 124 xforms[spriteIndex].toTriStrip(currRect.width(), currRect.height(), strip); in DrawAtlasOp() 129 SkColor color = colors[spriteIndex]; in DrawAtlasOp()
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/ops/ |
H A D | GrDrawAtlasOp.cpp | 120 for (int spriteIndex = 0; spriteIndex < spriteCount; ++spriteIndex) { in DrawAtlasOp() local 123 const SkRect& currRect = rects[spriteIndex]; in DrawAtlasOp() 124 xforms[spriteIndex].toTriStrip(currRect.width(), currRect.height(), strip); in DrawAtlasOp() 129 SkColor color = colors[spriteIndex]; in DrawAtlasOp()
|
/dports/games/passage/Passage_v4_UnixSource/gamma256/prototypes/screenCompress/ |
H A D | screenCompress.cpp | 204 int spriteIndex = spriteY * spriteW + spriteX; in sampleFromWorld() local 207 spriteIndex += currentSpriteIndex * spriteW * ( spriteH + 1 ); in sampleFromWorld() 209 if( !isSpriteTransparent( spriteIndex ) ) { in sampleFromWorld() 213 inWeight * spriteRed[ spriteIndex ] ); in sampleFromWorld() 217 inWeight * spriteGreen[ spriteIndex ] ); in sampleFromWorld() 221 inWeight * spriteBlue[ spriteIndex ] ); in sampleFromWorld()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/ops/ |
H A D | GrDrawAtlasOp.cpp | 136 for (int spriteIndex = 0; spriteIndex < spriteCount; ++spriteIndex) { in DrawAtlasOp() local 139 const SkRect& currRect = rects[spriteIndex]; in DrawAtlasOp() 140 xforms[spriteIndex].toTriStrip(currRect.width(), currRect.height(), strip); in DrawAtlasOp() 145 SkColor color = colors[spriteIndex]; in DrawAtlasOp()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/ops/ |
H A D | GrDrawAtlasOp.cpp | 137 for (int spriteIndex = 0; spriteIndex < spriteCount; ++spriteIndex) { in DrawAtlasOp() local 140 const SkRect& currRect = rects[spriteIndex]; in DrawAtlasOp() 141 xforms[spriteIndex].toTriStrip(currRect.width(), currRect.height(), strip); in DrawAtlasOp() 146 SkColor color = colors[spriteIndex]; in DrawAtlasOp()
|
/dports/games/scummvm/scummvm-2.5.1/engines/twine/parser/ |
H A D | entity.cpp | 89 action.spriteIndex = stream.readByte(); in loadAnim() 98 action.spriteIndex = stream.readByte(); in loadAnim() 121 action.spriteIndex = stream.readByte(); in loadAnim() 133 action.spriteIndex = stream.readByte(); in loadAnim()
|
/dports/games/scummvm/scummvm-2.5.1/engines/hopkins/ |
H A D | objects.h | 186 int getOffsetX(const byte *spriteData, int spriteIndex, bool isSize); 187 int getOffsetY(const byte *spriteData, int spriteIndex, bool isSize); 255 …void addStaticSprite(const byte *spriteData, Common::Point pos, int idx, int spriteIndex, int zoom… 262 void setSpriteIndex(int idx, int spriteIndex);
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/hopkins/ |
H A D | objects.h | 186 int getOffsetX(const byte *spriteData, int spriteIndex, bool isSize); 187 int getOffsetY(const byte *spriteData, int spriteIndex, bool isSize); 255 …void addStaticSprite(const byte *spriteData, Common::Point pos, int idx, int spriteIndex, int zoom… 262 void setSpriteIndex(int idx, int spriteIndex);
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/ride/thrill/ |
H A D | MotionSimulator.cpp | 50 uint16_t spriteIndex = ride->vehicles[0]; in paint_motionsimulator_vehicle() local 51 if (spriteIndex != SPRITE_INDEX_NULL) in paint_motionsimulator_vehicle() 53 vehicle = GetEntity<Vehicle>(spriteIndex); in paint_motionsimulator_vehicle()
|