Jump to content

leadwerks C++


JetBrains
 Share

Recommended Posts

Im just wondering how C++ works now because when i last used leadwerks i had the option to choose either a C++ or Lua project. I do realize that in the project folder there is still an sln but the code is different then it was then now i have all this Interpreter stuff. Do i need that code if im not using Lua?

Link to comment
Share on other sites

I think a blank project is what you need.

 

I think the contents of main.cpp can be left as they are without harm., But I am not an advanced c++ user so could be wrong.

EDIT: I don't use lua directly but sometimes a script comes with assets.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Link to comment
Share on other sites

I think the contents of main.cpp can be left as they are without harm., But I am not an advanced c++ user so could be wrong.

 

Cassius, you are absolutely correct.

 

You do not need the interpreter code that comes within the app.cpp file of a new project. I think it is there in case you would like yo utilize lua within your c++ application. When I upgraded from 3.2 to 3.5 I replaced the app.cpp file with my own and have had no problems.

 

Just for simplicity, here is a copy of my current app.cpp file.

 

** EDIT **

 

To preserve formatting, I posted my source file on dpaste. It can be found here:

 

http://dpaste.com/2DWKQ6W

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...