First of all i'd like to say:
very very very nice work guys!
I am working on a Portable Game Engine for Win64 and Win32 atm and found some portability issues.
They're not critical but give ugly compiler warnings when compiling for WIN64.
The compiler complains about the OnKeyXXX(int ...) functions maybe you should change them to OnKeyXXX(WPARAM ...) .
this leads us to the nehekeydef.h:
the definitions have other values when using WPARAM (eg. NK_F1 = 112)
and last but not least in the neheWin32Window.cpp file you should replace
GWL_USERDATA with GWLP_USERDATA to avoid compiler errors when compiling for a WIN64 target.
that is about it and you're almost ready for 64bit ;-)
But besides this your new tuorial codes look very good.
Announcement: Beta code release
The thing about keys on win32 is a known issue, the thing is that for the ascii keys all systems return the same value, but F1 is not an ascii key and therefore we need to add a translation matrix in there for each system, and for win32 that has not been done yet, but it's not that hard.
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
I knew there was something I meant to give feedback on;
Get rid of this.
It is redundant and all vaguely modern hardware and drivers completely ignores it anyways.
// Really Nice Perspective CalculationsglHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
Get rid of this.
It is redundant and all vaguely modern hardware and drivers completely ignores it anyways.
I made a port of nehebeta to Lazarus/FPC. Currently only SDL window manager has been ported (Win32 and GLX will be ported later).
Download the sample code here
Download the sample code here
Hi,
I was just wondering if this code has been run on Vista in fullscreen mode?
I have tried running old NeHe basecodes on Vista, and found them to run fine in wondowed mode but in fullscreen just display a black screen!
Is this a known issue at all?
Hybrid
I was just wondering if this code has been run on Vista in fullscreen mode?
I have tried running old NeHe basecodes on Vista, and found them to run fine in wondowed mode but in fullscreen just display a black screen!
Is this a known issue at all?
Hybrid
Is there an estimated time of completion? Winter or next Spring maybe?
Learn to make games with my SDL 2 Tutorials
We can't give you an exact date for completion because we all are rather busy at the moment, but due to the fact that we only have to fix some bugs in the code, add some more comments and review all the lesson texts I hope we'll release before next winter [wink]..
(Well.. apart form that we're having 2 inches of snow right now, thats why I wrote next winter..)
@Srki: The Lazarus/FPC port looks good and runs fine, but much slower than the C++ code, did you notice any speed losses? (Mandriva 2007, FPC 2.0.4)
(Well.. apart form that we're having 2 inches of snow right now, thats why I wrote next winter..)
@Srki: The Lazarus/FPC port looks good and runs fine, but much slower than the C++ code, did you notice any speed losses? (Mandriva 2007, FPC 2.0.4)
Member of the NeHe team | PhD Student at Heidelberg Collaboratory for Image Processing | ProCamera Developer
I have tested FPC port only on Windows, and performance is nearly the same as original C++ code.
Maybe someone that has Linux could debug FPC port and find that slowdown.
Maybe someone that has Linux could debug FPC port and find that slowdown.
Everything seems to work fine in both fullscreen and windowed mode on Vista 32-bit running on a nVidia 8800GTX card.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement