• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Nes DDS vs Bribe DDS. Question on installation of Nes DDS

Status
Not open for further replies.
Level 7
Joined
Feb 9, 2021
Messages
301
I just wanted to ask what can you do with Nes DDS compared to Bribe DDS? (I build for 1.26).

Also, I tried to install Nes DDS, and I get an error after installing his Init library...

1620039821538.png




JASS:
library Init /* v1.0.0.0
************************************************************************************
*
*    module Init
*
*        interface private static method init takes nothing returns nothing
*            -    Runs at map init
*
*************************************************************************************
*
*    module InitTimer
*
*        interface private static method init takes nothing returns nothing
*            -    Runs after a one-shot timer with a period of 0
*
************************************************************************************/
    module Init
        static if thistype.init.exists then
            private static method onInit takes nothing returns nothing
                call init()
            endmethod
        endif
    endmodule
   
    module InitTimer
        static if thistype.init.exists then
            private static method initex takes nothing returns nothing
                call DestroyTimer(GetExpiredTimer())
                call init()
            endmethod
            private static method onInit takes nothing returns nothing
                call TimerStart(CreateTimer(), 0, false, function thistype.initex)
            endmethod
        endif
    endmodule
endlibrary
 
Last edited:
Status
Not open for further replies.
Top