Commit Graph

173 Commits

Author SHA1 Message Date
2e22e77d75 memory gets allocated and written.
No garantuee for correctness....
2014-04-26 16:52:32 +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
Jonas Betzendahl
a727131f13 Forgot Combinator module 2014-04-24 14:24:20 +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
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
48082c87d9 fixed shader for windows 2014-04-22 18:06:09 +02:00
7575521e4d texture on HUD is now drawn correctly 2014-04-22 16:35:17 +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
ae304ddc5c Blending is now much sharper and cleaner.. 2014-04-22 10:51:10 +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
e2da50b6d9 defined camera in abstract sense 2014-04-21 19:21:13 +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
dc0ed4770a haddock for iqm (so far) complete 2014-04-16 13:45:14 +02:00
ae5ea60d65 added more haddock 2014-04-16 13:31:03 +02:00
f7dea8e964 haddock now works as well.. 2014-04-15 17:28:38 +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
7b54ec9006 improved Parser and added documentation 2014-04-15 07:17:45 +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
6104e7349b changed cabal-version back to 1.16 2014-04-14 19:48:40 +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
5077bfd793 changed cabal-info 2014-04-09 17:42:07 +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
a24b562a88 Merge branch 'ui' into tessallation 2014-04-05 22:03:47 +02:00
4811b65a0a Hud is now transparent pink. 2014-04-05 22:02:48 +02:00