Porting Arx Fatalis: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This article contains a list of Win32 dependent code & data structures in Arx Fatalis. It also contains a list of potential libraries to replace this code and data structures with cross platform alternatives.
This article tracks the status of the Arx Fatalis cross platform port. It also lists potential libraries to replace windows-specific code.


== Win32-dependent code ==
== Linux / FreeBSD / Mac OS X Status ==


== Win32-dependent data structures ==
* '''audio''': <font color="green">done</font>: abstracted audio backend, new OpenAL backend
* '''io''': <font color="green">done</font>: abstracted with boost::filesystem and POSIX implementations
* '''renderer''': <font color="green">done</font>: abstracted renderer backend, new OpenGL implementation, new D3D9 implementation
* '''input''': <font color="green">done</font>: abstracted input backend, new SDL backend
* '''windowing''': <font color="green">done</font>: backend abstracted, new SDL backend
* '''misc''': threads, timing code abstracted, msvc-specific string functions replaced, image code ported to DevIL, text rendering ported to FreeType
* '''editor''': <font color="red">todo</font> [[Changes from Arx Fatalis#Editor mode|(info)]]


== Library suggestions ==
[[Changes from Arx Fatalis#Removed Features|Some features didn't make it...]]
[http://www.sfml-dev.org/ SFML] looks like it would be a nice fit for the current code. It has an object-oriented API that does not force a callback loop( think GLUT ), it also takes care of abstracting several things including: OpenGL for 3D, loading of images, loading of fonts, text rendering of said fonts( research needed into whether or not it's done with OpenGL), keyboard and mouse input, OpenAL for sound and UTF conversion for MultiByte and WideChars. Much of the platform dependent parts in Arx can be replaced with what [http://www.sfml-dev.org/ SFML] has to offer.
 
[[Category:Development information]]

Latest revision as of 08:25, 30 June 2018

This article tracks the status of the Arx Fatalis cross platform port. It also lists potential libraries to replace windows-specific code.

Linux / FreeBSD / Mac OS X Status

  • audio: done: abstracted audio backend, new OpenAL backend
  • io: done: abstracted with boost::filesystem and POSIX implementations
  • renderer: done: abstracted renderer backend, new OpenGL implementation, new D3D9 implementation
  • input: done: abstracted input backend, new SDL backend
  • windowing: done: backend abstracted, new SDL backend
  • misc: threads, timing code abstracted, msvc-specific string functions replaced, image code ported to DevIL, text rendering ported to FreeType
  • editor: todo (info)

Some features didn't make it...