Commits

Author Commit Message Labels Comments Date
David Stone
Moved the opponent's name to be the first argument for my Battle constructor.
David Stone
Moved the NoPendingChallenges exception out of network code.
David Stone
Removed random string generation into its own header file.
David Stone
Removed responses from the header file.
David Stone
Removed Technical Machine's random responses.
David Stone
Added an assertion to Battles.
David Stone
Removed an unused taunt_foe function.
David Stone
Set the max depth that avoids a warning to 4, and made it a named constant rather than a 'magic number'.
David Stone
Removed many of Battle's dependencies on network::Client.
David Stone
Removed taunting the foe from update_from_previous_turn
David Stone
Renamed GenericClient to Client.
David Stone
Renamed GenericBattle to Battle.
David Stone
Added basis for Pokemon Showdown support.
David Stone
Removed accidental function in header of PO client code.
David Stone
Annotated a few functions const / static based on the results of cppcheck.
David Stone
Added some move reordering to speed up Technical Machine.
David Stone
Removed all copying of move scores around by essentially removing the move reordering. Will add it back in, but now I have baseline performance to compare with.
David Stone
Fixed a sorting bug caused by checking if something wasn't inserted instead of if it was. Sped up the move ordering process by just sorting it correctly the first time, instead of sorting it in reverse half of the time and then reversing it.
David Stone
Allowed stats to be accessed via their enumerated name rather than specially named functions. This allows more generic code, with easy constructs such as looping over every stat (or any subset).
David Stone
Reduced the size of Pokemon by 16 bytes by using a std::array instead of a std::vector.
David Stone
Removed state that represented whether a move is physical or special and instead calculate it as needed.
David Stone
Removed state that represents priority and just calculate it directly.
David Stone
Moved the random damage out of Move and into ActivePokemon.
David Stone
Fixed unintentional fall-through in variable.cpp
David Stone
Added gcc warning about unused but set variables.
David Stone
Reduced some unneeded padding in classes.
David Stone
Fixed a few bugs in object size reporting.
David Stone
Include what I use in detailed_stats.cpp
David Stone
Made implementation of DetailedStats private.
David Stone
Changed detailed stats from a tab separated file to an xml file.
  1. Prev
  2. Next