Skip to content
Snippets Groups Projects
Select Git revision
  • a7640e4d6c133fa1451aab9856476db5f0b84ea5
  • next default protected
  • better-player-states
  • lua-debug-library
  • fix-equation-slopes-near-edges
  • fix-1215
  • quick-intro
  • any-resolution
  • gametype-refactor-player-spawns
  • custom-teams
  • gametype-refactor-1
  • custom-map-names
  • action-args
  • master
  • gamepad-morefixes
  • fix-167
  • cmake-valgrind
  • textures-0
  • super-hooked
  • accel-momentum
  • optimize-storewallrange
  • SRB2_release_2.2.13
  • SRB2_release_2.2.12
  • SRB2_release_2.2.11
  • SRB2_release_2.2.10
  • SRB2_release_2.2.9
  • 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
41 results

i_tcp.c

Blame
  • Forked from STJr / SRB2
    Source project has a limited visibility.
    asm_defs.inc 1.45 KiB
    // SONIC ROBO BLAST 2
    //-----------------------------------------------------------------------------
    // 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  asm_defs.inc
    /// \brief must match the C structures
    
    #ifndef __ASM_DEFS__
    #define __ASM_DEFS__
    
    // this makes variables more noticable,
    // and make the label match with C code
    
    // Linux, unlike DOS, has no "_" 19990119 by Kin
    // and nasm needs .data code segs under linux 20010210 by metzgermeister
    // FIXME: nasm ignores these settings, so I put the macros into the makefile
    #ifdef __ELF__
    #define C(label) label
    #define CODE_SEG .data
    #else
    #define C(label) _##label
    #define CODE_SEG .text
    #endif
    
    /* This is a more readable way to access the arguments passed from C code   */
    /* PLEASE NOTE: it is supposed that all arguments passed from C code are    */
    /*              32bit integer (INT32, long, and most *pointers)               */
    #define ARG1      8(%ebp)
    #define ARG2      12(%ebp)
    #define ARG3      16(%ebp)
    #define ARG4      20(%ebp)
    #define ARG5      24(%ebp)
    #define ARG6      28(%ebp)
    #define ARG7      32(%ebp)
    #define ARG8      36(%ebp)
    #define ARG9      40(%ebp)      //(c)tm ... Allegro by Shawn Hargreaves.
    
    #endif