15 Commits

Author SHA1 Message Date
xant
5d602d0ba0 stop changing scripts so that they work only on linux , please
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)
2010-04-23 12:22:45 +02:00
Jaromil
4a413114da small fixes to Screen
scripts now use new Screen() factory
good coords calculations, better aa options
2009-10-07 13:40:16 +02:00
Xant
9b805c0354 don't use hardcoded values for screen size, query the screen instead
(and initialize it if necessary)
2009-09-13 04:35:03 +02:00
Jaromil
ad8e5ca2fd some more adjustements and fixes 2009-08-30 22:48:57 +02:00
Jaromil
16ea26558c Merge branch 'singleton' into cleanup_aug09
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
2009-08-30 19:11:21 +02:00
Jaromil
f608aeff1f some stabilization after cleanup
preparing to merge singleton branch
it will solve unique screen and controllers for multiple javascripts
2009-08-30 17:33:11 +02:00
Jaromil
f3c72894fc screated screen_js
now screens are also present in JS
still tasks pending:
	backwards compatibility with scripts
	resolution of multiple screens in startup/reset logic
	testing
2009-08-30 04:28:49 +02:00
Xant
7c8fe8f6a1 ops 2009-08-29 17:02:39 +02:00
Xant
dc939ae8bf don't use hardcoded values, but query the environment for screen size 2009-08-29 17:02:38 +02:00
Jaromil
89d97e5228 change width/height() to get_width/get_height()
later on will be methods attached to the screen class
2009-08-28 22:03:31 +02:00
Pablo Martin
6888a312e1 dont override global functions. 2009-08-27 18:00:53 +02:00
Xant
689308ac83 query the environment for screen resolution
(instead of using hardcoded values)
2009-08-21 10:15:40 +02:00
Jaromil
a190f3f4e2 refactoring of garbage collection
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
2009-05-16 17:00:37 +02:00
Jaromil
4f1500e7df cleanup and debugging of last changes
also trying to figure out why quit messed up
old jsparser's SIGINT catch was removed
2009-05-15 21:48:15 +02:00
Jaromil
baec800d0f script directory re-organisation 2008-12-02 01:47:39 +01:00