View previous topic :: View next topic |
Author |
Message |
Inferior Minion Metric Ruler
Joined: 03 Jan 2003 Posts: 741 Location: Santa Barbara, CA
|
Posted: Wed Aug 02, 2006 11:51 pm Post subject: OHR++ |
|
|
While responding to BB's Oscars thread, I realized I hardly discuss any of the projects I'm working on and with all the work I put into creating these journals, I might as well put them to use.
Apart from work and school, OHR++ has occupied th e most of my time.
After hours of frustration cringing at the OHR source code, and after complaing quite a bit to TMC and Cube, I talked myself into porting GAME to C++. TMC has been an invaluable source of OHR information, without which this project wouldn't have even started. Currently, battle formations (backdrops and placed enemies), maps (including overhead tiles, wraparound, and default tiles on map edges), and NPCs (not including chase hero) are functional.
I'm currently working on the internal states (separating the camera position from the hero position, for instance) and the hero party. This bit of code has turned out to be quite larger than I anticipate, but is progressing smoothly.
The latest build can be found here.
This zip is only the windows version, but the code compiles and runs on both Linux and Mac as well (source not included in .zip).
Drag an RPG file into the executable to launch it.
Arrow keys move the placeholder hero around the screen (4 pixels at a time, hero based tile movement is my current task). N switches to the next map. - zooms the map out, = zooms in. Closing the GUI window does not quit the program, but closing the DOS window does. The window itself is resizable to any arbitrary size. It will try to keep the aspect ratio while scaling the tiles as needed. It does not keep the tiles centered, yet.
I've been primarily testing in Linux and have noticed various issues arise when I compiled the code in windows. The actual act of getting it running took far longer than I expected, all due to the way Linux handled NULL data. The latest incarnation of this is the Previous Map button (p), which crashes in Windows but doesn't crash in Linux.
Play around with it, let me know of any issues that might arise. Also, anyone who doesn't have cygwin installed (I assume that's most people), could you delete the cygwin.dll that comes in the .zip and see if the program still runs? I wasn't sure if I needed to distribute that .dll for the windows version and don't have another windows computer to test it on.
~IM
Four floors of windows hide only two floors of space.
Those who seek the truth, I hereby Announce, you are chasing A Story For The Ages _________________
|
|
Back to top |
|
|
Onlyoneinall Bug finder
Joined: 16 Jul 2005 Posts: 746
|
Posted: Thu Aug 03, 2006 12:14 am Post subject: |
|
|
Not being the type knowledgable at all at programing, all I can say is it seems fine so far, for what you have and what you have asked to test (I'm using Windows). The little cywin.dll file you included, I deleted it and tried running it and it still worked, so I don't think you need that file (as far as I know, I don't have cywin, nor have any idea what it is). _________________ http://www.castleparadox.com/gamelist-display.php?game=750 Bloodlust Demo 1.00
|
|
Back to top |
|
|
Camdog
Joined: 08 Aug 2003 Posts: 606
|
Posted: Thu Aug 03, 2006 7:12 am Post subject: |
|
|
Can you post the source? |
|
Back to top |
|
|
Inferior Minion Metric Ruler
Joined: 03 Jan 2003 Posts: 741 Location: Santa Barbara, CA
|
Posted: Thu Aug 03, 2006 7:27 am Post subject: |
|
|
Of course: http://svn.castleparadox.com/repos/ohr++/
The source documentation can be found here: http://www.castleparadox.com/ohr++/
I've been using Eclipse to maintain my make file (laziness), so there isn't an easy way to grab and compile. If you do want to compile the script, make sure you add ./src/include/ as an include path. You also need to link the OpenGL and GLUT (or FreeGLUT in the case of Linux). I forget if I needed to do anything special to compile it in Mac, as it's been a while since I set that compiling up. _________________
|
|
Back to top |
|
|
MultiColoredWizard Come back, baby! The Breastmaster
Joined: 01 Feb 2003 Posts: 1232
|
Posted: Sat Aug 05, 2006 1:42 am Post subject: |
|
|
this is certainly looking cool. makes me wish i'd brush up on my cpp (lack of) skills and give it some testing. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|