Jump to content

panoramix

Members
  • Posts

    22
  • Joined

  • Last visited

Posts posted by panoramix

  1. I think GetAsyncKeyState is your answer

     

    // get async status on all keys
    SHORT myKeyboardState[256];
    for (int x = 0; x < 256; x++)
     myKeyboardState[x] = GetAsyncKeyState(x);
    
    // now if you want to know about the up arrow key you do this
    if(myKeyboardState[VK_UP] & 0x8000) { // check for most significant bit
       // it's currently being pressed
    }
    

  2. That's all nice, I've been around the intanced models thread, but what use is it here if there's no editor to paint a terrain this way? unless texture atlases become somehow handled internally, exposed from the engine, and sets become selectable in the editor... wich leads us back to feature requests ;]

  3. RegisterAbstractPath("D:\Program Files\Leadwerks Engine SDK");

     

    glad to see you fixed it, in C it should be double backslashes (because backslash is a escape character)

    RegisterAbstractPath("D:\\Program Files\\Leadwerks Engine SDK");

     

    your solution works as well, but I'm not sure why...

    RegisterAbstractPath("D:/Program Files/Leadwerks Engine SDK");

  4. do we have a decent way of locking down our assets yet? because you know better than anyone here, the moment that gmf2-whatever converter gets released it will be all over the internet... just making it even easier for people to steal models. what are you using for the private folder models?

     

    You do realize this is ultimately impossible to protect, right? eventually someone will hook the underlying zip api, or even opengl, and dump every loaded model/texture/script no matter what. There's no magic esoteric way of avoiding the fact that to see it on the screen you need to load a decrypted asset at some point. Asset protection is a non issue, and has always been.

×
×
  • Create New...