 |
|  |
 |
|
Mathemagician
|
 |
Darmstadt, Hessen, Germany, Europe, Earth, Solar System, Alpha-Quadrant, Milky Way
Sep 2002 time: 06:23
|
|
i am using a G++ compiler under cygwin (unix emulation for windows) and Microsoft Visual C++ simply to maintain the code.
im looking for a simple way to simulate some kind of map where you navigate, move cursor/units, etc...
a very simple way will be fine. but i have problems with the fact that everything is shown in the original text window and will scroll out of sight when you type anything.
i have discovered some cursor control functions, so theoretically i could use colored letters to simulate a map. but that is rather limited and unsatisfactory.
does anyone know of a way to create a new window with displays, pixels, possibly mouse controls.
or can someone help to use that Visual C++ (6.0) thing ? i used it years ago, but have forgotten what little i knew.
|
|
|  |
 |
|
Mathemagician
|
 |
Darmstadt, Hessen, Germany, Europe, Earth, Solar System, Alpha-Quadrant, Milky Way
Sep 2002 time: 06:23
|
|
quote: Originally posted by J Bytheway
I guess you could seek out some kind of graphics library...
|
hmm. yeah. i was hoping someone would know one. but for the moment, it doesnt even have to be a real graphics library, rather some commands, standard or not, to control cursor, window, pixels, ...
simple things. just to get started. 
quote: Originally posted by J Bytheway
Whatever you do, be sure to keep the display component seperate from the unerlying engine to make it easy to rewrite using a different graphics system if you want.
|
you mean i should do all the graphics stuff in an independent module or something, so that the main program simply says something like "graphics.drawThings()" or so ?
|
|
|  |
All times are GMT. The time now is 05:23. Apolyton Time is 00:23. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|