alliedmodders/sourcemod — pull request #226 by powerlord (2014-12-16 21:27:46+00:00)
Title: More New API changes for MapChooser, Nominations, RockTheVote, RandomCycle, and NextMap

This depends on [pull request 225](https://github.com/alliedmodders/sourcemod/pull/225) and mapchooser will not compile without it.

Changes include things like:

* Converting old style variable declaration to new style
* Converting old-style casts to view_as
* Converting from Handle to ArrayList where adt_arrays are being used.

There are also misc cleanups that were missed prior to this:

* Converting hard-coded iength for map names to be PLATFORM_MAX_PATH instead of 32, 33, or 64.
* Converting hard-coded lengths for client names to MAX_NAME_LENGTH+1 (yay null terminator).

Note: This is only the first upgrade I have planned for MapChooser. I also have plans for introducing fixes for various issues with different games, but those need more testing.