Skip to content
Snippets Groups Projects
Select Git revision
  • 6ee0398a1f40f0158a8914089faf98d2797774fb
  • next default protected
  • prefabs
  • macros
  • fix-binary-mtag
  • binary-multitagging
  • final-hours
  • lua-minmax-plus-bruh-moments
  • release-candidate
  • load-netgame-error-fixes
  • unix-rdynamic
  • easings
  • ksf-wadfiles
  • raise-skin-limit
  • software-slope-plane-uv-fix-attempt
  • more-slope-copying
  • pantelegraph
  • master
  • prerelease
  • prerelease-serious
  • test-next
  • SRB2_release_2.2.8
  • SRB2_release_2.2.7
  • SRB2_release_2.2.6
  • SRB2_release_2.2.5
  • SRB2_release_2.2.4
  • SRB2_release_2.2.3
  • SRB2_release_2.2.2
  • SRB2_release_2.2.1
  • SRB2_release_2.2.0
  • SRB2_release_2.1.25
  • SRB2_release_2.1.24
  • SRB2_release_2.1.23
  • SRB2_release_2.1.22
  • SRB2_release_2.1.21
  • SRB2_release_2.1.20
  • SRB2_release_2.1.19
  • SRB2_release_2.1.18
  • td-release-v1.0.0
  • SRB2_release_2.1.17
  • SRB2_release_2.1.16a
41 results

lua_hooklib.c

Blame
  • Forked from STJr / SRB2
    Source project has a limited visibility.
    am_map.h 1.17 KiB
    // SONIC ROBO BLAST 2
    //-----------------------------------------------------------------------------
    // Copyright (C) 1993-1996 by id Software, Inc.
    // Copyright (C) 1998-2000 by DooM Legacy Team.
    // Copyright (C) 1999-2023 by Sonic Team Junior.
    //
    // This program is free software distributed under the
    // terms of the GNU General Public License, version 2.
    // See the 'LICENSE' file for more details.
    //-----------------------------------------------------------------------------
    /// \file  am_map.h
    /// \brief Code for the 'automap', former Doom feature used for DEVMODE testing
    
    #ifndef __AMMAP_H__
    #define __AMMAP_H__
    
    #include "d_event.h"
    
    typedef struct
    {
    	INT32 x, y;
    } fpoint_t;
    
    typedef struct
    {
    	fpoint_t a, b;
    } fline_t;
    
    extern boolean am_recalc; // true if screen size changes
    extern boolean automapactive; // In AutoMap mode?
    
    // Called by main loop.
    boolean AM_Responder(event_t *ev);
    
    // Called by main loop.
    void AM_Ticker(void);
    
    // Called by main loop, instead of view drawer if automap is active.
    void AM_Drawer(void);
    
    // Enables the automap.
    void AM_Start(void);
    
    // Called to force the automap to quit if the level is completed while it is up.
    void AM_Stop(void);
    
    #endif