mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-09 17:05:14 +00:00
another lower case mod
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@390 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
@ -235,7 +235,7 @@ CustomWave::CustomWave(int _id):
|
||||
|
||||
}
|
||||
|
||||
if ((param = Param::new_param_bool("bUseDots", P_FLAG_NONE, &this->bUseDots, 1, 0, 0)) == NULL)
|
||||
if ((param = Param::new_param_bool("busedots", P_FLAG_NONE, &this->bUseDots, 1, 0, 0)) == NULL)
|
||||
{
|
||||
delete(this);
|
||||
/// @bug make exception
|
||||
@ -248,7 +248,7 @@ CustomWave::CustomWave(int _id):
|
||||
abort();
|
||||
}
|
||||
|
||||
if ((param = Param::new_param_bool("bAdditive", P_FLAG_NONE, &this->bAdditive, 1, 0, 0)) == NULL)
|
||||
if ((param = Param::new_param_bool("badditive", P_FLAG_NONE, &this->bAdditive, 1, 0, 0)) == NULL)
|
||||
{
|
||||
delete(this);
|
||||
abort();
|
||||
|
||||
@ -169,10 +169,18 @@ token_t Parser::parseToken(std::istream & fs, char * string) {
|
||||
|
||||
}
|
||||
std::cerr << "parsed away =" << std::endl;
|
||||
--i;
|
||||
break;
|
||||
--i;
|
||||
|
||||
// if (fs && fs.get() == '\n') {
|
||||
// line_mode = NORMAL_LINE_MODE;
|
||||
// return tEOL;
|
||||
// } else if (fs)
|
||||
//fs.unget();
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
|
||||
line_mode = NORMAL_LINE_MODE;
|
||||
return tEOL;
|
||||
case ',':
|
||||
|
||||
@ -194,6 +194,10 @@ void Preset::evalCustomWavePerFrameEquations()
|
||||
{
|
||||
assert(_pos->second);
|
||||
_pos->second->evaluate();
|
||||
|
||||
// if (_pos->second->param->name =="busedots")
|
||||
// std::cerr << "busedots: " << (*(bool*)_pos->second->param->engine_val) << std::endl;
|
||||
// else std::cerr << "name: " << _pos->second->param->name <<std::endl;
|
||||
}
|
||||
|
||||
std::map<int, PerFrameEqn*> & per_frame_eqn_tree = (*pos)->per_frame_eqn_tree;
|
||||
|
||||
Reference in New Issue
Block a user