Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Nymphodora, Quad), 923 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 6 1 2 3 4 5 6
Re: Imgui Lite-c Development [Re: Evo] #478283
09/27/19 15:32
09/27/19 15:32
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline
Member
jenGs  Offline
Member
J

Joined: Jul 2010
Posts: 283
Germany
Yes that is possible. I will add this before I release the new version tomorrow

Re: Imgui Lite-c Development [Re: jenGs] #478288
09/28/19 16:17
09/28/19 16:17
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Hi, I miss to link to the engines SDK for the project in VS2017. I copied the engines SDK plugin folder (adll.h, adll.lib, etc) to my VS projects folder and set the path in the aditional includes of code and in the aditional libraries of the linker, but it is not able to find "adll.h". I believe it was enough. What I am missing? Thank you in advance and excuse the noob question laugh

Re: Imgui Lite-c Development [Re: txesmi] #478290
09/28/19 16:58
09/28/19 16:58
Joined: Jul 2007
Posts: 619
Turkey, Izmir
Emre Offline
User
Emre  Offline
User

Joined: Jul 2007
Posts: 619
Turkey, Izmir
i'm not sure what you are missed. I change the imgui project settings as follows: (maybe it helps)

[Linked Image]
[Linked Image]

That's all. You don't have to copy engine plugin folder to vs project folder. btw; there is two important thing too:

[Linked Image]
[Linked Image]

i hope that helps.

Re: Imgui Lite-c Development [Re: Evo] #478291
09/28/19 17:25
09/28/19 17:25
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Thank you. That it is. Same as I did. I did not change events because there were not any. Also, no changes on Linker/additional dependencies because is correctly set to "adll.lib". I checked everything again but I don't get what happens.

I decided to copy it because it did not find the file at its original path at first instance and, at the same time, I like to mantain every VS dependency holding from the same folder, but yes, I know it is not necessary, thank you anyway.

EDITED___________________

Ok, I found the problem. I mixed up things with the VS tools version. It compiles now. Thank you for your time!

Last edited by txesmi; 09/28/19 17:52.
Re: Imgui Lite-c Development [Re: txesmi] #478292
09/28/19 18:03
09/28/19 18:03
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline
Member
jenGs  Offline
Member
J

Joined: Jul 2010
Posts: 283
Germany
Hello evryone,
I have updated my project and the dll.

* Reordered methods, deleted unneeded header
* Added a lot of features
* put a part of the Demo in example.c
* Tabs are now available
* drawlist_image is now available
* and a lot more, some of it crap, because I needed it for the demo

Sadly the official Imgui Demo is massive and does a lot of things that are not possible in Lite-C syntax, so it takes a lot of time to find workaround especially with char on the fly declarations.

In my header you will find an "typedef interface". I only did that, so I hadn't to replace every method in the demo. Don't use this at home laugh You may have struct member functions, but it makes the code more ugly.
I have automated my workflow a bit. A crappy Java Programm prases with regex and generates now my headers and "interface" struct.

imgui has hundreds of features, I will try to put more of them in.

Re: Imgui Lite-c Development [Re: txesmi] #478294
09/28/19 18:21
09/28/19 18:21
Joined: Jul 2007
Posts: 619
Turkey, Izmir
Emre Offline
User
Emre  Offline
User

Joined: Jul 2007
Posts: 619
Turkey, Izmir
Originally Posted by txesmi
Ok, I found the problem. I mixed up things with the VS tools version. It compiles now.


Glad to hear that! laugh

Edit: @Jengs: I checked it and got syntax error: "imgui_drawlist_add_polygon" line 41. (imgui_methods.h)

Last edited by Emre; 09/28/19 19:10.
Re: Imgui Lite-c Development [Re: Evo] #478297
09/28/19 19:26
09/28/19 19:26
Joined: Feb 2013
Posts: 122
Maysville, Ga
Evo Offline OP
Member
Evo  Offline OP
Member

Joined: Feb 2013
Posts: 122
Maysville, Ga
@jenGs : I wasn't able to go through the new example.c due to an error, but I updated to the new files for my template and everything works just fine. I see a lot of new features that you included. Thanks for the new update. Once I have time, I'll go through each new feature and add it to the template.

Re: Imgui Lite-c Development [Re: Emre] #478298
09/28/19 19:46
09/28/19 19:46
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline
Member
jenGs  Offline
Member
J

Joined: Jul 2010
Posts: 283
Germany
Quote
Edit: @Jengs: I checked it and got syntax error: "imgui_drawlist_add_polygon" line 41. (imgui_methods.h)

That's strange, that's an rather old error, that I fixed last week.

Re: Imgui Lite-c Development [Re: jenGs] #478299
09/28/19 19:50
09/28/19 19:50
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline
Member
jenGs  Offline
Member
J

Joined: Jul 2010
Posts: 283
Germany
ah you need <windows.h> for the POINT struct. I think I will change that und use an own point struct

Re: Imgui Lite-c Development [Re: jenGs] #478300
09/28/19 19:55
09/28/19 19:55
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline
Member
jenGs  Offline
Member
J

Joined: Jul 2010
Posts: 283
Germany
One moment, I make the demo runnable. I tested with the wrong script

Page 2 of 6 1 2 3 4 5 6

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1