we shouldn't never specify a specific screen implementation in the
examples, otherwise they won't run on platforms where that
implementation is not available.
We should always try asking for the default implemenation for the
platform we are running on (by omitting the argument when requesting for
the screen pointer)
still needs testing as things got shaked quite a bit
now stabilizing this branch and then merge into trunk
Conflicts:
src/gl_screen.cpp
src/include/factory.h
src/include/freeframe_freej.h
src/include/frei0r_freej.h
src/kbd_ctrl_js.cpp
src/layer.cpp
src/mouse_ctrl.cpp
now screens are also present in JS
still tasks pending:
backwards compatibility with scripts
resolution of multiple screens in startup/reset logic
testing
testing that multiple scripts can be included from a main one
removed js garbage collection in controllers (was called after script load)
included JSON as a standard library (it works!)
modified example scripts to avoid namespace clash