Feature #222

porting Tools MFC Cleaning : ZViewer

Added by titegus almost 11 years ago. Updated almost 9 years ago.

Status:Closed Start date:12/04/2008
Priority:Normal Due date:
Assignee:kervala % Done:

100%

Category:Tools: General
Target version:Version 0.7.0 Estimated time:2.00 hours

Description

found the ZViewer Tool on my way:
ZViewer allows you to view one or more zones exported from 3DSMax inside the NeL Engine

MFC was only used to display the Window Icon. I removed it, so it should now be cross-platform, plus I think there is already a NeL mecanism to display Window Icon as the "init" method of the IDriver interface accepts an Icon as a parameter. So I guess the "initDriver" method of the CNELU should also accepts one, which is not the case, but i didn't feel like trying to modify NeL right now.

I also completed the english translation of the readme file, fixed a bug at config file load (screen resolution wasn't taken into account), and fixed the vertical text alignement.

zviewer.jpg - ZViewer Screen Shot (67.3 kB) titegus, 12/04/2008 09:35 pm

zviewer_MFCClean.zip - MFC Cleaned ZViewer (15.1 kB) titegus, 12/04/2008 09:35 pm

History

#1 Updated by kervala almost 11 years ago

  • Target version set to Version 0.7.0

You didn't need to remove the .rc file, but only replace "afxext.h" by <windows.h>

This project is not using MFC excepted for this include which is not required.

I applied most of your changes and added :

  • fix for absolute path in .bank files
  • WinMain under Windows instead of main()
  • a title for NeL window
  • all errors which were printed in console are now written in log.log
  • font from snowballs (is working too under Linux) instead of one from Windows

#2 Updated by kervala almost 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r586.

#3 Updated by sfb over 10 years ago

  • Status changed from Resolved to Closed

This has been applied to SVN and we are able to build it using VCExpress 2008.

#4 Updated by kervala almost 9 years ago

  • Project changed from NeL to Ryzom
  • Category deleted (Tools)
  • Target version deleted (Version 0.7.0)

#5 Updated by kervala almost 9 years ago

  • Category set to Tools: General
  • Assignee set to kervala
  • Target version set to Version 0.7.0

Also available in: Atom PDF