I commited a last attempt on svn to update scons so it works on msvc 2010...
776 2012-11-16 01:10:25
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
777 2012-11-16 00:02:03
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
Maybe you can try this to force it to use your version : python scons.py MSVC_VERSION=10.0
I can build using visual studio 2005 from the project file and from scons,
but I will try to install a more recent version on another computer to test it
778 2012-11-15 13:31:28
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
I updated svn to scons 2.2.0, it might corrects the bug you are having with visual studio 2010.
I corrected some minor bug and updated the visual studio projects for 2005 and 2010 (MLog code was not linked yet)
Let me know if it helped
779 2012-11-15 11:12:04
Re: Linux build targets (Codeblocks Projects/Workspace) (2 replies, posted in Engine)
Hi,
thank you !
Is it based on the /trunk/dev/Projects/CodeBlocks10/ project (used for windows/cygwin) or is it a separate one ?
To know if we can try to make them one ?
780 2012-11-14 11:37:04
Re: Compilation by MS VS 2008 Express (1 replies, posted in Bug report)
Hi, thank you for the hint,
MLog has been added recently and the projects are not all up to date yet,
I'll correct it on svn as soon as possible.
Anaël.
781 2012-11-13 11:42:42
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
I send a mail to skaiware that adapted scons and codeblocks to use cygwin if he could login in the forum to help,
as I'm not very confortable with scons and windows compilation (for the windows build I myself only use the visual studio 2005 sln).
782 2012-11-13 11:17:13
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
scons is normally the best way to compile it, but there is maybe an issue with visual 2010 or something missing in windows.
after the alternative is to use a project file, visual studio or codeblocks.
the projects files are in trunk/dev/Projects/
a contributor added the codeblocks projects so I'm not sure how it works
783 2012-11-13 10:05:23
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
There is the visual 2010 visual studio file (Maratis.sln) but it might not be up to date,
it probably miss some new files to add to the solution, in particular MEngine (the file MLog.h and MLog.cpp for example).
Or, with another compiler on windows, a contributor named skaiware added a CodeBlocks project (free open source IDE/compiler),
I think it needs the CodeBlocks/Mingw (gcc compiler) install : http://www.codeblocks.org/downloads/26
784 2012-11-12 15:12:08
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
is your visual studio installed in a special location or the default ?
also check that cl.exe is defined in the "PATH" environment variable
785 2012-11-12 10:02:14
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
I didn't find more info about it, I'm not using windows a lot,
is there someone in the forum able to compile on windows ?
786 2012-11-11 16:46:25
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
I don't know about vcvarsall, the microsoft doc only speak about vcvars32.bat.
After running the bat, do you still have the error : "'cl' is not recognisez as an internal or external command"
when calling "python scons.py" ?
787 2012-11-11 11:22:02
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
I think you just need to run the VCVARS32.bat
probably located in something like : C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat
normally it will set your environment variables and the "cl" command will be recognized (what seems to be the problem when you run scons) and you can try running scons again by typing "python scons.py" from a command line in trunk/dev/.
788 2012-11-10 22:13:24
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
I think your environment variables are not set :
http://msdn.microsoft.com/en-us/library
90%29.aspx
789 2012-11-10 10:37:58
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
I think I fixed it, the code correction is on svn. I'm not on windows right now, is it possible for you to test it ?
790 2012-11-10 09:53:44
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
hum, I maybe found something, on windows the function "int WINAPI ShowCursor(_In_ BOOL bShow);"
doesn't work as expected. Apparently it stores a counter that count each time the function is called,
if the function ShowCursor(0) is called 10 times, to unhide it ShowCursor(1) needs to be called 10 times (not very usable),
I'll see what we can do to bypass it...
791 2012-11-10 09:38:44
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
what platform are you using ? windows ?
do you exit the game with "esc" or using the "exit()" script function ?
792 2012-11-10 09:33:15
Re: Compilation problem on windows (original topic title : hideCursor) (46 replies, posted in Bug report)
Hi,
yes someone else told me about this bug,
I didn't find it yet, because the function MWindow::getInstance()->showCursor();
is normally called when the game is exited (in MaratisUi.cpp) so I don't understand why it stays hidden.
793 2012-11-08 10:40:23
Re: Close Maratis in Windows 7 (3 replies, posted in Bug report)
Yes, in fact the close button is blocked to avoid accident (no warning that it was going to close).
794 2012-11-08 09:02:10
Re: Close Maratis in Windows 7 (3 replies, posted in Bug report)
Hi,
you have to clic on "Ok to Quit"
also on file > quit > ok to quit
795 2012-11-04 10:27:58
Re: Newbie And some questions (11 replies, posted in Gossip)
Hi,
the engine is zlib licensed, so you don't have to make your game open-source.
Just keep in mind that the editor is GPL licensed, so if you use code from the editor or if you modify the editor, it has to be GPL too. (the license terms are on top of each files)
About your previous question,
we are not trying to compete directly with big engines (we can't), but to stay light and flexible (and still fast).
Majority of big engines are very fast because they use very specific approach that are not very flexible and follow a market standard : today is the realistic deferred rendering technique with outside sun light, sky simulation, single shadow, ambiant occlusion...
the features that are missing now for pure performance are particle system, LOD (level of detail), possibly deferred rendering (if the game needs lot of dynamic lights). Though it can be added using a c++ game plugin if the game needs it.
The current development priority are particle system, collada, lod, editor improvements...
796 2012-11-04 10:09:10
Re: JUst a bit of advertising on truespace 7.6 forum ( LOVE this 3d app!) (1 replies, posted in Gossip)
nice, thanks for sharing infos on united3dartists.
797 2012-11-03 08:54:10
Re: Feature Requests (Editor Only) (61 replies, posted in Editor)
damvcoool > it's not by object but you can divide your script in multiple files and include it using "dofile" (like an include)
798 2012-11-01 21:22:00
Re: Lua for behaviours/plugins ? (3 replies, posted in Engine)
Yes, there is a discussion on that, and Nistur started to do a behavior that call a script,
there is some design to plan to be sure that doing a script behavior is not too slow to run (as compare to a pure c++ behavior).
In progress
799 2012-11-01 21:19:40
Re: iPhone publishing (47 replies, posted in Engine)
Hi, thank you zaraasran,
it's probably my fault after modifying the xcode project, I probably linked the ressources in the bad way and send it to svn.
I'll try to update it better soon.
800 2012-11-01 09:10:18
Re: iPhone publishing (47 replies, posted in Engine)
I'm also using iPhone Simulator 4.3 and it's working,
are the ressources correctly linked to the xcode project ?
About the workflow yes, you can make all the game using the editor and then publish it on iOS using this xcode project,
just replace the ressources with your own project and modify EAGLView.mm to open your project name (replace "Demos.mproj" with your project name).
- There is also some specific script function for iOS (like the touch and accelerometer)