User Activity

  • Posted a comment on discussion General Discussion on Dev-C++

    I have a handle to third party window (not created by me, retrieved using the FindWindow function). Now I'd kile to create a small popup style window that will ALWAYS be laid down ovev/on top of that third party window. The case is I don't wanna the popup to be always above all the system windows, but ONLY above the window that I've described so I don't wanna use the HWND_TOPMOST option in the SetWindowPos function. How can i achieve it without using the HWND_TOPMOST flag?

  • Posted a comment on discussion General Discussion on Dev-C++

    There is the code in the Quake 2 main game loop implementation: if (!initialized) { // let base retain 16 bits of effectively random data base = timeGetTime() & 0xffff0000; initialized = true; } curtime = timeGetTime() - base; I'm wondering about the line base = timeGetTime() & 0xffff0000. Why are they applying the 0xffff0000 mask on the retrieved time? Why not to use just: if (!initialized) { // let base retain 16 bits of effectively random data initialTime = timeGetTime(); initialized = true; }...

  • Posted a comment on discussion General Discussion on Dev-C++

    There is the code in the Quake 2 main game loop implementation: [code] if (!initialized) { // let base retain 16 bits of effectively random data base = timeGetTime() & 0xffff0000; initialized = true; } curtime = timeGetTime() - base;[/code] I'm wondering about the line: [quote]base = timeGetTime() & 0xffff0000[/quote] Why are they applying the [quote]0xffff0000[/quote] mask on the retrieved time? Why not to use just: [code] if (!initialized) { // let base retain 16 bits of effectively random data...

View All

Personal Data

Username:
mulligun911
Joined:
2020-08-26 07:58:40

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB