379 Commits

Author SHA1 Message Date
Josh Holtrop
7b497c73c5 remove static loadFile() 2011-05-25 09:26:24 -04:00
Josh Holtrop
96e4a66c2c create "obj" and "obj_tex" shader programs 2011-05-25 09:26:02 -04:00
Josh Holtrop
3b940aa140 update glslUtil 2011-05-25 08:41:24 -04:00
Josh Holtrop
e5c1a3075e update glslUtil 2011-05-23 15:53:46 -04:00
Josh Holtrop
00c28804f6 add glslUtil submodule 2011-05-23 11:24:44 -04:00
Josh Holtrop
826a57107e fix CFS source list: glob everything under shaders/ 2011-05-23 10:21:49 -04:00
Josh Holtrop
c710dee00c add textured object shader; update names 2011-05-22 22:59:01 -04:00
Josh Holtrop
be15f95560 PhyObj::load() takes const ptr 2011-05-21 23:45:13 -04:00
Josh Holtrop
5a0eea19f5 fix qualifiers again 2011-05-21 23:43:49 -04:00
Josh Holtrop
07f4162581 fix some qualifiers dealing with loadFile() 2011-05-21 23:42:52 -04:00
Josh Holtrop
15c30e0d00 fix Engine::validatePath() to accept a const ref 2011-05-21 23:40:44 -04:00
Josh Holtrop
67010e02c2 add Engine::loadWFObjFile() 2011-05-21 23:33:28 -04:00
Josh Holtrop
278867b3c8 AV::Sound copies sound buffer to avoid memory leak 2011-05-21 23:20:50 -04:00
Josh Holtrop
8f1329fed8 fix a few compilation issues 2011-05-20 13:27:40 -04:00
Josh Holtrop
af88db267f fix loadSound() 2011-05-20 07:44:53 -04:00
Josh Holtrop
f78c42c8c8 update WFObj construction, loadFile()/loadTexture() 2011-05-19 23:14:10 -04:00
Josh Holtrop
f1bc763be2 update loadPhy() interface 2011-05-19 22:59:04 -04:00
Josh Holtrop
08dbe60b7b remove Engine::FileLoader 2011-05-19 22:55:09 -04:00
Josh Holtrop
89d98be780 remove FileLoader from PhyObj 2011-05-19 22:30:58 -04:00
Josh Holtrop
e40a79435d update AV to remove FileLoader 2011-05-19 17:14:00 -04:00
Josh Holtrop
6e29f8adf6 update TextureCache submodule 2011-05-19 16:55:17 -04:00
Josh Holtrop
b4cacbd05d fix getFile() usage 2011-05-19 16:46:24 -04:00
Josh Holtrop
8028654ff2 beginning migrate to shaders
add a few submodules
generate C file store with cfs_gen
remove FileLoader/TextureLoader
add initial color shaders for wfobj objects
2011-05-18 17:17:06 -04:00
Josh Holtrop
55fee6b9a9 use scons "Command" builder for sdl_keymap.cc 2011-05-17 16:33:38 -04:00
Josh Holtrop
cd1e26318a move source files to "src" subdirectory 2011-05-17 16:11:55 -04:00
Josh Holtrop
0579235c93 completely switch build system to scons 2011-05-17 15:42:54 -04:00
Josh Holtrop
cf3a986b49 add dist target to SConstruct 2011-05-17 15:33:23 -04:00
Josh Holtrop
45ebca0650 add initial SConstruct file; no dist/install yet 2011-05-17 13:17:54 -04:00
Josh Holtrop
2257c664d6 remove unnecessary WFObj/driver.cc file 2011-05-17 13:17:41 -04:00
Josh Holtrop
60b7747997 removed old wfobj directory 2011-05-16 17:05:14 -04:00
Josh Holtrop
ebe4b49a7f added .gitignore 2010-12-19 00:18:11 -05:00
Josh Holtrop
df91f0fe92 fix ag.pickOne documentation return value name 2010-12-19 00:11:40 -05:00
Josh Holtrop
96f62c237b cleaned up Makefile a lot 2010-12-19 00:11:40 -05:00
Josh Holtrop
4cd5a61bc4 do not ignore sdl_keymap.h 2010-12-19 00:11:39 -05:00
Josh Holtrop
0b42c42237 include correct WFObj path 2010-12-19 00:11:39 -05:00
Josh Holtrop
49ee9b12b4 gen-sdl-keymap.pl no longer generating sdl_keymap.h 2010-12-19 00:11:39 -05:00
Josh Holtrop
dc6994fcbf renamed wfobj subdirectory to WFObj 2010-12-19 00:11:39 -05:00
Josh Holtrop
a0d66622db added "install" target 2010-12-19 00:11:38 -05:00
Josh Holtrop
5ebff00dbc bugfix in std.createPlanePointNormal with calculation of "d" parameter 2010-12-19 00:11:38 -05:00
Josh Holtrop
7924672b69 fixed texturing on quads 2010-12-19 00:11:38 -05:00
Josh Holtrop
0417ec2c29 bugfix: correct full path being sent to Engine constructor 2010-12-19 00:11:38 -05:00
Josh Holtrop
bece35d270 added setPosition() for Quads 2010-12-19 00:11:37 -05:00
Josh Holtrop
1009f91302 enhanced polygon offset for quads 2010-12-19 00:11:37 -05:00
Josh Holtrop
65ecbe0d5c bugfix in Engine::Quad() constructor -- call dCROSS() before dNormalize3() 2010-12-19 00:11:37 -05:00
Josh Holtrop
eb73749f69 added Engine::Quad::setColor() and ag::quad::setColor() 2010-12-19 00:11:37 -05:00
Josh Holtrop
8585f97e91 fixed bug in ag::quad::setOffset() 2010-12-19 00:11:36 -05:00
Josh Holtrop
19a7687086 fix Lua indexing bug in ag::createQuad() 2010-12-19 00:11:36 -05:00
Josh Holtrop
8be32add54 actually register ag.createQuad with lua 2010-12-19 00:11:36 -05:00
Josh Holtrop
97530106c2 actually do the polygon offset for quads 2010-12-19 00:11:36 -05:00
Josh Holtrop
dff232ec66 created frontend functionality for creating Quad objects 2010-12-19 00:11:35 -05:00