Commit Graph

1138 Commits

Author SHA1 Message Date
ca59c95c26 image: add bounds check for index operators 2015-06-15 17:47:49 +10:00
79a936b583 cmdopt: add count constructor 2015-06-15 17:47:18 +10:00
544d4d9624 noise-tool: add command arguments 2015-06-11 19:35:45 +10:00
6e5bd1885d n/fractal: add runtime switchable fractal 2015-06-11 19:33:51 +10:00
5648ba63b3 n/basis: add runtime switchable basis function 2015-06-11 19:33:25 +10:00
9cb9ef3811 n/turbulence: add seed accessors 2015-06-11 19:32:57 +10:00
5fbfa94dac n/f/base: add basis accessor 2015-06-11 19:32:35 +10:00
c3e3b79b2c n/f/base: add accessor implementations 2015-06-11 19:32:29 +10:00
c87d7d70b3 cmdopt: silence unused description param for now 2015-06-11 19:31:01 +10:00
eabe3e3a3f netpbm: add write methods with ostreams 2015-06-11 19:30:02 +10:00
8b2b86b945 image: add cast convience method
a simple wrapper for naming consistency amongst other templated classes
2015-06-11 19:28:18 +10:00
653ada4bfd io: change slurp return type to vector 2015-06-11 19:28:03 +10:00
33b3b48c74 io: rename fd_ref to fd 2015-06-11 19:27:42 +10:00
4f366b6b88 cmdopt: silence overload hiding warnings 2015-06-10 21:55:06 +10:00
7df897cd5f cmdopt: move value implementation to header 2015-06-10 21:54:42 +10:00
b752e78036 noise-tool: remove noisy debug messages 2015-06-10 21:30:43 +10:00
250b8d21ec cmdopt: add simple reimplementation of libcmdopt 2015-06-10 21:30:43 +10:00
1d65a7ed77 options: whitespace 2015-06-09 15:41:08 +10:00
9db4dd5b08 image: remove unneeded area query 2015-06-09 15:37:35 +10:00
da496d8162 image: add extent query 2015-06-09 15:34:17 +10:00
e8d3cf8eb1 maths: remove deprecated maths objects 2015-06-05 16:07:03 +10:00
62f97f0ec6 build: remove reference to long dead test Makefile 2015-06-04 22:29:23 +10:00
62a2fb12f0 build: add forgotten headers 2015-06-04 22:24:21 +10:00
5b0882fd34 c/xxtea: reduce scope of variable 2015-06-04 22:19:11 +10:00
fd319d579b build: make single argument constructors explicit 2015-06-04 22:18:43 +10:00
72797793e9 h/murmur: remove unused source file 2015-06-04 22:18:00 +10:00
244a632647 n/lerp: avoid unused variables in release 2015-06-04 20:20:04 +10:00
6926c95d4d noise-tool: add simple hydraulic erosion 2015-06-04 20:20:03 +10:00
42a97816be image: remove unnecessary fill method 2015-06-04 20:04:37 +10:00
86d51f182f noise-tool: add simple thermal erosion 2015-06-04 17:16:46 +10:00
851f7b9351 noise-tool: offset heights to ensure landmass 2015-06-04 15:13:58 +10:00
53917404b4 noise-tool: extract map writing function 2015-06-04 14:40:47 +10:00
eda46a9e7c maths: ensure float types for to_{radians,degrees} 2015-06-04 14:38:12 +10:00
8da9151df2 image: sectioning 2015-06-04 14:38:12 +10:00
a88bebe037 image: instantiate float-to-float clone 2015-06-04 14:38:12 +10:00
7e00b7d096 image: add area and is_packed methods 2015-06-04 14:38:12 +10:00
3a39b282a5 whitespace 2015-06-03 23:28:45 +10:00
c82f3aad2e netpbm: extract ppm/pgm into distinct unit 2015-06-03 23:24:26 +10:00
fc279753eb image: add indexing operator for ints and points 2015-06-03 23:17:37 +10:00
c826822a43 noise-tool: lower output resolution for debug
debugging can be slow with all runtime checks enabled
2015-06-03 17:37:42 +10:00
cbe6f68c4b noise-tool: decrease default frequency
gives a more representative game map
2015-06-03 17:36:33 +10:00
effecbf117 noise-tool: interpolate the gradient colour 2015-06-03 17:35:58 +10:00
34406dc244 noise-tool: add simple gradient heightmap colours 2015-06-02 23:00:12 +10:00
ecbf774d4a image: write all all components of a ppm 2015-06-02 22:59:53 +10:00
221e658ad4 comments 2015-06-02 22:59:48 +10:00
b43a2284fc colour: add colour4u and colour3u convenience types 2015-06-02 22:59:21 +10:00
ff23146a68 hash: extract fnv1a hashes to new unit 2015-06-02 21:36:30 +10:00
588b38fd17 hash: move wang mixing funcs into seperate unit 2015-06-02 21:11:57 +10:00
7dcba618c0 noise: add turbulence (displacement) combiner 2015-06-02 20:33:00 +10:00
bc5888bfcf hash: disable conflicting function names
clashes with the util::hash namespace. they should be moved into this
namespace.
2015-06-02 20:33:00 +10:00