Jump to content

Masterxilo

Members
  • Posts

    379
  • Joined

  • Last visited

Profile Information

  • Location
    Bern, Switzerland

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Masterxilo's Achievements

Newbie

Newbie (1/14)

7

Reputation

  1. FindWindow is used like: HWND WINAPI FindWindow( __in_opt LPCTSTR lpClassName, __in_opt LPCTSTR lpWindowName ); so it should be HWND hWnd = FindWindow(0, title.c_str()); in the example you linked to.
  2. How can it be so sure that they won't overlap? Does it do runtime checking (which would be pretty slow...)? You can promise the C/C++ compiler that two pointers won't overlap using __restrict: int fast(int * __restrict A, int * __restrict B) { *A = 5; *B = 7; // RESTRICT promises that A != B return *A + *B; // no stall; the compiler hangs onto // 5 and 7 in the registers. } int slow(int *A, int *B) { *A = 5; *B = 7; return *A + *B; // LHS stall: the compiler doesn't // know whether A == B, so it has to // reload both before the add }
  3. Well in the original post you're asking about a cross platform live sync&display type of functionality like CE 3, but what has this got to do with having multiple monitors?
  4. For this you could just stretch the editor window over all you screens. Or the new editor could allow to define more views that have separate camera positions and appear in their own windows.
  5. You don't have to create a new font if you just want to use another color. You should always leave the color to white.
  6. I think the wiki should be replaced by something using this website design and template (like the tutorials section). This would unify things. Btw. what happened to the planned "official" documentation which was supposed to become a replacement of the wiki?
  7. Masterxilo

    VS 2010

    I can use every library just fine. Even a glut32.lib compiled in 2001 so I don't think these need to be recompiled.
  8. Masterxilo

    Light Calc

    The lighting just lights what was rendered onto the buffer on SetBuffer(buffer); RenderWorld(); , it doesn't take any changes you make to the world after rendering it into account. You can easily make an object invisible yet still cast a shadow (meaning what is below won't be affted by the light making it cast a shadow), I think Josh already showed how to in your other thread. The idea is to use a material that doesn't render anything with it's normal "shader", yet has a "shadowshader" that renders the object solid.
  9. There's a function to copy all the keys over to some other entity, but the physics and position attributes you have to copy yourself.
  10. You can parent objects that are not in the same world to each other. I don't agree on the gravity center entity, this sounds like a very hack way to do things. What if your objects are below y = -50000? The rest of it really lists good means to achieve things in my eyes.
  11. You'd have to create a different version of the font image for every resolution.
  12. Well you should be able to configure code blocks to use the visual studio compiler, so yes. People might have done this already, google for it. But why not use visual studio directly?
  13. It doesn't work for me either. I have to resave them in photoshop. But when I render to texture, I use lossless formats with pretty high resolution only anyways. You'll be glad you did this later, believe me.
  14. Set the weapon's material to be always drawn on top of all. Or put it in another world and clear the depth buffer before rendering. Lot's of ways to achieve this.
×
×
  • Create New...