Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Schranz0r

#31
Ja, ignorieren! :)
Nervt mich selber auch, kann/will man aber wohl erstmal nix machen.
#32
Hey guys,

i'm working on a imGUI implementation for GLBasic!
It works, and with some tweeking it can be multiplatform as well.
You can use the normal GLB-Stuff and put the GUI on top of it.

Code for this Demo example:
Code (glbasic) Select

GUI_INIT()

WHILE TRUE

    PRINT "Hello World!", 10, 10

    GUI_NewFrame()
    GUI_ShowDemoWindow()
    GUI_Render()

SHOWSCREEN
WEND

GUI_DestroyContext()
GUI_Shutdown()

END


This DEMO is part of imGUI. From now on u can use the c/c++ part right away.
The other things need to wrapped into GLB.

Linkeroptions:
Projects->Options->Add to the Ink-Field: -L"imgui"

Attached a screen and the project to test :)

IMPORTANT:
You have to install the Headerfiles for GLBasic! http://www.glbasic.com/files/headers.rar
Use the ESC-Key to exit the program, if you close with the X it can stay in the background... have to sort this bug out :/
#33
Small update on windows.h include:

Copy&Paste this into a new file:
(make sure you have the headerfiles installed!)
Code (glbasic) Select

INLINE

}
#define HINSTANCE W32HINSTANCE
#define HINSTANCE__ W32HINSTANCE__
#define HMODULE W32HMODULE
#undef LPSTR
#undef DECLARE_HANDLE
#undef LPCTSTR
#undef DWORD
#undef LPWSTR
#undef LPCWSTR
#define HWND W32HWND
#define HWND__ W32HWND__
#define HANDLE W32HANDLE
#undef MAX_PATH
#undef TCHAR
#define WIN32_LEAN_AND_MEAN
#define WinMain WinMain2
#include <windows.h>
namespace __GLBASIC__ {

ENDINLINE


*fixed:
Code (glbasic) Select
error: conflicting declaration 'typedef struct W32HINSTANCE__* HMODULE'
   typedef HINSTANCE HMODULE;

with:
Code (glbasic) Select
#define HMODULE W32HMODULE
#34
3D-snippets / Re: SGEngine
2021-Feb-14
Ah Irrlicht Engine.  :good:
#35
I like those Stuff! :)
Can you put this into the examples?
#36
Moin,

was hast du damit vor?
Willst du ein Pathfinding schreiben?

Komm komm nicht ganz hinterher, was es machen soll, dein Aufbau...
#37
Check the pathvariables in the GBAP file
#38
INLINE is sometimes a bit tricky! :)
#40
If the Pointer is shown with SYSTEMPOINTER FALSE it's sounds like a bug to me...
So i move the topic to bugreport! :)
#41
Old Bug!
Check this Inline-functions if something is typed uppercase...
Most times return changed to RETURN for example. :)
#42
 :D
#43
Zeig mal bitte deinen Code, der den Fehler wirft.

Es knallt bei:
lese$=INKEY$();
chip$=chip$+lese$;

Irgendwas davon sind Arrays?
#44
Schau mal hier nach, ohne Inline wird das aber nix...

https://www.c-plusplus.net/forum/topic/279213/auf-transparentem-fenster-zeichnen
#45
The biggest thing for me would be GLOBALS will show up on any gbas-File in the autocompletion.
Thats a "bug" thats drivin me crazy for years now.