User Tag List

Results 1 to 10 of 23

Thread: Problem Writing a Function

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,961
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.41%
    Quote Originally Posted by ZoriaRPG View Post
    I do need to know what the '1' in this set does:

    Code:
    { "GETSIDEWARPSCR",      1,   0,   0,   0},
    ...versus the '2' in this set:

    Code:
    { "GETDMAPTITLE",        2,   0,   0,   0},
    Does the '2' signify that the stack is handling two values (one boolean return, one array pointer), or does it signify the number of inputs to the ZScript function? I think it's the former??

    I wonder if @jman kept any notes, and if anyone can reach him? It would be interesting to read through any materials that he wrote as refs for himself.
    You ninja'd me.

    The 2 is number of args, next is arg 1, arg2 (IIRC). If those are register values then they should be 1, otherwise 0. (I hope I got that right) [edit] No, I didn't. It's 0, otherwise 1...
    Last edited by Gleeok; 12-16-2016 at 06:11 AM.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social