[Map] Map Viewer by Vel

This is a sub forum dedicated to an open source map editor.
Don't post in it about another subject

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Forum rules
This is a sub forum dedicated to an open source map editor.
Don't post in it about another subject

How could you rate this program?

Very Good
5
50%
Good
2
20%
Buggy
2
20%
Impossible to use
1
10%
 
Total votes : 10

Re: [Map] Map Viewer by Vel

Postby PurpleYouko on Fri Mar 20, 2009 5:10 pm

I'm using Visual Studio 2005 Professional edition.
It seems to be a lot more fussy than the lite versions that you can get for free.

I just had a look at one of the first warnings in the list
  1.  
  2.         uint16  getUnsignedShort ()
  3.     {
  4.         if ( pos + 1 >= length )
  5.             return -1;
  6.  
  7.         uint16 v = *(uint16 *) (bits + pos);
  8.  
  9.         pos += 2;
  10.  
  11.         return v;
  12.     }

This code gets this warning
Warning 4 warning C4245: 'return' : conversion from 'int' to 'uint16', signed/unsigned mismatch
I see why too. If you assign the output of the function as uint16 then how can you return a -1?
It should not actually cause an error since the -1 will just be returned in uint16 format but I don't really see how this could not give a warning in any version :?
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: [Map] Map Viewer by Vel

Postby lmame on Fri Mar 20, 2009 5:27 pm

If your version is 2005 perhaps you can't open properly a 2008 project :)
I had the problem once.

I builded the "2008" version without problem.
xadet is right, you need DirectX SDK to be installed to get ddraw.h.
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: [Map] Map Viewer by Vel

Postby PurpleYouko on Fri Mar 20, 2009 5:44 pm

I'm downloading the SDK. Don't know if i can install it though. I don't have many privileges on this PC :(

Nope can't do it. It says i need to be logged in as an admin to install it.
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: [Map] Map Viewer by Vel

Postby lmame on Fri Mar 20, 2009 5:54 pm

Try only to get the ddraw.h file on google. With a little luck it'll be enough.
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: [Map] Map Viewer by Vel

Postby Vel on Fri Mar 20, 2009 6:00 pm

lmame wrote:xadet is right, you need DirectX SDK to be installed to get ddraw.h.


But I am not using this header, I use OpenGL! If this header is including just comment that line.
Sorry for terrible english. My native language is C++
User avatar
Vel
Pomic
Pomic
 
Posts: 120
Joined: Mon Nov 03, 2008 9:13 am
Location: Ukraine, Kharkov.

Re: [Map] Map Viewer by Vel

Postby lmame on Fri Mar 20, 2009 6:28 pm

... No comment :lol: ...
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: [Map] Map Viewer by Vel

Postby DragonXX on Fri Mar 20, 2009 8:15 pm

lmame wrote:If your version is 2005 perhaps you can't open properly a 2008 project :)
I had the problem once.

I builded the "2008" version without problem.
xadet is right, you need DirectX SDK to be installed to get ddraw.h.


So, can you post your sources for VS2008? ;)
DragonXX
Rackie
Rackie
 
Posts: 155
Joined: Tue Aug 07, 2007 11:10 pm

Re: [Map] Map Viewer by Vel

Postby lmame on Fri Mar 20, 2009 8:35 pm

Why? Vel posted his 2008 project like 2 posts ago and told to comment the line with ddraw.h.
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: [Map] Map Viewer by Vel

Postby DragonXX on Fri Mar 20, 2009 11:31 pm

OMG... Sorry i didnt see.
Thank you for information...
DragonXX
Rackie
Rackie
 
Posts: 155
Joined: Tue Aug 07, 2007 11:10 pm

Re: [Map] Map Viewer by Vel

Postby Vel on Fri Mar 20, 2009 11:46 pm

Can someone show me his screenshot of working map viewer?
Sorry for terrible english. My native language is C++
User avatar
Vel
Pomic
Pomic
 
Posts: 120
Joined: Mon Nov 03, 2008 9:13 am
Location: Ukraine, Kharkov.

PreviousNext

Return to [Project] Map Editor

Who is online

Users browsing this forum: No registered users and 2 guests

cron