Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 8, 2013
  1. - Revert r4244. It seems to be working well enough like this, since t…

    rheit authored
    …here have been no complaints.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4341 a95907f1-e10c-0410-b46f-9e587ccb1026
  2. - Bump up to 2.7.0.

    rheit authored
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4339 a95907f1-e10c-0410-b46f-9e587ccb1026
  3. - Bumped NETGAMEVERSION, which should have been done when I changed t…

    rheit authored
    …he order uservars were sent
    
      during netgame initialization.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4338 a95907f1-e10c-0410-b46f-9e587ccb1026
Commits on Jun 6, 2013
  1. - Added ACS function CheckFont.

    rheit authored
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4335 a95907f1-e10c-0410-b46f-9e587ccb1026
  2. - Moved the status bar Tick call after the players have been ticked b…

    rheit authored
    …y P_Ticker(), because
    
      P_PlayerThink() is where the check for unspawned players happens. If the player attached to the
      status bar is one of them, it will crash while ticking.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4334 a95907f1-e10c-0410-b46f-9e587ccb1026
  3. - Fixed: Polyobjs that rotated faster than their distance would overs…

    rheit authored
    …hoot on their first tic and
    
      continue spinning until the next time around because the check for moving too fast was only
      done after the polyobject had been rotated once.
    - Reduced the potential for overflow when setting up the speed of a rotating polyobj.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4332 a95907f1-e10c-0410-b46f-9e587ccb1026
Commits on Jun 5, 2013
  1. - Added SpawnDecal ACS function:

    rheit authored
        int SpawnDecal(int tid, str decalname, int flags, fixed angle, int zoffset, int distance)
      Traces a line from tid's actor until hitting a wall, then creates a decal there. Returns the
      number of decals spawned.
      * tid = Which actor(s) to start the trace at.
      * decalname = Which decal to spawn.
      * flags =
        * SDF_ABSANGLE = Angle parameter is an absolute angle. Otherwise, it's relative to the origin actor's angle.
        * SDF_PERMANENT = Decal ignores cl_maxdecals. Otherwise, it will eventually disappear.
      * angle = Direction in which to search for a wall. Defaults to 0.0.
      * zoffset = Offset from the middle of the origin actor for the Z height of the decal. Defaults to 0.
      * distance = Maximum distance to search for a wall. Defaults to 64.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4330 a95907f1-e10c-0410-b46f-9e587ccb1026
Commits on Jun 4, 2013
  1. - Reduce ACS LineAttack's default range to the standard MISSILERANGE,…

    rheit authored
    … because making it INT_MAX
    
      seems pretty iffy.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4329 a95907f1-e10c-0410-b46f-9e587ccb1026
  2. - When purging ACS strings, free the strings themselves as well as ma…

    rheit authored
    …rking them as free.
    
    - Fixed: ACSStringPool::InsertString()'s overflow check was far too low.
    - Fixed: When ACSStringPool::InsertString() triggered a garbage collection, it ignored the
      newly freed space and expanded the array anyway.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4328 a95907f1-e10c-0410-b46f-9e587ccb1026
  3. - Addded support for multi-line values in INI files, so you can't mal…

    rheit authored
    …iciously inject stray
    
      newline characters into the config file using ACS's SetCVarString.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4326 a95907f1-e10c-0410-b46f-9e587ccb1026
Commits on Jun 3, 2013
  1. - fixed: UDMF's Doom namespace needs to retain Boom's sector special …

    graf authored
    …flags.
    
    - fixed: UDMF's ZDoomTranslated namespace needs to set the DUMMYSWITCHES flag so that it remains compatible with Doom-format ZDoom maps.
    
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4325 a95907f1-e10c-0410-b46f-9e587ccb1026
  2. - Added ACS function PlayActorSound. It's functionally equivalent to …

    rheit authored
    …PlaySound, except instead
    
      of taking an actual sound name as its second parameter, it selects the sound to play based on
      the actor playing the sound and the selector passed as the second parameter.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4323 a95907f1-e10c-0410-b46f-9e587ccb1026
Commits on Jun 2, 2013
  1. - Fixed: When garbage collecting ACS strings, the active values on th…

    rheit authored
    …e ACS stack also need
    
      to be included in the mark phase.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4322 a95907f1-e10c-0410-b46f-9e587ccb1026
  2. - Fixed: Don't transform map variable string initializers into global…

    rheit authored
    … string table entries if
    
      they don't really exist in the source string table.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4321 a95907f1-e10c-0410-b46f-9e587ccb1026
Commits on Jun 1, 2013
  1. - Added S_ChangeSoundVolume() to change the volume of an already play…

    rheit authored
    …ing sound, accessible
    
      through the new ACS function SoundVolume.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4318 a95907f1-e10c-0410-b46f-9e587ccb1026
  2. - Added GetActorClass and GetWeapon functions to ACS.

    rheit authored
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4316 a95907f1-e10c-0410-b46f-9e587ccb1026
  3. - Clean up excess code around a few calls to SingleActorFromTID(), si…

    rheit authored
    …nce that function is already
    
      designed specifically to handle the case where tid is 0.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4315 a95907f1-e10c-0410-b46f-9e587ccb1026
  4. - Added more string functions to ACS:

    rheit authored
      * The standard C functions strcmp and stricmp (aka strcasecmp), which double up as strncmp and strnicmp if you pass a third argument.
      * The BASIC-like functions strleft, strright, and strmid, which extract parts of a string to
        create a new string.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4313 a95907f1-e10c-0410-b46f-9e587ccb1026
  5. - fixed signed-ness issue with FloatBobPhase.

    graf authored
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4310 a95907f1-e10c-0410-b46f-9e587ccb1026
  6. - GetActorProperty now works with the string properties that were for…

    rheit authored
    …merly restricted to
    
      CheckActorProperty.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4307 a95907f1-e10c-0410-b46f-9e587ccb1026
  7. - Added PlaySound and StopSound functions for ACS. They are mostly an…

    rheit authored
    …alogous to their DECORATE
    
      counterparts except that (1) PlaySound requires you to specify a sound instead of defaulting
      to "weapons/pistol", and (2) StopSound defaults to CHAN_BODY instead of CHAN_VOICE.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4306 a95907f1-e10c-0410-b46f-9e587ccb1026
  8. - Added read access to an actor's melee range from DECORATE and ACS, …

    rheit authored
    …via Blue Shadow.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4305 a95907f1-e10c-0410-b46f-9e587ccb1026
  9. - Added ACS function LineAttack via Ryan Cordell.

    rheit authored
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4304 a95907f1-e10c-0410-b46f-9e587ccb1026
  10. - Added Gez's OverridePalette VOXELDEF flag.

    rheit authored
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4303 a95907f1-e10c-0410-b46f-9e587ccb1026
  11. - Heretic and Hexen can now have their big fonts overridden by a font…

    rheit authored
    … named "HBIGFONT". In
    
      addition, a font named "BIGFONT" will override the big font for every game.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4302 a95907f1-e10c-0410-b46f-9e587ccb1026
Commits on May 31, 2013
  1. . added AFADoomer's patch to set a text highlight color for the list …

    graf authored
    …menu.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4301 a95907f1-e10c-0410-b46f-9e587ccb1026
  2. - fixed parameter type for Floatbobphase property.

    graf authored
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4300 a95907f1-e10c-0410-b46f-9e587ccb1026
Commits on May 30, 2013
  1. - fixed inappropriate type for FloatBobPhase property.

    graf authored
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4299 a95907f1-e10c-0410-b46f-9e587ccb1026
  2. - fixed the Peasants DECORATE definition.

    graf authored
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4298 a95907f1-e10c-0410-b46f-9e587ccb1026
  3. - added a FloatBobPhase property for DECORATE. Now, if FloatBobPhase …

    graf authored
    …is anything but -1 it will be used directly as the initial phase, allowing to define actors that bob in sync. The allowed range of phases is 0 - 63. The main reason for this is that each actor spawn called the pr_spawnmobj RNG just to randomize this value which causes problems with non-interactive actors, in particular GZDoom's dynamic lights.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4296 a95907f1-e10c-0410-b46f-9e587ccb1026
  4. I hope I don't regret doing this so close before I want to do a relea…

    rheit authored
    …se, since it's a pretty
    
    major change to ACS's workings. However, I had an epiphany yesterday and just had to do this, since it seems like too big a deal to hold off until a later release:
    - Dynamically generated strings returned via strparam and get(user)cvar now last as long as they
      need to. They do not disappear at the end of each tic. You can now safely store them in
      variables and hold on to them indefinitely. In addition, strings from libraries no longer
      require you to load the exact same libraries in the exact same order. You can even store a
      library's string in a world variable and retrieve it on another map that doesn't load the
      library at all, and it will still be the correct string.
    - ACS library IDs now only get 12 bits instead of 16 so that each string table can hold up
      to about a million strings instead of just 65536. This shouldn't be a problem, although it
      means that save games that had strings with the larger IDs stored in variables are no
      longer compatible. Since many saves don't involve libraries at all, and even many that do 
      are not actually affected, I'm not bumping the min save version. The worst that can happen
      is that you get no text at all where some was expected.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4295 a95907f1-e10c-0410-b46f-9e587ccb1026
Commits on May 27, 2013
  1. - Added ACS functions GetCVarString and GetUserCVarString. These act …

    rheit authored
    …like their non-string
    
      counterparts, except that they return strings. Like strparam, the strings they return are
      only guaranteed to be valid for the tick they are called during. (Note that these work with any
      cvar, not just string ones.)
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4293 a95907f1-e10c-0410-b46f-9e587ccb1026
  2. - Added ACS functions SetCVarString and SetUserCVarString. These work…

    rheit authored
    … just like their non-string
    
      counterparts except that their value argument is an ACS string. (Note that they work with any
      type of cvar, not just string cvars.)
    - Make UCVarValue::String point to a constant string.
    
    git-svn-id: http://mancubus.net/svn/hosted/zdoom/zdoom/trunk@4292 a95907f1-e10c-0410-b46f-9e587ccb1026
Something went wrong with that request. Please try again.