|
||||||||
| Xoutpost server transfer and maintenance is occurring.... |
| Xoutpost is currently undergoing a planned server migration.... stay tuned for new developments.... sincerely, the management |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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 |
![]() |
| Bookmarks |
|
|
|
|