102 Commits

Author SHA1 Message Date
4285cefa31 Merge branch 'ui' into tessallation 2014-05-16 07:57:03 +02:00
tpajenka
696269c1b5 non-ASCI characters on output (e.g. in compiler messages) may break certain shells preventing compiling 2014-05-16 00:39:29 +02:00
tpajenka
c17852d8e1 Merge branch 'master' into ui 2014-05-15 21:47:15 +02:00
tpajenka
51c48e62db revising preliminary inflexible button handling callback 2014-05-15 21:43:26 +02:00
5b9378c317 Merge branch 'ui' into tessallation 2014-05-15 15:19:02 +02:00
d83c87db1d
cam now moves with height.
- cam still has NaN-Issues
2014-05-15 15:10:10 +02:00
87946cb501
modified camara-height-limit to reflect later game better 2014-05-14 20:13:40 +02:00
tpajenka
45fe3f8493 revising preliminary inflexible button handling callback 2014-05-14 13:19:00 +02:00
4d31866256 Merge branch 'tessallation' into iqm 2014-05-13 14:11:25 +02:00
8bd8db922e
added shadow-map
- added shadow-map
- compiles and smap gets initialized/generated
- generation ist stil incorrect (cam, light-dir, ...)
2014-05-13 10:40:35 +02:00
dba5c9d809
removed debug-print 2014-05-12 11:30:29 +02:00
ffc0281ab4
frame-limiter now works correctly, scaling up/down should be smoother 2014-05-11 21:12:53 +02:00
d1adff31d5
removed some print-foo 2014-05-11 12:38:39 +02:00
a57cada945
changed SDL to qualified import 2014-05-10 20:22:49 +02:00
adb2c5d373
noise entfernt 2014-05-07 10:28:44 +02:00
376375008c
tessellation-factor is now adaptive
- tessellation gets reduced in distance
- tess-factor is now adaptive
2014-05-07 09:51:35 +02:00
f7cc34b3a0
first try at adaptive performance 2014-05-05 08:11:33 +02:00
tpajenka
5be37f6453 moved user event handling into UI/Callbacks.hs 2014-05-01 20:31:15 +02:00
tpajenka
106f50c08d Merge branch 'master' into ui
Conflicts:
	src/Types.hs
2014-04-26 20:02:01 +02:00
tpajenka
2d80c92384 finished storing ui widgets into a HashMap and referencing them by UIId.
Additionally, widgets functions now use the Pioneers monad.
Branch is compiling again and works.
2014-04-26 19:16:53 +02:00
bd701dde65 Merge branch 'tessallation' of pwning.de:/pioneers into tessallation 2014-04-26 13:56:58 +02:00
782c30a6d5 Merge branch 'iqm' into tessallation
Conflicts:
	Pioneers.cabal
	src/Map/StaticMaps.hs
2014-04-25 21:25:16 +02:00
64d542adf3 more parsing ... -.- 2014-04-25 21:21:19 +02:00
f76da4b5f6 moved generation of GLMapState
GLMapState now get generated inside the renderer and takes the
map-data as argument

GLMapState got extended by (up to now) uninitialized and unused textures.
2014-04-24 14:21:25 +02:00
a1389ba524 prepared overview-texture 2014-04-22 16:25:29 +02:00
45e2f3578c moved draw-method into render and cleaned up imports 2014-04-21 20:25:47 +02:00
06bd9c4214 changed camera to new model 2014-04-21 19:46:24 +02:00
d0ce4dcf6a fixed compiler warnings.
most of them .. not all are my modules.
2014-04-15 17:03:54 +02:00
413c74c0a7 minor stuff 2014-04-15 08:59:53 +02:00
b0e78033e5 rewrote Parser
now uses Parser a in Combination with StateT Int64 a yielding
type CParser a = StateT Int64 Parser a

So now the parser Counts how many Bytes get read. This can be
used by the get-function to get the currently read bytes.
2014-04-15 06:43:49 +02:00
40e3b6ed4d started iqm-parser
- can parse header
- can parse initial texts
- can parse mesh-structure
- cannot parse everything else.
2014-04-09 20:04:06 +02:00
a642c78c32 fixed indentation 2014-04-09 17:45:13 +02:00
5ec9db8534 changed x-lens to _x-lens and cabal-info 2014-04-07 17:32:13 +02:00
d59e13e64f minor
- made map more fance
- changed draw-dist, camera start-pos & max cam distance from plane
2014-04-05 23:27:52 +02:00
38d807b9b1 Merge remote-tracking branch 'origin/Mapping' into tessallation
Conflicts:
	Pioneers.cabal
2014-04-05 23:12:33 +02:00
26903deb19 we can haz GUI?
we can.
2014-04-05 23:09:57 +02:00
4811b65a0a Hud is now transparent pink. 2014-04-05 22:02:48 +02:00
189f9f84fa Textures work now.
Scene gets rendered and alpha-overlayed with HUD-Texture.

fixes #472 @2h
2014-04-05 15:53:49 +02:00
39341bf0f9 removed non-working renderer again. 2014-04-04 11:18:42 +02:00
ba84ede01d HUD-Texture renders.
HUD-Texture renders and the whole screen is black.

Still TODO:

- Will have to sort out alpha
- Clean up

refs #472 @5h
2014-04-04 11:15:00 +02:00
8e0450a712 works now again and we have a renderer 2014-03-26 18:48:59 +01:00
9cd0eacd31 still WIP. 2014-03-24 23:26:02 +01:00
c1e074934e WIP-Commit. DOES NOT WORK. 2014-03-24 08:21:30 +01:00
fd38727c65 Merge remote-tracking branch 'origin/ui' into tessallation 2014-03-17 19:02:51 +01:00
9aad31d9ec before merging with ui 2014-03-17 19:02:29 +01:00
5fc86af233 Changed OpenGL-Lvl to 3.30 with Tessellation-Ext
- figured out how to enable extensions

refs #471 @1h
2014-03-17 17:04:30 +01:00
e6c6442c85 Merge branch 'tessallation' into mapmerge
Conflicts:
	src/Main.hs
	src/Map/Graphics.hs
2014-03-05 15:02:30 +01:00
5a70a22da6 converted to lenses 2014-03-05 14:42:26 +01:00
tpajenka
be0da410a0 started creating a GUI overlay image 2014-03-05 13:27:48 +01:00
517f2eb0b6 removed SDL-ttf as it breaks for now 2014-02-28 14:44:58 +01:00