Home Forums Articles How To's FAQ Register
Go Back   Xoutpost.com > Electronics > Navigation System
Arnott
User Name
Password
Member List Premier Membership Today's Posts New Posts

Xoutpost server transfer and maintenance is occurring....
Xoutpost is currently undergoing a planned server migration.... stay tuned for new developments.... sincerely, the management


Closed Thread
 
LinkBack Thread Tools Display Modes
  #1  
Old 02-21-2006, 09:52 PM
Member
 
Join Date: Feb 2006
Location: Austin
Posts: 289
ambishop is on a distinguished road
There are 3 map modes:
1. 2D pointing north
2. 2D travel direction
3. 3D

System creates a menu then add clicable items in it:
CreateMenu(...);

AddMenuItem(0, "Pointing Norh", ...);
SetOnClickProc(0, point_north_click_proc, ...);

AddMenuItem(1, "Travel Direction", ...); SetOnClickProc(1, travel_dir_click_proc, ...);

AddMenuItem(2, "Perspective", ...);
SetOnClickProc(2, perspective_click_proc, ...);

ShowMenu(...);

When you select item, the apropiate clic procedure is called.
Click procedure for Point North looks like this:

turn_ON_point_north_mode(...);
turn_OFF_travel_dir_mode(...);
turn_OFF_perspective_mode(...);
RedrawMap(...);

Click procedure for 'Travel Direction' and 'Perspective' modes looks similar.

Each click procedure enable mode you selected, then disable two othre modes.
So 3D mode works in v26.09 and works after downgrade to v26. Unless you select 'Travel Direction' or 'Pointing North'.

Instead of adding another line of code we decided the easier solution was to just modify the two available options. adding a line of code can be risky, modifying a line was the easier path.

He had a post in one of the other threads.

Martin
  #2  
Old 02-21-2006, 10:12 PM
Member
 
Join Date: May 2005
Location: X5world
Posts: 6
jj007 is on a distinguished road
Nice work guys. I'm wondering how difficult it would be to use the V26.09a binary code with the 3 different perspective options and port them into the final V26 version. (I have a background in programming and experience reverse engineering software, but unfortunately no free time to help ) I agree, it probably wouldn't be as easy as just replacing one of the views, but using the code from V26.09a would at least be a good framework.
  #3  
Old 02-21-2006, 11:44 PM
Member
 
Join Date: Feb 2006
Location: Austin
Posts: 289
ambishop is on a distinguished road
I uploaded the Navboot file to UcrewX5 dissasembled. That would be were you would want to start. Take out the module required using Os9000 and drop it in.

With all of the coding talent here, I am sure someone can figure out how to turn all of the cool features on.

Martin
Closed Thread

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 06:30 PM.
vBulletin, Copyright 2026, Jelsoft Enterprises Ltd. SEO by vBSEO 3.6.0
© 2017 Xoutpost.com. All rights reserved. Xoutpost.com is a private enthusiast site not associated with BMW AG.
The BMW name, marks, M stripe logo, and Roundel logo as well as X3, X5 and X6 designations used in the pages of this Web Site are the property of BMW AG.
This web site is not sponsored or affiliated in any way with BMW AG or any of its subsidiaries.