- fixed: PillarAlienPower must loop its state.


git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4279 a95907f1-e10c-0410-b46f-9e587ccb1026
- Added CVARINFO lump support. This is a lump for defining mod-specific cvars and takes entries
  of the form:
    <scope> [noarchive] <type> <name> [= <defaultvalue>];
  Where <scope> is one of:
  * server: This cvar is shared by all players, and in network games, only select players can
    change it.
  * user: Each player has their own copy of this cvar, which they can change independently.
  To prevent the cvar from being written to the config file, add noarchive to its definition.
  <Type> is one of:
  * int: An integral value. Defaults to 0.
  * float: A value that can include a fraction. Defaults to 0.0.
  * color: A color value. Default to black ("00 00 00").
  * bool: A boolean value that can hold either true or false. Defaults to false.
  * string: A string value. It's not too useful for mods but is included for completeness. Defaults to "".
  <Name> is the cvar's name and must begin with a letter and may only include alphanumeric
  characters and the underscore character.
  If you wish a non-standard default add an = character after the cvar's name followed by the
  default value you want to use. Example:
    server int mymod_coolness = 10;
- Fixed: FStringCVar::SetGenericRepDefault() did not make a copy of the input string.

git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4280 a95907f1-e10c-0410-b46f-9e587ccb1026
- Renamed CVAR_NOSEND to CVAR_IGNORE to better reflect its intent.
- Separated CVAR_MODARCHIVE into CVAR_MOD|CVAR_ARCHIVE so that mod-defined cvars can still be
  identified when they aren't meant to be archived.

git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4281 a95907f1-e10c-0410-b46f-9e587ccb1026
- re-fixed r4279.


git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4282 a95907f1-e10c-0410-b46f-9e587ccb1026
- Added three new ACS functions:
  * int GetUserCVar(int playernum, "cvarname")
  * bool SetCVar("cvarname", newvalue)
  * bool SetUserCVar(int playernum, "cvarname", newvalue)
  GetUserCVar is analogous to GetCVar, except it returns the value of a user cvar for a
  specific player. (All user cvars can be examined using the playerinfo console command.)
  SetCVar sets a cvar to a new value. If the cvar is floating point, then newvalue is treated
  as a fixed point number, otherwise it's treated as an integer. SetUserCVar is the same, but
  for a specific player's user cvar.

  SetCVar and SetUserCVar can only change cvars created via CVARINFO. They cannot alter built-in cvars.

  If you use GetCVar or SetCVar with a user cvar, they will act on the copy of the user cvar
  for the player who activated the script. e.g.
    GetCVar("gender")
  is the same as
    GetUserCVar(PlayerNumber(), "gender")

  If you get the value of a floating point cvar, it will be returned as a fixed point number.
  Otherwise, it will be returned as an integer.

git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4283 a95907f1-e10c-0410-b46f-9e587ccb1026
- Added edward850's patch to cope with stalled network games.

git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4285 a95907f1-e10c-0410-b46f-9e587ccb1026
- Added parentheses for clarity.

git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4286 a95907f1-e10c-0410-b46f-9e587ccb1026
- Fixed potential uninitialized access in FMapInfoParser::ParseEndGame().

git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4287 a95907f1-e10c-0410-b46f-9e587ccb1026
- Fixed: 4, 2, and 1 bit grayscale images weren't properly supported.
- Fixed: Valgrind uninitialized memory error and a signed/unsigned warning.

git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4288 a95907f1-e10c-0410-b46f-9e587ccb1026
- Just remembered that the true color stuff generates textures differently.  Changed the previous commit to expand 1, 2, and 4 bit grayscale images while reading the PNG instead of changing the palette.

git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4289 a95907f1-e10c-0410-b46f-9e587ccb1026