Click here to load JAG Reloaded
Who's Online
2 registered (Moyerkain, johno), 14 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Topic Options
Rate This Topic
#250194 - 24 April, 2010 11:01 AM Basic Platform
Headrock
Marshall
Marshall

Posts: 7118
Loc: Jerusalem

______
The HAMtasticator
We've been discussing the first step for SMP, and I suggested that one possible step would be to strip JA2 of everything that can be relegated to scripts, then building up from there.

Here's a list of what I could come up with. It's not much, and I probably got confused with some things, so feel free to comment.

  • Video
    • Display static images
    • Display sprites (*)
    • Resolution independency (*)
    • Display both Truetype and Bitmap fonts (*)
    • Unlimited scaling for all visual components (*)
  • Audio
    • Replay sound
    • Stereo effects
    • 3D effects? (*)
  • TileEngine
    • 3D maths functions that take isometrics into account
    • 2D -> 3D conversion functions
    • Physics engine
    • Collisions (*)
  • Interface
    • Menus and panels
      • RII (*)
      • Moveable panels (*)
      • Resizeable panel (*)
      • Panel scrolling (*)
      • Panel hide/show (*)
      • Buttons with callbacks
      • Click regions with callbacks
      • Mouseover regions
    • hardware
      • Mouse (3 buttons + scroll) (*)
      • Keyboard
      • Console (*)
  • File system
    • Read/write INI
    • More standardized Read/write XML (*)
    • Read graphics
    • Read audio
    • Read 3D tile/object collision data
    • Read rudimentary terrain data from a simple file
  • On-screen error catching/reporting


(Components marked with (*) are either not currently present and may need to be added, or simply require enhancement.)

The idea is to remove everything that's not on this list from the code entirely, ensuring that all we have left are these components. The next step is to build the interface entirely with Lua scripts, creating primitive versions of the main gameplay elements along the way, such as displaying a main menu, strategic screen and tactical screen, without bothering to correlate anything between them - everything comes in one step at a time, basically rebuilding JA2 from scratch over a sleeker and more capable platform.



Also it may be a good idea to remove all the Assembly language code, if possible.
_________________________
Alright, I'll work for you, damned Capitalist!
-- Ivan Dolvich
Offline - OFFLINE
Top
Badges:
#250266 - 25 April, 2010 03:54 AM Re: Basic Platform [Re: Headrock]
Helios
Merc
Merc

Posts: 33
Headrock: Posts like that are what is needed to get the wiki going... actually kind of dissapointed you decided not to update the wiki, I'm giving you my admin rights so you have more editing/erasing options.


Edited by Kaerar (26 April, 2010 09:26 AM)
Edit Reason: Removed info no longer appropriate.
Offline - OFFLINE
Top
#261144 - 31 August, 2010 02:32 AM Re: Basic Platform [Re: Helios]
mat69
Recruit
Recruit

Posts: 8
I haven't taken a look at the existing 3D math functions yet -- so no clue what is used atm -- though a good idea might be to use the Eigen Library since it is easy to use and very fast, amongst others as it uses some SIMD instructions automatically.

Though I suppose that this should be low on the Todo list but it might still be a nice improvement.
Offline - OFFLINE
Top


Moderator:  Dieter, Kaerar, Kaiden, lockie, Roadkill 

Forum Stats
7980 Members
52 Forums
7833 Topics
159322 Posts

Max Online: 228 @ 21 September, 2007 02:08 PM
Copyright 2000 Bear's Pit