Code consistency

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11278 3b4652a1-8050-0410-ac47-3d40261b0f8b
Alphabet Soup

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11279 3b4652a1-8050-0410-ac47-3d40261b0f8b
Fix spell info display issues with the new resource system.


git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11280 3b4652a1-8050-0410-ac47-3d40261b0f8b
Move chart_t into the report part of SimC, decouple it from the main
global namespace.

sim_t::report_information_t and player_t::report_information_t are
intended to contain the neccessary report information, and I'll probably
extend this even further and create them for other classes as well.

One goal here is to pass if possible only the absolutely necessary
information to a report function, without it doing whatever it will with
a player or sim pointer.

There have also been a lot of const char* to std::string changes, and I
added a color namespace similar to the one we have in simc-swtor.

This revision throws a std::logic_error when reporting the html and
needs to be fixed.

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11281 3b4652a1-8050-0410-ac47-3d40261b0f8b
Fix std::logic_error with a string function returning a nullptr.

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11282 3b4652a1-8050-0410-ac47-3d40261b0f8b
Start migrating report_t into report/sc_report.hpp:report

Extend google_chart helper class.

Cleanup chart creation and simulation analysis.

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11283 3b4652a1-8050-0410-ac47-3d40261b0f8b
Move scaling_t::analyze_gear_weight() to player report generation

Fix bug with report_t::print_suite() returning report::print_html()
instead of report::print_suite().

And more cleanup.

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11284 3b4652a1-8050-0410-ac47-3d40261b0f8b
Move encode_html from report_t to util_t

Add some more const parameters, further cleanup.

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11285 3b4652a1-8050-0410-ac47-3d40261b0f8b
Fix crash when trying to create std::string from const
char * spell_id_t::desc() which can be null.

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11286 3b4652a1-8050-0410-ac47-3d40261b0f8b
Tmp: commit current work on const-correctness. Not compiling!

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11287 3b4652a1-8050-0410-ac47-3d40261b0f8b
Remove /engine/sc_chart.cpp

Update build files to include /engine/report/sc_chart.cpp

small adjustements

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11288 3b4652a1-8050-0410-ac47-3d40261b0f8b
Revert some of the const madness on player_t::create_profile()

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11289 3b4652a1-8050-0410-ac47-3d40261b0f8b
const madness in sc_report_html_sim.cpp

small cleanup

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11290 3b4652a1-8050-0410-ac47-3d40261b0f8b
Make player_t::decode_set const

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11291 3b4652a1-8050-0410-ac47-3d40261b0f8b
change chart::gains

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11292 3b4652a1-8050-0410-ac47-3d40261b0f8b
Fix resource gains and timeline chart.

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11293 3b4652a1-8050-0410-ac47-3d40261b0f8b
Cherry-Pick commit
http://code.google.com/p/simulationcraft-swtor/source/detail?r=861b4f175bcf95e8caaf579deb59081296a36501
. Author = cartec69

We want fixed representation - not scientific - from util_t::to_string.

Conflicts:

	engine/sc_util.cpp
	engine/simulationcraft.hpp

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11297 3b4652a1-8050-0410-ac47-3d40261b0f8b
Allow restart_sequence to restart a sequence once a millisecond, even if no actions have run since it was last restarted. Avoids sequences becoming "locked" after making a full pass through the sequence with no actions ready (e.g., movement scenario).

convert back to c++98

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11298 3b4652a1-8050-0410-ac47-3d40261b0f8b
Priest: cleanup shadowy apparitions stats
add stats_t::stats_result_t::analyze() and move things to it.

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11299 3b4652a1-8050-0410-ac47-3d40261b0f8b
Use more std::array's and some std/range functions.

git-svn-id: https://simulationcraft.googlecode.com/svn/branches/mop@11300 3b4652a1-8050-0410-ac47-3d40261b0f8b