Preview of "RICcreator", yet another RIC editor

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: Preview of "RICcreator", yet another RIC editor

Post by muntoo »

Rev 111 builds and runs OK in Qt Creator, but in VS2010, I get:

Code: Select all

1>------ Build started: Project: RICcreator, Configuration: Debug Win32 ------
1>Build started 28/06/2011 2:29:52 PM.
1>InitializeBuildStatus:
1>  Touching "debug\RICcreator.unsuccessfulbuild".
1>CustomBuild:
1>  All outputs are up-to-date.
1>ClCompile:
1>  nxtCanvasWidget.cpp
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\nxtCopyOptionsBase.h(82): warning C4800: 'unsigned int' : forcing value to bool 'true' or 'false' (performance warning)
1>src\GUI\nxtCanvasWidget.cpp(89): warning C4100: 'event' : unreferenced formal parameter
1>src\GUI\nxtCanvasWidget.cpp(338): error C2668: 'pow' : ambiguous call to overloaded function
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(583): could be 'long double pow(long double,int)'
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(535): or       'float pow(float,int)'
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(497): or       'double pow(double,int)'
1>          while trying to match the argument list '(int, int)'
1>src\GUI\nxtCanvasWidget.cpp(338): error C2668: 'pow' : ambiguous call to overloaded function
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(583): could be 'long double pow(long double,int)'
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(535): or       'float pow(float,int)'
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(497): or       'double pow(double,int)'
1>          while trying to match the argument list '(int, int)'
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:04.40
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
spillerrec
Posts: 358
Joined: 01 Oct 2010, 06:37
Location: Denmark
Contact:

Re: Preview of "RICcreator", yet another RIC editor

Post by spillerrec »

I call pow(int,int), but then it can't figure out if it should use pow( float, int ) or pow( double, int )? -__-
Well, I will remove the use of pow since it was just used to square the numbers...
My blog: http://spillerrec.dk/category/lego/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
spillerrec
Posts: 358
Joined: 01 Oct 2010, 06:37
Location: Denmark
Contact:

Re: Preview of "RICcreator", yet another RIC editor

Post by spillerrec »

I have uploaded a new build today.

New features:
  • Importing bitmap images into a RIC sprite.
  • Exporting a view of the RIC file to PNG, exporting a RIC sprite or section of a RIC sprite to PNG.
  • Copy and Paste in the sprite editor.
  • Cropping and bucket-fill added in the sprite editor.
  • Open files by dragging them into the main window.
More details and screenshots on my blog: http://spillerrec.wordpress.com/2011/07 ... ly-update/

I'm currently seeing the sprite editor as being almost feature complete. I will only add a Text tool. (Undo/Redo system later on.) If anyone thinks it lacks something other than that, feel free to request it.

Download:
Please bear in mind that it is a preview, there are several minor bugs in the interface:
http://sourceforge.net/projects/riccrea ... p/download
My blog: http://spillerrec.dk/category/lego/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: Preview of "RICcreator", yet another RIC editor

Post by muntoo »

Code: Select all

//round() is non-standard?
Yup. :)

VS2010:

Code: Select all

1>------ Build started: Project: RICcreator, Configuration: Debug Win32 ------
1>Build started 25/07/2011 5:43:06 PM.
1>InitializeBuildStatus:
1>  Touching "debug\RICcreator.unsuccessfulbuild".
1>CustomBuild:
1>  Moc'ing src\GUI\about.h...
1>  Moc'ing src\GUI\ricobjectview\copyoptions_value.h...
1>  Moc'ing src\GUI\importImageDialog.h...
1>  Moc'ing src\GUI\mainwindow.h...
1>  Moc'ing src\GUI\nxtCanvasWidget.h...
1>  Moc'ing src\GUI\nxtCanvasWidgetContainer.h...
1>  Moc'ing src\GUI\nxtVarEdits\nxtRicWordExtraValue.h...
1>  Moc'ing src\GUI\nxtVarEdits\nxtVarEditAbstract.h...
1>  Moc'ing src\GUI\ricobjectview\nxtVarWordValue.h...
1>  Moc'ing src\GUI\ricobjectview\optionsValue.h...
1>  Moc'ing src\GUI\ricobjectview\ricObjectAbstract.h...
1>  Moc'ing src\GUI\ricobjectview\ricObjectAbstractChildren.h...
1>  Moc'ing src\GUI\ricObjectModel.h...
1>  Moc'ing src\GUI\ricParametersModel.h...
1>  Moc'ing src\GUI\ric_value.h...
1>  Moc'ing src\GUI\ricfile_widget.h...
1>  Moc'ing src\GUI\ricobjectview\ricobject_container.h...
1>  Moc'ing src\GUI\ricobjectview\spriteValue.h...
1>  UIC src\GUI\about.ui
1>  UIC src\GUI\ricobjectview\copyoptions_value.ui
1>  UIC src\GUI\importImageDialog.ui
1>  UIC src\GUI\mainwindow.ui
1>  UIC src\GUI\ric_value.ui
1>  UIC src\GUI\ricfile.ui
1>  UIC src\GUI\ricobjectview\spriteValue.ui
1>ClCompile:
1>  moc_about.cpp
1>  moc_copyoptions_value.cpp
1>  moc_importImageDialog.cpp
1>  moc_mainwindow.cpp
1>  moc_nxtCanvasWidget.cpp
1>  moc_nxtCanvasWidgetContainer.cpp
1>  moc_nxtRicWordExtraValue.cpp
1>  moc_nxtVarEditAbstract.cpp
1>  moc_nxtVarWordValue.cpp
1>  moc_optionsValue.cpp
1>  moc_ricfile_widget.cpp
1>  moc_ricObjectAbstract.cpp
1>f:\mateen\programming\opensourceprojects\riccreator\src\gui\ricobjectview\../../riclib/ricObject.h(71): warning C4100: 'canvas' : unreferenced formal parameter
1>  moc_ricObjectAbstractChildren.cpp
1>f:\mateen\programming\opensourceprojects\riccreator\src\gui\ricobjectview\../../riclib/ricObject.h(71): warning C4100: 'canvas' : unreferenced formal parameter
1>  moc_ricObjectModel.cpp
1>  moc_ricobject_container.cpp
1>  moc_ricParametersModel.cpp
1>  moc_ric_value.cpp
1>  moc_spriteValue.cpp
1>  about.cpp
1>  copyoptions_value.cpp
1>  Generating Code...
1>  Compiling...
1>  importImageDialog.cpp
1>src\GUI\importImageDialog.cpp(249): warning C4100: 'new_level' : unreferenced formal parameter
1>src\GUI\importImageDialog.cpp(261): error C3861: 'round': identifier not found
1>src\GUI\importImageDialog.cpp(276): error C3861: 'round': identifier not found
1>  main.cpp
1>  mainwindow.cpp
1>f:\mateen\programming\opensourceprojects\riccreator\src\gui\../riclib/ricObject.h(71): warning C4100: 'canvas' : unreferenced formal parameter
1>  nxtCanvas.cpp
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\nxtCopyOptionsBase.h(82): warning C4800: 'unsigned int' : forcing value to bool 'true' or 'false' (performance warning)
1>src\riclib\nxtCanvas.cpp(52): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>src\riclib\nxtCanvas.cpp(284): warning C4244: 'argument' : conversion from 'double' to 'unsigned int', possible loss of data
1>src\riclib\nxtCanvas.cpp(287): warning C4244: 'argument' : conversion from 'double' to 'unsigned int', possible loss of data
1>src\riclib\nxtCanvas.cpp(294): warning C4244: 'argument' : conversion from 'double' to 'unsigned int', possible loss of data
1>src\riclib\nxtCanvas.cpp(297): warning C4244: 'argument' : conversion from 'double' to 'unsigned int', possible loss of data
1>src\riclib\nxtCanvas.cpp(367): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
1>src\riclib\nxtCanvas.cpp(368): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
1>src\riclib\nxtCanvas.cpp(374): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
1>src\riclib\nxtCanvas.cpp(412): warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
1>src\riclib\nxtCanvas.cpp(457): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObject.h(71): warning C4100: 'canvas' : unreferenced formal parameter
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(54): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(55): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(124): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(125): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(126): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(127): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(152): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(153): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(154): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(178): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(179): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(180): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(205): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(206): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(232): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(233): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(234): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(260): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(261): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(262): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(285): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(286): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(287): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(288): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(315): warning C4355: 'this' : used in base member initializer list
1>src\riclib\nxtCanvas.cpp(616): warning C4018: '<' : signed/unsigned mismatch
1>src\riclib\nxtCanvas.cpp(618): warning C4018: '<' : signed/unsigned mismatch
1>  nxtCanvasWidget.cpp
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\nxtCopyOptionsBase.h(82): warning C4800: 'unsigned int' : forcing value to bool 'true' or 'false' (performance warning)
1>src\GUI\nxtCanvasWidget.cpp(28): error C2668: 'atan' : ambiguous call to overloaded function
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(553): could be 'long double atan(long double)'
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(505): or       'float atan(float)'
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(108): or       'double atan(double)'
1>          while trying to match the argument list '(int)'
1>src\GUI\nxtCanvasWidget.cpp(324): error C2668: 'atan2' : ambiguous call to overloaded function
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(555): could be 'long double atan2(long double,long double)'
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(507): or       'float atan2(float,float)'
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(109): or       'double atan2(double,double)'
1>          while trying to match the argument list '(int, int)'
1>src\GUI\nxtCanvasWidget.cpp(325): error C2668: 'sqrt' : ambiguous call to overloaded function
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(589): could be 'long double sqrt(long double)'
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(541): or       'float sqrt(float)'
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(127): or       'double sqrt(double)'
1>          while trying to match the argument list '(int)'
1>src\GUI\nxtCanvasWidget.cpp(327): error C3861: 'round': identifier not found
1>src\GUI\nxtCanvasWidget.cpp(328): error C3861: 'round': identifier not found
1>src\GUI\nxtCanvasWidget.cpp(329): error C3861: 'round': identifier not found
1>src\GUI\nxtCanvasWidget.cpp(360): error C2668: 'sqrt' : ambiguous call to overloaded function
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(589): could be 'long double sqrt(long double)'
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(541): or       'float sqrt(float)'
1>          c:\Program Files\Microsoft Visual Studio 10.0\VC\include\math.h(127): or       'double sqrt(double)'
1>          while trying to match the argument list '(int)'
1>  nxtCanvasWidgetContainer.cpp
1>src\GUI\nxtCanvasWidgetContainer.cpp(71): warning C4146: unary minus operator applied to unsigned type, result still unsigned
1>src\GUI\nxtCanvasWidgetContainer.cpp(76): warning C4146: unary minus operator applied to unsigned type, result still unsigned
1>  ricObjectAbstract.cpp
1>f:\mateen\programming\opensourceprojects\riccreator\src\gui\ricobjectview\../../riclib/ricObject.h(71): warning C4100: 'canvas' : unreferenced formal parameter
1>  ricObjectDraw.cpp
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\nxtCopyOptionsBase.h(82): warning C4800: 'unsigned int' : forcing value to bool 'true' or 'false' (performance warning)
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObject.h(71): warning C4100: 'canvas' : unreferenced formal parameter
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(54): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(55): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(124): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(125): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(126): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(127): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(152): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(153): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(154): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(178): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(179): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(180): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(205): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(206): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(232): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(233): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(234): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(260): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(261): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(262): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(285): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(286): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(287): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(288): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(315): warning C4355: 'this' : used in base member initializer list
1>  ricObjectModel.cpp
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObject.h(71): warning C4100: 'canvas' : unreferenced formal parameter
1>  ricObjectTexter.cpp
1>f:\mateen\programming\opensourceprojects\riccreator\src\gui\../riclib/ricObject.h(71): warning C4100: 'canvas' : unreferenced formal parameter
1>  ricParametersModel.cpp
1>src\GUI\ricParametersModel.cpp(27): warning C4100: 'index' : unreferenced formal parameter
1>src\GUI\ricParametersModel.cpp(43): warning C4100: 'index' : unreferenced formal parameter
1>  ric_value.cpp
1>  ricfile.cpp
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\nxtCopyOptionsBase.h(82): warning C4800: 'unsigned int' : forcing value to bool 'true' or 'false' (performance warning)
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObject.h(71): warning C4100: 'canvas' : unreferenced formal parameter
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(54): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(55): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(124): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(125): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(126): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(127): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(152): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(153): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(154): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(178): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(179): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(180): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(205): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(206): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(232): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(233): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(234): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(260): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(261): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(262): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(285): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(286): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(287): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(288): warning C4355: 'this' : used in base member initializer list
1>f:\mateen\programming\opensourceprojects\riccreator\src\riclib\ricObjectChildren.h(315): warning C4355: 'this' : used in base member initializer list
1>src\riclib\ricfile.cpp(47): warning C4244: '=' : conversion from 'std::streamoff' to 'unsigned int', possible loss of data
1>  ricfile_widget.cpp
1>  spriteValue.cpp
1>  Generating Code...
1>
1>Build FAILED.
1>
1>Time Elapsed 00:01:34.55
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Constructive criticism
  • RICCreator crashes when I try to Fill an empty sprite.
  • The copy/paste is sort of glitchy, too.
  • You should make the copy/paste and freehand/rectangle/circle toolbar icons smaller - it looks "weird", at the moment.
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
spillerrec
Posts: 358
Joined: 01 Oct 2010, 06:37
Location: Denmark
Contact:

Re: Preview of "RICcreator", yet another RIC editor

Post by spillerrec »

Sigh, I have to implement round myself then...

"RICCreator crashes when I try to Fill an empty sprite." - Fixed
"The copy/paste is sort of glitchy, too." - There is a bug if you try to drag it out to the left or bottom, is this what you are talking about? (Fixed btw) It does currently not automatically enlarge the canvas like the other tools do...
new tools.jpg
I will most likely remove the copy and paste buttons and place them in the main window toolbar, as this toolbar is already getting too long. I also have to get the shortcuts to work...
The placement of the zoom slider still looks a bit weird imo...

EDIT: based on your error log I have tried to fix those issues, but I cannot confirm it as I don't use VS.
My blog: http://spillerrec.dk/category/lego/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: Preview of "RICcreator", yet another RIC editor

Post by muntoo »

spillerrec wrote:EDIT: based on your error log I have tried to fix those issues, but I cannot confirm it as I don't use VS.
It's fixed; Rev. 112 122 (I think it's 112 122) compiles and runs OK.
Last edited by muntoo on 26 Jul 2011, 23:14, edited 1 time in total.
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
spillerrec
Posts: 358
Joined: 01 Oct 2010, 06:37
Location: Denmark
Contact:

Re: Preview of "RICcreator", yet another RIC editor

Post by spillerrec »

Great : )

I have just pushed rev. 123 out on the SVN. Now it automatically assigns a free ID when adding a sprite or varmap. It also visually shows if an ID is available:
ids_colored.jpg
Valid IDs are green, invalid IDs are red, and IDs which have the same value as a previous assigned ID are yellow.
My blog: http://spillerrec.dk/category/lego/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
stryker001
Posts: 125
Joined: 29 Sep 2010, 18:07
Contact:

Re: Preview of "RICcreator", yet another RIC editor

Post by stryker001 »

can't wait to try this!
spillerrec
Posts: 358
Joined: 01 Oct 2010, 06:37
Location: Denmark
Contact:

Re: Preview of "RICcreator", yet another RIC editor

Post by spillerrec »

First of all, just a small update.
I have fixed the scrollbar in the sprite editor. They currently move back to its center position after you have dragged them to allow infinitive scrolling. I'm sure this could be done smarter, I would love to hear suggestions.
The RIC objects tree-view has also been fixed a little: IDs data property is shown again and CopyOptions (displays enabled properties) and Sprites (displays size) are now added.
I have also added a fullscreen mode which hides the taskbar and window decorations, thus enabling more screen area than a maximized window. Perfect for notebook computers. (This is handled by QT which reports some issues might appear with X which might cause it to fail with some window managers. More info here: http://doc.qt.nokia.com/latest/qwidget. ... FullScreen)

I have currently been working on a major core update which I intended to finish today, however there are too many new bugs which needs to be fixed first.
This update is to prevent the sprite (nxtCanvas) to move when it is automatically resized. This will make it possible to enable automatic resizing while you are drawing with freehand and during "previews" of the other drawing tools.

The reason I wanted to finish it today is that I'm going on a 1½ vacation to Ireland the day after tomorrow. And I have just today received confirmation that I have been accepted to the Computer Science course at university which starts in a month. I have yet to secure housing in the area though and it is too far away to commute...
So in short, the next two months are going to be a bit hectic and I will most likely not have much time to work on this and other Lego related stuff...
My blog: http://spillerrec.dk/category/lego/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
spillerrec
Posts: 358
Joined: 01 Oct 2010, 06:37
Location: Denmark
Contact:

Re: Preview of "RICcreator", yet another RIC editor

Post by spillerrec »

I present yet another preview.
First of all, I have just moved and started on CS at university. Sadly this also means that I do not have an internet connection. (I knew I was going to regret having to get online to commit someday...)

To the updates:
I have fixed the bugs in my nxtCanvas update which means that the canvas can now change size while you draw on it.
I have finally made VarMap and Polygon editable in the GUI.

Smaller fixes:
File was marked as edited if it contained a sprite or VarMap.
Horizontial scrollbar in nxtCanvasEdit reversed
Application icon added
(Win only) EXE icon added
Link to website documentation page added in Help->RICcreator Help
File not saved dialog polished


VarMap and Polygon was implemented a bit fast. Its look and feel is much like nxtRICedit however it doesn't hide the "add" buttons as of yet.
Right now it rebuilds the whole list everytime you add/move/delete items which might be noticeable with larger lists.
It needs an overhal anyway, so suggestions are welcome.
RICcreator polygon.jpg

I would love to get bug reports as I'm nearing the alpha release.
http://sourceforge.net/projects/riccrea ... p/download


Also, anyone have a spec on RICscript? I don't want to implement a text-based format without knowing which syntax is allowed and how whitespace is handled...
My blog: http://spillerrec.dk/category/lego/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests