A question of unit_animation::get_end_time()
Moderator: Forum Moderators
A question of unit_animation::get_end_time()
Code: Select all
int unit_animation::get_end_time() const
{
int result = unit_anim_.get_end_time();
std::map<std::string,particule>::const_iterator anim_itor =sub_anims_.end();
for( /*null*/; anim_itor != sub_anims_.end() ; ++anim_itor) {
result= std::max<int>(result,anim_itor->second.get_end_time());
}
return result;
}
Code: Select all
std::map<std::string,particule>::const_iterator anim_itor = sub_anims_.end();
Re: A question of unit_animation::get_end_time()
Maybe you might want to post which files you are looking at, if it is the dev branch you are looking at and -- most importanly -- what it is you are trying to achieve?
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: A question of unit_animation::get_end_time()
As you may have guessed, that code can be seen in unit_animation.cpp in trunk.
The question is perfectly valid. I would try to catch boucman in IRC #wesnoth-dev and ask there, perhaps you spotted a bug.
The question is perfectly valid. I would try to catch boucman in IRC #wesnoth-dev and ask there, perhaps you spotted a bug.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Re: A question of unit_animation::get_end_time()
wow
huh
yes...
obviously wrong here... I need to do a git checkout to fix that... unless someone beats me to it
huh
yes...
obviously wrong here... I need to do a git checkout to fix that... unless someone beats me to it
Fight key loggers: write some perl using vim
Re: A question of unit_animation::get_end_time()
that was fast, thx a million
Fight key loggers: write some perl using vim