Commit Graph

12162 Commits (22414f26fa0035b85e5946010eb3eb01a4e5cf16)
 

Author SHA1 Message Date
Japa b12fd5a4c5 Changed sun calculation direction. 2014-03-07 20:06:46 +02:00
Warmist d8b0b82122 Added antialiased lights. They kind of suck. So I disabled them. 2014-03-07 20:06:46 +02:00
Warmist b4091b5056 Added day colors and day speed parameters. 2014-03-07 20:06:45 +02:00
Warmist 70880897f6 Added sun time manipulation, updated helpstring. 2014-03-07 20:06:45 +02:00
Warmist 7c0a734c97 Added building size. Removed material flags (on by default) 2014-03-07 20:06:18 +02:00
Japa 70e1320e6f removed something I had for testing. 2014-03-07 20:06:18 +02:00
Warmist 740e3ebc51 Implemented building support. 2014-03-07 20:06:16 +02:00
Warmist 3433eb15fb fixed (?) ice and made dragon blood glow a little. 2014-03-07 20:06:16 +02:00
Japa 5b0cb86278 Made the lighting engine multithreaded. 2014-03-07 20:06:15 +02:00
Warmist 354ec37046 MAXIMUM SPEED UPDATE!!!!! 2014-03-07 20:06:12 +02:00
Warmist 048395a2cd Added citizen lights(only lights, no oclusion might change later). Added custom dim level (for darker nights and tunnels). 2014-03-07 20:06:12 +02:00
Japa 13228855eb added square light volume, and automatic light radius. 2014-03-07 20:05:52 +02:00
Japa b015149ac1 Added cmake info for the config lua. 2014-03-07 20:05:51 +02:00
Japa 0551661db2 Added more advanced sun light calculation 2014-03-07 20:05:51 +02:00
Warmist dceec6c6c7 Plantfix, viewport height fix, and fov viewport fix. 2014-03-07 20:05:47 +02:00
Warmist 4ccc95bc97 Major rewrite of opacity calculation. 2014-03-07 20:05:47 +02:00
Warmist 74bed5529b Made light plugin read configuration file (rendermax.lua) 2014-03-07 20:04:02 +02:00
jj 20d4707b00 rendermax: lights off when sleeping 2014-03-07 20:03:59 +02:00
jj de8a76e37f rendermax: sunlight travels down stairs 2014-03-07 20:03:59 +02:00
Warmist 4d7a7425d0 Prelimenary work on advmode 2014-03-07 20:03:56 +02:00
Japa 4abff416d9 Some performance fixes and tweaks. Opaque blocks can now emit light. 2014-03-07 20:03:56 +02:00
jj 9a8ee755f8 rendermax: basic daylight 2014-03-07 20:03:52 +02:00
jj 2058a822a3 rendermax: make citizen glow 2014-03-07 20:03:17 +02:00
Japa 0a413e179e Made the low water check actually use floats. 2014-03-07 20:03:17 +02:00
Japa 31de296f31 Added some fast checking for obstacles around lights, resulting in a huge speedup outside. 2014-03-07 20:03:16 +02:00
Warmist f173810e2a Fixed skylight 2014-03-07 20:03:14 +02:00
Warmist 2195c4fe28 Small fixes 2014-03-07 20:03:12 +02:00
Warmist f745de3aff Added transparency to ice walls 2014-03-07 20:03:10 +02:00
Warmist 83265efaa8 fix for map_block lights, fix for gem window color, dimmed the plant lights. 2014-03-07 20:03:06 +02:00
Warmist ee7902c529 Fixed unload/disable crash. Added glowing plants. 2014-03-07 20:02:08 +02:00
Warmist 471eb9c02d Torches for statues, candles on the tables. 2014-03-07 20:01:19 +02:00
Warmist 1c4b5c2d38 Update water a bit. 2014-03-07 20:01:18 +02:00
Warmist b3ba3b9107 Fixed non-circular light. Do not show hidden tiles. 2014-03-07 20:01:10 +02:00
Warmist f92e4c91b8 Performance improvements, added flickering cursor light. 2014-03-07 20:00:39 +02:00
Japa 14c494dbfe Made sky light be more realistic, decreasing through water, and ignoring tile designations otherwise. 2014-03-07 19:58:32 +02:00
Japa 2fef60708d Added some more operators to the cell color class. 2014-03-07 19:58:32 +02:00
Japa 04f2d4ea58 Made windows transmit colored light. 2014-03-07 19:58:31 +02:00
Warmist a19200fbfe C++ version of light engine. 2014-03-07 19:58:30 +02:00
Warmist 4ce951f5b9 light.lua: more help, changed screen exit key to '`'. Made it recalculate only when needed. 2014-03-07 19:58:29 +02:00
Warmist 1ce43c6cc4 Light now fallsoff according to tile contents (water for now only) 2014-03-07 19:58:29 +02:00
Warmist 446b4b9d50 New line algo for lights 2014-03-07 19:58:28 +02:00
Warmist eb999cd0ad Another file forgotten 2014-03-07 19:58:27 +02:00
Warmist 843237d1c9 Fixed bug. 2014-03-07 19:58:27 +02:00
Warmist 6e57c6446d Added light script. Can be ran with "static" to recalculate only on '~' press. 2014-03-07 19:58:26 +02:00
Warmist 39da5babee Implemented lua interface. 2014-03-07 19:58:25 +02:00
Warmist 584640f12c Added help for truecolor light testing thing. Also added colors. 2014-03-07 19:58:24 +02:00
Warmist f68852b721 Forgot to add the plugin itself. Also some improvements 2014-03-07 19:58:24 +02:00
Warmist 55d845992c rendermax: removed all the opengl and sdl stuff. Now it work with magic alone. 2014-03-07 19:58:23 +02:00
Warmist dec0b202ee Added rendermax plugin- a bunch of rendering hax in one. Small fix to skeleton. 2014-03-07 19:58:22 +02:00
Warmist 64ff24f27f Added building filter to advfort. 2014-03-07 19:58:21 +02:00