for (map<string, int*>::iterator j = targets.begin(); j != targets.end(); ++j)
{
- int maxguns = (*j->second)/total * guns;
+ float maxguns = float((*j->second))/total * guns;
cerr << "Now shooting at target: " << j->first << endl;
double k = maxguns;
string unittype = i->second;
- cerr << "Initiative: " << s_Units[unittype].initiative() << " with unit: " << unittype << endl;
+ //cerr << "Initiative: " << s_Units[unittype].initiative() << " with unit: " << unittype << endl;
if (s_Units[unittype].type() == "EMP")
{
[Config for BinMakefileAm]
addcxxflags=
-bin_program=bs
-cxxflags=-O0 -g3 -Wall
+bin_program=hbs
+cflags=
+cppflags=
+cxxflags=\s-O0 -g3 -Wall
ldadd=
-ldflags=
+ldflags=\s
libtool_dir=
path_to_bin_program=bs
[General]
AMChanged=false
author=Michael Andreen
+configure_args=\s--build=i386-linux --host=i386-linux --target=i386-linux\s
dir_where_make_will_be_called=./
email=whale@linux.nu
kdevprj_version=1.3
lfv_open_groups=
-make_options=-j1 -W/home/whale/c++/gfxtar/blaha
+make_options=\s-j1
makefiles=Makefile.am,bs/Makefile.am,bs/docs/Makefile.am,bs/docs/en/Makefile.am,po/Makefile.am
modifyMakefiles=true
project_name=Bc