Justin R. Miller
257ccd16bb
clean up settings mechanism ( fixes #9 & #62 )
...
* init, load, persist, sync, clear
* clean up frequent disk syncs which impacted iOS performance
* insert disk sync into various iOS/OS X lifecycle events
* implement clear
* implement save on iOS
* cleaner dictionary syntax
2014-02-13 12:21:35 -08:00
Konstantin Käfer
b0357e8ea7
move tile size to constants.hpp
2014-02-13 17:34:08 +01:00
Konstantin Käfer
51f526dd6a
remove addDegenerate()
2014-02-13 16:36:30 +01:00
Konstantin Käfer
da06a52056
cut down on redundant gl uniform changes
2014-02-13 16:21:51 +01:00
Konstantin Käfer
f5846e1ebb
change line_strip drawing for outlines to indexed lines
2014-02-13 15:32:25 +01:00
Konstantin Käfer
54454ed66a
optimizations + reorder vertex index
2014-02-13 14:10:04 +01:00
Konstantin Käfer
1a05832a93
Merge branch 'master' of https://github.com/mapbox/llmr-native
2014-02-13 12:15:27 +01:00
Konstantin Käfer
565a23785c
remove unused functions and run http_request in other operation queue
2014-02-13 12:15:01 +01:00
Justin R. Miller
0005ca4eef
fixes #57 : flesh out remainder of getters & setters plus animation
2014-02-12 11:20:21 -08:00
Konstantin Käfer
02f2dea807
get point shader to work on ios
2014-02-11 17:58:33 +01:00
Konstantin Käfer
662a61a396
split line vertices into multiple buffer groups if elements overflow
2014-02-11 17:34:46 +01:00
Konstantin Käfer
eb8e5fcf15
move group struct to shared file
2014-02-11 16:00:40 +01:00
Konstantin Käfer
bec0ad10c4
drawing lines with triangles
2014-02-11 15:51:54 +01:00
Konstantin Käfer
eb9a6b7068
add more docs
2014-02-10 15:20:46 +01:00
Konstantin Käfer
4c6dc54352
add missing buffer.hpp
2014-02-10 15:18:24 +01:00
Konstantin Käfer
f4996046a2
common buffer implementation
2014-02-10 15:14:52 +01:00
artemp
0157e4f140
c++ - change types order in boost::variant to move std::string to the end
...
("By default, a variant default-constructs its first bounded type..")
2014-02-10 12:24:48 +00:00
Justin R. Miller
f6642766c1
expose transform animations cancel through map
2014-02-07 12:26:39 -05:00
Konstantin Käfer
cbe70c7648
use a publicly accessible sprite image
2014-02-07 17:54:27 +01:00
Konstantin Käfer
9cef72fadb
Merge branch 'master' of https://github.com/mapbox/llmr-native
...
Conflicts:
src/map/transform.cpp
2014-02-07 16:10:00 +01:00
Konstantin Käfer
28ee5968f8
add cancelAnimations() function
...
refs #34
2014-02-07 16:08:17 +01:00
Justin R. Miller
e48207a4ef
allow for animated moves
2014-02-06 16:08:44 -05:00
Konstantin Käfer
828240565b
add cstring header
2014-02-06 15:46:12 +01:00
Konstantin Käfer
dd6d040cda
render updates if tiles changed after movements
2014-02-06 15:44:50 +01:00
Konstantin Käfer
f756768c18
Merge remote-tracking branch 'origin/animated-scale'
2014-02-06 15:18:17 +01:00
artemp
7d271cca02
c++
...
* store commands in uint8_t
2014-02-06 12:23:07 +00:00
artemp
8703b69151
c++
...
* use c++ style casts
* remove unused includes
2014-02-06 12:09:13 +00:00
artemp
2d3abf36b1
c++
...
* prefer prefix increment operator unless logically necessary
(it doesn't make any diff foro built-in type but good practice)
2014-02-06 10:50:31 +00:00
artemp
a8fef83564
c++
...
* use nullptr instead of NULL
2014-02-06 10:39:10 +00:00
artemp
d6654ccaed
c++
...
* fix typedef's
* fix virtual dtor's
* make ctor's with one argument explicit
* util::noncopyable utility class ( class my_object : private noncopyable {} )
* update kTileURL
2014-02-06 10:33:46 +00:00
Justin R. Miller
3ae58c53a2
refs #30 : animated scaleBy
...
* add duration argument to scaleBy & setScale
* add scale center arguments to setScale
* add animation to Transform::setScale
2014-02-05 15:16:05 -05:00
Konstantin Käfer
cf31a80920
textured fills & enforce vao program with templates
2014-02-05 19:03:44 +01:00
Konstantin Käfer
eabd99d8f6
always pass the parameters and verify that they're correct
2014-02-05 18:46:23 +01:00
Konstantin Käfer
e94cb1b00b
remove switchShader()
2014-02-05 18:35:19 +01:00
Konstantin Käfer
c922980eeb
change back to use web-provided version of resources
2014-02-05 18:15:18 +01:00
Konstantin Käfer
e30d8eb48f
move to vertex array objects
2014-02-05 18:06:16 +01:00
Konstantin Käfer
b629f56f68
add aliases for VAOs
2014-02-05 13:59:26 +01:00
Konstantin Käfer
f738a9e19e
initialize variables
2014-02-05 13:59:02 +01:00
Justin R. Miller
dbea7937b3
fixes #33 : rotate around arbitrary point
2014-02-04 16:01:09 -05:00
Justin R. Miller
ca75b2a351
refs #24 : Gyp-built iOS test app
2014-02-04 12:10:20 -05:00
Justin R. Miller
2b2ff9fb3f
abstract hardcoded URLs for now
2014-02-04 11:46:06 -05:00
Konstantin Käfer
66e62eb4c8
fix emplace_back
2014-02-04 16:19:32 +01:00
Konstantin Käfer
d7246099c6
add binpack class
...
refs #4
2014-02-04 14:53:06 +01:00
Konstantin Käfer
efac401db1
add <memory>
2014-02-04 14:17:53 +01:00
Konstantin Käfer
2df45d0c4a
refactor header includes
2014-02-04 14:07:56 +01:00
Konstantin Käfer
7dfc535d2c
remove VectorTile member variable of Tile
2014-02-04 13:44:57 +01:00
Dane Springmeyer
ebedcce508
fix compile on linux
2014-02-03 22:58:59 +00:00
Dane Springmeyer
f1e74215fd
compile fixes on ubuntu precise/g++-4.8 - refs #27
2014-02-03 21:57:46 +00:00
Konstantin Käfer
9ab9eeec13
textured fills
...
fixes #15
2014-02-03 22:51:21 +01:00
Konstantin Käfer
a6e464b9a7
add sprite object and parse image
...
refs #15
2014-02-03 17:38:40 +01:00