Commit Graph

1153 Commits

Author SHA1 Message Date
Eric Wasylishen 6b51bad817 light: fix surface lights 2016-07-26 13:48:36 -06:00
Eric Wasylishen 623e5317b2 light: testmap: add surface lighting 2016-07-26 13:14:29 -06:00
Eric Wasylishen dc8525dfd2 light: entities: refactor EntDict_VectorForKey 2016-07-26 13:12:57 -06:00
Eric Wasylishen f716e14c89 light: minor cleanups 2016-07-26 13:04:17 -06:00
Eric Wasylishen 0b8ef0778d light: entity_t: keep a pointer to the entdict_t rather than a copy 2016-07-26 12:43:58 -06:00
Eric Wasylishen b71ae5a200 light: fix MatchTargets 2016-07-26 12:31:45 -06:00
Eric Wasylishen 9535635b86 light: new testmap 2016-07-26 12:23:15 -06:00
Eric Wasylishen 02a2cee6a7 light: store lights in a vector (untested) 2016-07-26 02:13:58 -06:00
Eric Wasylishen 0501f07673 light: clean WorldValueForKey/SetWorldKeyValue 2016-07-24 16:56:40 -06:00
Eric Wasylishen ca507336ca light: use entdicts array for FIndModelInfo 2016-07-24 16:08:38 -06:00
Eric Wasylishen d8094c83e5 light: EntDict_FloatForKey: avoid throwing exceptions excessively 2016-07-24 16:00:00 -06:00
Eric Wasylishen 7fdd5f2da4 light: entities: clean up parsing and writing entdata 2016-07-24 15:09:57 -06:00
Eric Wasylishen 203c32a613 light: misc fixes. lights not casting on world? 2016-07-24 12:55:07 -06:00
Eric Wasylishen dc856a329d light: use settings system for lights 2016-07-24 12:23:46 -06:00
Eric Wasylishen 2c350b1f21 light: finish porting modelinfo reading to settings system 2016-07-24 00:31:58 -06:00
Eric Wasylishen 5566e1f85d light: convert modelinfo_t to use settings system 2016-07-24 00:26:42 -06:00
Eric Wasylishen a5f8af389f light: tweaks to lightsettings_t (unused) 2016-07-24 00:21:59 -06:00
Eric Wasylishen 8851a3d8c3 light: remove some dead code 2016-07-23 23:27:19 -06:00
Eric Wasylishen cc2bb5158a light: add class for a dictionary of settings 2016-07-23 22:54:32 -06:00
Eric Wasylishen 0cd0778860 light: fix typo, min_color should have been mincolor 2016-07-23 22:54:17 -06:00
Eric Wasylishen 2e9c58fb46 light: move command-line parsing to use settings system 2016-07-23 21:43:54 -06:00
Eric Wasylishen df62b9fa16 light: handle worldspawn keys through new settings system 2016-07-23 20:26:09 -06:00
Eric Wasylishen aab9d1dd46 light: Add lightsettings_t class 2016-07-23 16:20:08 -06:00
Eric Wasylishen 8429017ea4 common: add message to LoadBSPFile 2016-07-23 16:19:53 -06:00
Eric Wasylishen 8b8cc4a37a light: add transformers for color and mangle 2016-07-22 14:02:43 -06:00
Eric Wasylishen 191949e569 Merge branch 'stable'
* stable:
  light: trace: fix MakeTnodes_r blowing up with ijed's rift1.map

# Conflicts:
#	light/trace.cc
2016-07-21 01:51:23 -06:00
Eric Wasylishen f05faf9614 light: trace: fix MakeTnodes_r blowing up with ijed's rift1.map 2016-07-21 00:29:58 -06:00
Eric Wasylishen 97e96e9998 Revert "build: try switching windows sdk from v140_xp to v120_xp"
This reverts commit 1c4eb0b156.
2016-07-20 21:31:40 -07:00
Eric Wasylishen 1c4eb0b156 build: try switching windows sdk from v140_xp to v120_xp 2016-07-20 21:27:35 -07:00
Eric Wasylishen f7d3bfbeb3 Merge branch 'stable' 2016-07-20 19:12:23 -06:00
Eric Wasylishen 2c0f39ea38 light: make TriArea non-static 2016-07-20 19:06:12 -06:00
Eric Wasylishen 4c59a00d2b light: add -debugvert command 2016-07-20 19:05:55 -06:00
Eric Wasylishen 42c4195ad6 light: make -debugface print more debug info 2016-07-20 16:16:00 -06:00
Eric Wasylishen 26fbffa2bf light: add GetSurfaceVertex and GetSurfaceVertexPoint to header 2016-07-20 16:15:42 -06:00
Eric Wasylishen b15e0052bf light: fix phong shading on models with an offset 2016-07-20 16:06:48 -06:00
Eric Wasylishen 7f939b8146 light: hack to workaround https://github.com/ericwa/tyrutils-ericw/issues/67 . worldspawn was being inserted into the list of lights when it had a minlight value set (!?!) 2016-07-20 16:04:35 -06:00
Eric Wasylishen 5bf59a469d light: option parser: allow negative numbers as option args 2016-07-20 16:04:26 -06:00
Eric Wasylishen d86e6acec6 light: add SetString 2016-07-16 13:11:59 -06:00
Eric Wasylishen 335f54aa09 common: remove setting stack side for pthreads 2016-07-15 16:14:48 -06:00
Eric Wasylishen 2da6db0199 build: don't static link msvcrt 2016-07-15 15:19:41 -06:00
Eric Wasylishen 0d92a4e192 light: build: remove stack size setting 2016-07-15 15:19:01 -06:00
Eric Wasylishen ee50412f65 light: add FindSetting function 2016-07-15 10:44:35 -06:00
Eric Wasylishen 19f47e08f9 light: add setStringValue() to settings classes 2016-07-14 14:38:29 -06:00
Eric Wasylishen 9637d410e1 light: add missing include 2016-07-14 00:23:08 -06:00
Eric Wasylishen 60d96df31c light: set min/max values for some settings 2016-07-14 00:02:44 -06:00
Eric Wasylishen 08a6733204 light: refactor settings system 2016-07-13 22:55:55 -06:00
Eric Wasylishen d467888d89 light: register settings in a map 2016-07-13 22:11:21 -06:00
Eric Wasylishen cd013405e7 light: convert more settings to lockable_*_t 2016-07-13 21:51:04 -06:00
Eric Wasylishen 42657f9607 light: record setting names 2016-07-13 21:33:38 -06:00
Eric Wasylishen c694bacc2f light: fix entity_t to be zero-initialized 2016-07-12 00:39:44 -06:00