foxygit / doom Log in
commit 36b34fc966988ff76bd0f93c1e5c2aac00bbdc43
Merge: 5e919067 eccc7950
Author:     Jonathan Dowland <jon+github@alcopop.org>
AuthorDate: Sun Jul 24 21:24:00 2016 +0100
Commit:     GitHub <noreply@github.com>
CommitDate: Sun Jul 24 21:24:00 2016 +0100

    Merge pull request #760 from jmtd/defined-random

    Add m_subrandom.{c,h} and fix P_Random ambiguities

 src/doom/m_random.c    |  7 +++++
 src/doom/m_random.h    |  3 +-
 src/doom/p_enemy.c     | 10 +++---
 src/doom/p_map.c       |  4 +--
 src/doom/p_mobj.c      |  6 ++--
 src/doom/p_pspr.c      | 10 +++---
 src/heretic/m_random.c |  6 ++++
 src/heretic/m_random.h |  3 ++
 src/heretic/p_enemy.c  | 68 +++++++++++++++++++++++++----------------
 src/heretic/p_inter.c  |  6 ++--
 src/heretic/p_map.c    |  4 +--
 src/heretic/p_mobj.c   | 24 +++++++--------
 src/heretic/p_pspr.c   | 20 ++++++------
 src/heretic/p_user.c   |  2 +-
 src/hexen/a_action.c   | 45 +++++++++++++++------------
 src/hexen/m_random.c   |  6 ++++
 src/hexen/m_random.h   |  3 ++
 src/hexen/p_enemy.c    | 82 ++++++++++++++++++++++++++++++++------------------
 src/hexen/p_map.c      |  4 +--
 src/hexen/p_mobj.c     | 28 ++++++++---------
 src/hexen/p_pspr.c     | 27 ++++++++++++-----
 21 files changed, 226 insertions(+), 142 deletions(-)