OHR++

From OHRRPGCE-Wiki
Jump to: navigation, search

OHR++ is a C++ rewrite written by Inferior Minion

The primary focus during this initial development stage is the organization of all the RPG lumps into classes while attempting to recreate game.exe.

Currently, the code utilizes OpenGL and GLUT (may change to SDL shortly), but Inferior Minion intends to use the project as a reason to do research into Windows programming and possibly DirectX.

More information can be found at the OHR++ website (alt link)

Source Code and Documentation[edit]

Doxygen Source Documentation

Source Code Repository Viewer (alt link)

To check out a copy of the latest code, use the following command:

svn checkout http://svn.castleparadox.com/repos/ohr++/

I recommend using Eclipse (or your IDE of choice), checking out the repository, and let your IDE manage the makefile for you. OHR++ currently requires OpenGL, OpenGL Utilities (GLU), and GLUT libraries to compile. Read the Readme for other compiling issues. Linux Makefiles are included in the SVN repository. Make from within the Debug or Release directory.

Updates[edit]

  • August 13, 2007: Website added: http://ohr++.castleparadox.com/ - try http://ohrpp.castleparadox.com if that site does not work.
  • November 28, 2006: Textbox triggering now responds to Textbox Conditionals - using tags to determine which Textbox to display, setting tags, linking to other Textboxes, and displaying enemy formations (Battle System not yet implemented).
  • November 11, 2006: NPCs are now triggered when stepped on or triggered using Enter or Space.
  • November 10, 2006: Incorporated Tags into Map Movement and Map Display.
  • November 2, 2006: Textboxes completed. Moving onto NPC interaction such that attempting to talk to NPCs trigger Textboxes.
  • November 1, 2006: Font Graphics completed. The Graphics Engine takes an input string, color, and position, then draws the each character to the screen. Textboxes are next on the list.
  • October 27, 2006: Door Linking fully functional, making map navigation complete.

Working Features[edit]

  • RPG lump loading
  • Backdrop display
  • Enemy display
  • Walkabout display
  • Hero display
  • Maptile display
  • Map navigation
  • NPC movement conforming to wallmap
  • Tile Animation
  • Keyboard input
  • GUI classes
  • Doors
  • Font Graphics
  • Textboxes
  • Tags
  • NPC Interaction (Talking, On Step triggers)

To Do[edit]

  • Battle System
  • Plotscript Loader/Interpreter
  • Saving/Save Files
  • Menus
  • Music
  • NPC/Hero interaction (Chasing, Running away)

Download[edit]

Windows Demo[edit]

  • Last Updated: November 28, 20006

The Windows Demo is updated periodically as new features are added. This is NOT a nightly compilation.

To use this demo version, drag an .RPG file into the executable. Running the executable directly will attempt to open the file "test.rpg" within the current folder.

In the current version, Battle Formation 0 is immediately loaded for testing purposes. Press = to scroll through Battle Formations. If you go past the last Battle Formation, OHR++ will crash. Pressing Enter or Space will exit the battle formation and bring you to the default map at the default tile location. It should be noted that no plotscripting is loaded and therefore the starting map and position may be incorrect.

Current Controls[edit]

  • Arrow Keys: Move Character
  • Enter or Space: Interact with NPCs
  • N: Increment current Map ID by 1
    • Skip to next map, same tile location
  • P: Decrement current Map ID by 1
    • Skip to previous map, same tile location
  • =: Zoom In on Map
    • Show less tiles, but tiles are drawn larger on screen
  • -: Zoom Out on Map
    • Show more tiles, but tiles are drawn smaller on screen
When a Battle Formation is Shown[edit]
  • Enter or Space: Exit Battle Screen
  • =: Increment Formation number
    • There is no error checking in this code and no way to decrement the number. If the number goes out of bounds (no more formations), the program will crash.

Screenshots[edit]