User Tag List

Results 1 to 10 of 60

Thread: Zelda Classic 2.50.2

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    Actually I'm currently brain storming on doing something rather interesting about this, 2.50.x can use the quest rules that no longer exist however, there's a slight problem and it's a pain in the ass.

    Problem: Backwards Compatibility
    Solution: We use the deprecated constants from the enum when we run out of room however these have a purpose as they configure how the quest works until you load it ZQuest 2.50.x. That being said they pretty much become worthless at that point and we have access to them as they serve no purpose in builds after they are removed.
    Last edited by Tamamo; 10-23-2015 at 04:08 PM.

  2. #2
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    Quote Originally Posted by Tamamo View Post
    Actually I'm currently brain storming on doing something rather interesting about this, 2.50.x can use the quest rules that no longer exist however, there's a slight problem and it's a pain in the ass.

    Problem: Backwards Compatibility
    Solution: We use the deprecated constants from the enum when we run out of room however these have a purpose as they configure how the quest works until you load it ZQuest 2.50.x. That being said they pretty much become worthless at that point and we have access to them as they serve no purpose in builds after they are removed.
    @Gleeok
    Let's put my theory to the test shall we.

    Code:
    //Only new quest rules that make use of deprecated quest rule space should use this. -T
    int get_questrule(byte *bitstr,int bit,zquestheader *Header)
    {
    	if(Header.zelda_version < 0x253) //didn't exist yet, and these probably did. so we can't chance it.
    		return 0;
    	else
    	{
    		bitstr += bit>>3;
    		return ((*bitstr) >> (bit&7))&1;
    	}
    }
    Last edited by Tamamo; 01-18-2016 at 05:31 PM.

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