/dports/games/opentyrian/opentyrian-opentyrian-77a8715634e3/src/ |
H A D | fonthand.c | 84 if (sprite_id != -1) in JE_dString() 89 x += sprite(font, sprite_id)->width + 1; in JE_dString() 111 else if (sprite_id != -1) in JE_textWidth() 112 x += sprite(font, sprite_id)->width + 1; in JE_textWidth() 161 if (sprite_id != -1 && sprite_exists(TINY_FONT, sprite_id)) in JE_outText() 185 else if (sprite_id != -1) in JE_outTextModify() 189 x += sprite(font, sprite_id)->width + 1; in JE_outTextModify() 213 if (sprite_id != -1 && sprite_exists(TINY_FONT, sprite_id)) in JE_outTextAdjust() 219 x += sprite(font, sprite_id)->width + 1; in JE_outTextAdjust() 245 if (sprite_id != -1 && sprite_exists(TINY_FONT, sprite_id)) in JE_outTextAndDarken() [all …]
|
H A D | font.c | 136 int sprite_id = font_ascii[(unsigned char)*text]; in draw_font_hv() local 153 if (sprite_id != -1 && sprite_exists(font, sprite_id)) in draw_font_hv() 155 blit_sprite_hv(surface, x, y, font, sprite_id, hue, value); in draw_font_hv() 157 x += sprite(font, sprite_id)->width + 1; in draw_font_hv() 197 int sprite_id = font_ascii[(unsigned char)*text]; in draw_font_hv_blend() local 209 if (sprite_id != -1 && sprite_exists(font, sprite_id)) in draw_font_hv_blend() 213 x += sprite(font, sprite_id)->width + 1; in draw_font_hv_blend() 253 int sprite_id = font_ascii[(unsigned char)*text]; in draw_font_dark() local 265 if (sprite_id != -1 && sprite_exists(font, sprite_id)) in draw_font_dark() 267 blit_sprite_dark(surface, x, y, font, sprite_id, black); in draw_font_dark() [all …]
|
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/piston2d-sprite-0.55.0/src/ |
H A D | scene.rs | 92 for sprite_id in self.dead_sprites.iter() { in prune_dead_sprites() 93 let n = self.running_for_child(*sprite_id) in prune_dead_sprites() 97 to_remove.insert(*sprite_id); in prune_dead_sprites() 101 for sprite_id in to_remove.iter() { in prune_dead_sprites() 102 self.remove_child(*sprite_id); in prune_dead_sprites() 124 let animations = match self.running.entry(sprite_id) { in run() 147 if let Some(index) = self.find(sprite_id, animation) { in pause() 156 if let Some(index) = self.find(sprite_id, animation) { in resume() 180 pub fn stop_all(&mut self, sprite_id: Uuid) { in stop_all() 181 self.running.remove(&sprite_id); in stop_all() [all …]
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/ |
H A D | cdtoons.c | 200 uint16_t sprite_id; in cdtoons_decode_frame() local 205 sprite_id = bytestream_get_be16(&buf); in cdtoons_decode_frame() 206 if (sprite_id >= CDTOONS_MAX_SPRITES) { in cdtoons_decode_frame() 211 if (c->sprites[sprite_id].active) { in cdtoons_decode_frame() 234 av_fast_padded_malloc(&c->sprites[sprite_id].data, &c->sprites[sprite_id].alloc_size, size); in cdtoons_decode_frame() 235 if (!c->sprites[sprite_id].data) in cdtoons_decode_frame() 238 c->sprites[sprite_id].active = 1; in cdtoons_decode_frame() 305 uint16_t sprite_id, width, height; in cdtoons_decode_frame() local 313 sprite_id = bytestream_get_be16(&buf); in cdtoons_decode_frame() 319 if ((i == 0) && (sprite_id == 0)) { in cdtoons_decode_frame() [all …]
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/ |
H A D | cdtoons.c | 200 uint16_t sprite_id; in cdtoons_decode_frame() local 205 sprite_id = bytestream_get_be16(&buf); in cdtoons_decode_frame() 206 if (sprite_id >= CDTOONS_MAX_SPRITES) { in cdtoons_decode_frame() 211 if (c->sprites[sprite_id].active) { in cdtoons_decode_frame() 234 av_fast_padded_malloc(&c->sprites[sprite_id].data, &c->sprites[sprite_id].alloc_size, size); in cdtoons_decode_frame() 235 if (!c->sprites[sprite_id].data) in cdtoons_decode_frame() 238 c->sprites[sprite_id].active = 1; in cdtoons_decode_frame() 305 uint16_t sprite_id, width, height; in cdtoons_decode_frame() local 313 sprite_id = bytestream_get_be16(&buf); in cdtoons_decode_frame() 319 if ((i == 0) && (sprite_id == 0)) { in cdtoons_decode_frame() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/ |
H A D | cdtoons.c | 193 uint16_t sprite_id; in cdtoons_decode_frame() local 198 sprite_id = bytestream_get_be16(&buf); in cdtoons_decode_frame() 199 if (sprite_id >= CDTOONS_MAX_SPRITES) { in cdtoons_decode_frame() 204 if (c->sprites[sprite_id].active) { in cdtoons_decode_frame() 227 av_fast_padded_malloc(&c->sprites[sprite_id].data, &c->sprites[sprite_id].alloc_size, size); in cdtoons_decode_frame() 228 if (!c->sprites[sprite_id].data) in cdtoons_decode_frame() 231 c->sprites[sprite_id].active = 1; in cdtoons_decode_frame() 298 uint16_t sprite_id, width, height; in cdtoons_decode_frame() local 306 sprite_id = bytestream_get_be16(&buf); in cdtoons_decode_frame() 312 if ((i == 0) && (sprite_id == 0)) { in cdtoons_decode_frame() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/ |
H A D | cdtoons.c | 200 uint16_t sprite_id; in cdtoons_decode_frame() local 205 sprite_id = bytestream_get_be16(&buf); in cdtoons_decode_frame() 206 if (sprite_id >= CDTOONS_MAX_SPRITES) { in cdtoons_decode_frame() 211 if (c->sprites[sprite_id].active) { in cdtoons_decode_frame() 234 av_fast_padded_malloc(&c->sprites[sprite_id].data, &c->sprites[sprite_id].alloc_size, size); in cdtoons_decode_frame() 235 if (!c->sprites[sprite_id].data) in cdtoons_decode_frame() 238 c->sprites[sprite_id].active = 1; in cdtoons_decode_frame() 305 uint16_t sprite_id, width, height; in cdtoons_decode_frame() local 313 sprite_id = bytestream_get_be16(&buf); in cdtoons_decode_frame() 319 if ((i == 0) && (sprite_id == 0)) { in cdtoons_decode_frame() [all …]
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/tools/quest_validator/ |
H A D | sprites.lua | 12 local function check_sprite(quest_path, sprite_id) 14 print("Checking sprite '" .. sprite_id .. "'") 30 local file = quest_path .. "sprites/" .. sprite_id .. ".dat" 33 report.error("Error in sprite '" .. sprite_id .. "': " .. error) 39 report.error("Error in sprite '" .. sprite_id .. "': " .. error) 56 local sprite_id = sprite_element.id 57 local sprite = check_sprite(quest_path, sprite_id) 58 sprites[sprite_id] = sprite
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/tests/src/tests/ |
H A D | SpriteData.cpp | 33 void check_sprite(TestEnvironment& /* env */, const std::string& sprite_id) { in check_sprite() argument 39 std::string file_name = "sprites/" + sprite_id + ".dat"; in check_sprite() 51 …std::cerr << "Sprite '" << sprite_id << "' differs from the original one after export." << std::en… in check_sprite() 54 Debug::die("Sprite '" + sprite_id + "': exported file differs from the original one"); in check_sprite() 71 const std::string& sprite_id = kvp.first; in main() local 72 std::string file_name = "sprites/" + sprite_id + ".dat"; in main() 74 check_sprite(env, sprite_id); in main()
|
/dports/games/bstone/bstone-1.1.9/src/ |
H A D | bstone_sprite_cache.cpp | 24 const int sprite_id) in cache() argument 26 if (sprite_id <= 0 || sprite_id >= max_sprites) in cache() 31 const auto sprite_data = ::PM_GetSpritePage(sprite_id); in cache() 38 auto& sprite = cache_[sprite_id]; in cache()
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/hero/ |
H A D | HeroSprites.cpp | 166 if (sprite_id == this->tunic_sprite_id) { in set_tunic_sprite_id() 170 this->tunic_sprite_id = sprite_id; in set_tunic_sprite_id() 237 this->sword_sprite_id = sprite_id; in set_sword_sprite_id() 253 if (!sprite_id.empty()) { in set_sword_sprite_id() 290 this->sword_stars_sprite_id = sprite_id; in set_sword_stars_sprite_id() 306 if (!sprite_id.empty()) { in set_sword_stars_sprite_id() 404 this->shield_sprite_id = sprite_id; in set_shield_sprite_id() 420 if (!sprite_id.empty()) { in set_shield_sprite_id() 1546 std::string sprite_id; in create_ground() local 1548 sprite_id = "hero/ground1"; in create_ground() [all …]
|
/dports/games/solarus-quest-editor/solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba/src/widgets/ |
H A D | shader_editor.cpp | 359 ui.preview_sprite_field->set_selected_id(sprite_id); in reload_settings() 787 if (sprite_id.isEmpty() || in preview_selected_sprite_changed() 789 !quest.exists(quest.get_sprite_path(sprite_id))) { in preview_selected_sprite_changed() 794 SpriteModel sprite(get_quest(), sprite_id); in preview_selected_sprite_changed() 805 if (!sprite_id.isEmpty() && in preview_sprite_animation_changed() 807 quest.exists(quest.get_sprite_path(sprite_id))) { in preview_sprite_animation_changed() 808 SpriteModel sprite(get_quest(), sprite_id); in preview_sprite_animation_changed() 864 if (!sprite_id.isEmpty()) { in update_preview_image() 884 if (!sprite_id.isEmpty() && in update_preview_image() 886 quest.exists(quest.get_sprite_path(sprite_id))) { in update_preview_image() [all …]
|
/dports/games/solarus-quest-editor/solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba/resources/quest_converter/1_0_to_1_1/ |
H A D | sprite_converter_1_0.lua | 9 local function load_sprite(quest_path, sprite_id) 11 local input_file_name = quest_path .. "/data/sprites/" .. sprite_id .. ".dat" 116 function converter.convert(quest_path, sprite_id) 118 local sprite = load_sprite(quest_path, sprite_id) 120 local output_file_name = quest_path .. "/data/sprites/" .. sprite_id .. ".dat"
|
/dports/games/opensonic/opensnc-src-0.1.4/src/entities/ |
H A D | player.c | 403 const char *sprite_id = get_sprite_id(player->type); in player_platform_movement() local 619 animation = sprite_get_animation(sprite_id, 1); in player_platform_movement() 633 animation = sprite_get_animation(sprite_id, 1); in player_platform_movement() 779 animation = sprite_get_animation(sprite_id, 7); in player_platform_movement() 799 animation = sprite_get_animation(sprite_id, 3); in player_platform_movement() 902 animation = sprite_get_animation(sprite_id, 1); in player_platform_movement() 905 …_get_animation(sprite_id, 0) || act->animation == sprite_get_animation(sprite_id, 10) || act->anim… in player_platform_movement() 906 animation = sprite_get_animation(sprite_id, 1); in player_platform_movement() 1170 animation = sprite_get_animation(sprite_id, 11); in player_platform_movement() 1202 animation = sprite_get_animation(sprite_id, 19); in player_platform_movement() [all …]
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tools/gfx_tools/ |
H A D | decompose.py | 129 for sprite_id in sprite_ids: 130 if (sprite_id < 0 or 131 sprite_id in refs.delete_pngnums): 133 if sprite_id not in all_pngnums: 134 all_pngnums.append(sprite_id) 135 if sprite_id not in local_pngnums: 136 local_pngnums.append(sprite_id) 370 for sprite_id in sprite_ids: 371 if (sprite_id >= 0 and 372 sprite_id not in self.delete_pngnums): [all …]
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tools/gfx_tools/ |
H A D | decompose.py | 129 for sprite_id in sprite_ids: 130 if (sprite_id < 0 or 131 sprite_id in refs.delete_pngnums): 133 if sprite_id not in all_pngnums: 134 all_pngnums.append(sprite_id) 135 if sprite_id not in local_pngnums: 136 local_pngnums.append(sprite_id) 370 for sprite_id in sprite_ids: 371 if (sprite_id >= 0 and 372 sprite_id not in self.delete_pngnums): [all …]
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/include/solarus/hero/ |
H A D | HeroSprites.h | 60 void set_tunic_sprite_id(const std::string& sprite_id); 62 void set_sword_sprite_id(const std::string& sprite_id); 64 void set_sword_stars_sprite_id(const std::string& sprite_id); 68 void set_shield_sprite_id(const std::string& sprite_id);
|
/dports/games/openomf/libShadowDive-b2c34a6/src/ |
H A D | script.c | 51 int sd_script_append_frame(sd_script *script, int tick_len, int sprite_id) { in sd_script_append_frame() argument 58 script->frames[script->frame_count].sprite = sprite_id; in sd_script_append_frame() 84 int sd_script_set_sprite_at_frame(sd_script *script, int frame_id, int sprite_id) { in sd_script_set_sprite_at_frame() argument 85 …pt == NULL || frame_id < 0 || frame_id >= script->frame_count || sprite_id < 0 || sprite_id > 25) { in sd_script_set_sprite_at_frame() 89 script->frames[frame_id].sprite = sprite_id; in sd_script_set_sprite_at_frame() 388 int sd_script_next_frame_with_sprite(const sd_script *script, int sprite_id, int current_tick) { in sd_script_next_frame_with_sprite() argument 391 if(sprite_id < 0) in sd_script_next_frame_with_sprite() 400 if(current_tick < pos && sprite_id == script->frames[i].sprite) { in sd_script_next_frame_with_sprite()
|
/dports/games/openomf/libShadowDive-b2c34a6/include/shadowdive/ |
H A D | script.h | 333 int sd_script_next_frame_with_sprite(const sd_script *script, int sprite_id, int current_tick); 393 int sd_script_append_frame(sd_script *script, int tick_len, int sprite_id); 431 int sd_script_set_sprite_at_frame(sd_script *script, int frame_id, int sprite_id);
|
/dports/games/easyrpg-player/Player-0.7.0/tests/ |
H A D | game_character_moveto.cpp | 20 const std::string& sprite_graphic, int sprite_id) { in testChar() argument 31 CAPTURE(sprite_id); in testChar() 43 REQUIRE_EQ(ch.GetSpriteIndex(), sprite_id); in testChar()
|
/dports/games/liblcf/liblcf-0.7.0/src/generated/lcf/lsd/ |
H A D | chunks.h | 390 sprite_id = 0x4A, enumerator 504 sprite_id = 0x4A, enumerator 538 sprite_id = 0x0C, enumerator 798 sprite_id = 0x4A, enumerator 880 sprite_id = 0x4A, enumerator
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/slic3r/GUI/Gizmos/ |
H A D | GLGizmoSeam.hpp | 13 GLGizmoSeam(GLCanvas3D& parent, const std::string& icon_filename, unsigned int sprite_id) in GLGizmoSeam() argument 14 : GLGizmoPainterBase(parent, icon_filename, sprite_id) {} in GLGizmoSeam()
|
H A D | GLGizmoFdmSupports.hpp | 13 GLGizmoFdmSupports(GLCanvas3D& parent, const std::string& icon_filename, unsigned int sprite_id) in GLGizmoFdmSupports() argument 14 : GLGizmoPainterBase(parent, icon_filename, sprite_id) {} in GLGizmoFdmSupports()
|
/dports/games/solarus-quest-editor/solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba/assets/initial_quest/data/enemies/ |
H A D | explosion.lua | 23 function enemy:prepare_explosion_sprite(sprite_id, sprite_animation, direction) 28 local id = sprite_id or "destructibles/vase_purple"
|
/dports/games/openttd/openttd-12.1/src/ |
H A D | gfxinit.cpp | 48 uint sprite_id = 0; in LoadGrfFile() local 63 while (LoadNextSprite(load_index, file, sprite_id)) { in LoadGrfFile() 65 sprite_id++; in LoadGrfFile() 85 uint sprite_id = 0; in LoadGrfFileIndexed() local 104 [[maybe_unused]] bool b = LoadNextSprite(start, file, sprite_id); in LoadGrfFileIndexed() 106 sprite_id++; in LoadGrfFileIndexed()
|