a6efea80cf
Merge branch 'tessallation' into iqm
2014-05-16 08:04:48 +02:00
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
271497be81
using (and corrected) refined button handler invocation
...
TODO: "old" camera handler interferes with left mouse clicks/drags
2014-05-16 00:36:33 +02:00
ee5eb95a2e
builds, but does not work.
...
pattern-match-failure.
2014-05-15 21:57:15 +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
e37832371c
WIP, does not compile.
2014-05-15 21:18:28 +02:00
a3f0043591
WIP, does not compile.
2014-05-15 21:16:43 +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
b7be183c25
Merge branch 'Mapping' into tessallation
2014-05-15 13:41:19 +02:00
cc3efb9ec5
merged
2014-05-15 13:40:47 +02:00
Jonas Betzendahl
8e2d46c7ef
Fixed the hell out of that snow!
2014-05-15 12:06:18 +02:00
Jonas Betzendahl
eb3ee975e8
Restructured Node constructors. Ripples are getting worse! (╯°□°)╯︵ ┻━┻
2014-05-15 12:01:30 +02:00
Jonas Betzendahl
67428146ca
added height function
2014-05-15 10:44:54 +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
b5a4d03f8c
array-objects get initialized
...
- initialized array-objects
- still need to be rendered and collected to a VertexBufferObject
refs #482 @2h
2014-05-13 15:04:20 +02:00
4d31866256
Merge branch 'tessallation' into iqm
2014-05-13 14:11:25 +02:00
1bfec031e2
fixed import
2014-05-13 14:11:02 +02:00
527d620da6
Merge branch 'Mapping' into tessallation
2014-05-13 13:04:26 +02:00
f598d72e9a
changed num mountains and height
2014-05-13 13:03:28 +02:00
ddd55ef004
Merge remote-tracking branch 'origin/Mapping' into tessallation
2014-05-13 12:53:09 +02:00
13fbb9b816
minor fixture
2014-05-13 12:52:00 +02:00
dd12f7b136
seperated shaders
...
- shadowmap now uses own shader
- not used only defined
- changed a bit in tyes. needs refinement
- new indices need to be read out and used.
refs #495 @3h
2014-05-13 11:25:06 +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
a492b0aa93
Merge branch 'tessallation'
2014-05-10 20:23:06 +02:00
a57cada945
changed SDL to qualified import
2014-05-10 20:22:49 +02:00
e4fec7c3de
forgot change, fixed compiling
2014-05-10 17:35:56 +02:00
5e72dbedd0
Merge branch 'tessallation'
2014-05-10 17:35:42 +02:00
bd7870a76e
forgot change
2014-05-10 17:33:33 +02:00
502e3efdf3
Merge branch 'iqm'
2014-05-10 11:34:18 +02:00
6dcdb2eda2
Merge branch 'ui'
2014-05-10 11:19:31 +02:00
tpajenka
5f29ce7610
mouse events use local widget coordinates
2014-05-09 00:17:31 +02:00
tpajenka
75edc11a1e
fixed some HLint messages
2014-05-08 23:38:47 +02:00
tpajenka
992c8fd041
purpose dependent widget states and widget actions are now stored inside HashMaps
2014-05-08 23:36:53 +02:00
Jonas Betzendahl
6fe3e3305a
Merge branch 'Mapping'
2014-05-08 15:19:33 +02:00
adb2c5d373
noise entfernt
2014-05-07 10:28:44 +02:00
a91aad5daa
better noise-function
2014-05-07 10:12:18 +02:00
7dd79f095c
Merge branch 'iqm' into tessallation
...
Conflicts:
src/Render/Render.hs
src/Types.hs
2014-05-07 09:58:43 +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
e292633ce4
widget coordinates are now local (offset based on parent component)
2014-05-03 22:40:49 +02:00
tpajenka
ad0e569537
renamed modules after restructuring UI data
2014-05-03 15:22:20 +02:00
tpajenka
ca51c23650
restructured GUI widgets' data representation from class type/instance-based
...
to function-based
advantage: single constructor for any widget type, no branching necessary
2014-05-03 15:21:58 +02:00
91fbbb7350
started to render iqm - nothing visible now.
2014-05-03 15:17:51 +02:00
1f6551cf08
WIP DOES NOT WORK
2014-05-02 16:15:58 +02:00
tpajenka
5be37f6453
moved user event handling into UI/Callbacks.hs
2014-05-01 20:31:15 +02:00
tpajenka
a3fe5a1d8b
compiler warning and HLint remarks
2014-05-01 19:25:04 +02:00
Jonas Betzendahl
683b72a413
Refactoring & more cosmetics
2014-04-29 01:05:05 +02:00
Jonas Betzendahl
6c4e63f085
cosmetics
2014-04-29 00:18:38 +02:00
Jonas Betzendahl
853c11b4df
Merge branch 'testing' into Mapping
2014-04-28 23:36:41 +02:00
Jonas Betzendahl
49518e3006
Merge branch 'testing' into Mapping
2014-04-28 23:35:14 +02:00
Jonas Betzendahl
07dac9aad1
Added first test suite for Mapping
2014-04-28 16:34:13 +02:00
Jonas Betzendahl
777c868de0
Fixed shadowing in aplAll
2014-04-28 10:37:31 +02:00
Jonas Betzendahl
f5f1f760cd
Added first test suite with first test (questionable .cabal though)
2014-04-27 23:49:15 +02:00
tpajenka
106f50c08d
Merge branch 'master' into ui
...
Conflicts:
src/Types.hs
2014-04-26 20:02:01 +02:00
tpajenka
d5eb4f93a3
removed unnecessary language extension
2014-04-26 19:58:20 +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
5898df3682
Merge branch 'iqm' into tessallation
2014-04-26 17:16:47 +02:00
5223c34da2
100% Haddock
2014-04-26 17:12:19 +02:00
2e22e77d75
memory gets allocated and written.
...
No garantuee for correctness....
2014-04-26 16:52:32 +02:00
bd701dde65
Merge branch 'tessallation' of pwning.de:/pioneers into tessallation
2014-04-26 13:56:58 +02:00
a81418bf40
iqm does not work .. :(
2014-04-26 00:15:36 +02:00
e6a56b8409
more iqm - not tested, but typechecks and builds.
2014-04-25 23:58:20 +02:00
0af848996a
Merge remote-tracking branch 'origin/Mapping' into iqm
2014-04-25 21:26:54 +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
Jonas Betzendahl
60fd217233
hlint all around
2014-04-25 15:58:25 +02:00
tpajenka
6879201c53
worked on storing widgets in HashMap and referencing via Id
...
incorporated Pioneers monad into ui operations
!!still WIP, does not compile (TODO: UIOperations, Callbacks, Main?,
Types?)!!
2014-04-24 23:42:05 +02:00
dc4fc1238b
Merge remote-tracking branch 'origin/Mapping' into tessallation
2014-04-24 14:26:29 +02:00
Jonas Betzendahl
a727131f13
Forgot Combinator module
2014-04-24 14:24:20 +02:00
2ecf4fe5c4
Merge remote-tracking branch 'origin/Mapping' into tessallation
2014-04-24 14:22:27 +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
Jonas Betzendahl
0a7a882f8f
Now generates a different unique map each time.
2014-04-24 12:44:58 +02:00
Jonas Betzendahl
2b435b7cb2
Added first primitive groundwork for map generation combinators. This is gonna be fun! :o)
2014-04-24 02:45:55 +02:00
Jonas Betzendahl
ca831692d2
Merge remote-tracking branch 'origin/master' into Mapping
2014-04-23 14:00:17 +02:00
Jonas Betzendahl
fa9bda5e7a
Added apply-by functions
2014-04-23 13:52:43 +02:00
tpajenka
a9a97f7544
started referencing ui widgets by id via hashmap, WIP, does not compile
2014-04-23 13:08:18 +02:00
Jonas Betzendahl
313992efaf
Merged Types with PioneerTypes
2014-04-23 12:11:45 +02:00
jbetzend
b7fef589a9
commit
2014-04-23 11:23:24 +02:00
a1389ba524
prepared overview-texture
2014-04-22 16:25:29 +02:00
1bbf900ec4
changed map a bit
2014-04-22 11:27:07 +02:00
Jonas Betzendahl
5d36bb5156
Added stripify, TestMap now looking like it should (still not pretty, though), cleanup, docs
2014-04-22 03:00:39 +02:00
8d9cc3384d
forgot file
2014-04-22 01:27:01 +02:00
89c624012f
Merge remote-tracking branch 'origin/Mapping' into tessallation
...
Conflicts:
src/Map/Graphics.hs
2014-04-22 01:17:22 +02:00
Jonas Betzendahl
673c64946b
Merge with master
2014-04-22 01:09:09 +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
Jonas Betzendahl
e451281e40
Jiggled code enough to reduce compiler warnings
2014-04-21 19:16:24 +02:00
3de372f83f
added fog.
2014-04-21 15:55:22 +02:00
85e1fe6325
Merge remote-tracking branch 'origin/Mapping' into tessallation
...
Conflicts:
src/Map/Graphics.hs
2014-04-21 15:11:41 +02:00
jbetzend
ebae8dd593
Added Map.Maps with Neighbourfunction
2014-04-18 16:07:51 +02:00
jbetzend
ee8c91237c
Took out annotation (Haddock complained) and improved path type
2014-04-18 16:07:26 +02:00
jbetzend
a2433638df
docs
2014-04-18 14:28:32 +02:00
e5857e8435
changed massively in Types of IQM-Loader
...
- massive Type-Change internally
- VertexArrays are now read headerwise
- IQM needs postprocessing for allocating C-Arrays of the Vertex-Objects
as they cannot be guaranteed to be collected in the first pass of reading.
(Normally they are sorted linear - but the offsets WOULD allow for them
to be anywhere in-between the sections)
2014-04-16 21:21:08 +02:00