[Ohrrpgce] Proposed port to c++

Ralph Versteegen teeemcee at gmail.com
Thu Jan 29 10:35:08 PST 2009


2009/1/28 Jay Tennant <hierandel8 at crazyleafgames.com>:
>
> A proposed reconstruction of the OHRRPGCE and Game. Code will be C++, though
> plugins won't have to be. System will follow object-oriented design.
> Proposed modules:
> File IO
> Plotscript
> Window
> Graphic Renderer
> Surfaces (most everything is a surface, and surfaces may be rendered
> differently in different OS's, etc.)
> Audio Renderer
> Human Interface Devices
> {
>     Mouse
>     Keyboard
>     Other
> }
> Game Editor
> Game Player
> Network (in case of multiplayer, or streaming file IO over a network, or
> streaming other modules?)
>
> What adjustments to this proposal would you make? What other modules would
> you add? Which would you remove?


On request (on CP), a look at your modules:

Designing a program starting from the very top, the classes, seems a
bit crazy to me. I've never focused that much on the object orientated
mindset. So I'm really a bit lost as to what the goal of this part of
your design process is, or what exactly the distinction between a
class and a module is.

Wouldn't "Game Player" end up containing nearly the whole engine? I
guess that wasn't your intent since you've listed Editor and Player,
and a lot of the logic would be attached to objects (like NPCs) in
common between them.

BTW, here is the Class List for the OHR++:
http://ohrpp.castleparadox.com/docs/annotated.html
Is this just what you were thinking of?

Why's Plotscript singled out but not Shop, Map, Enemy, Formation,
Attack, NPC, Hero...?

Also, think about abstraction of RPG files, assuming that 'File IO'
mean generic IO. Have you looked at the RPG format at all?
http://gilgamesh.dnsalias.org:8080/wiki/ohrrpgce/index.php/RPG_format
Games can be either lumped or unlumped (files in a folder) Lumps come
in a few different formats, though the data itself is usually a pretty
simple stream of integers and strings. The BINSIZE.BIN lump and
ARCHINYM.LMP affect how/which other lumps are loaded, and FIXBITS.BIN
is used to figure out how the game needs to be upgraded.

Also, what about save games?



More information about the Ohrrpgce mailing list