User Tag List

Results 1 to 8 of 8

Thread: VenRob as Proper Dev

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.42%
    Here's a little trick for bounds checks:

    Code:
    if(a < 0 || a >= MAX) { error }; //instead of this,
    
    if((unsigned)a >= MAX) //compile time optimization
    Back on topic, I was really only looking at his code for safety and bugs, which is basically the main prerequisite for write access.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  2. #2
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,765
    Level
    21
    vBActivity - Bars
    Lv. Percent
    69.7%
    Quote Originally Posted by Gleeok View Post
    Here's a little trick for bounds checks:

    Code:
    if(a < 0 || a >= MAX) { error }; //instead of this,
    
    if((unsigned)a >= MAX) //compile time optimization
    Back on topic, I was really only looking at his code for safety and bugs, which is basically the main prerequisite for write access.

    Good point, and fixed. Anyway, this was my oversight. Rob has been helping me test, and prove some of the new stuff, and informing me of any issues. He applied the patch at my instruction, and I forgot to include the same BC as with the other related instructions. (These two are special, as they're commands, not variables.)

    https://github.com/ArmageddonGames/Z...719abba2cd9489

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