Commit Graph

38 Commits

Author SHA1 Message Date
Themaister
c8870f376a Add some colision tests. 2013-05-16 14:19:13 +02:00
Themaister
92c1d9729c Attempt to rework collision a bit. 2013-05-16 03:34:48 +02:00
Themaister
f3dc054472 Fine adjust edge detection. 2013-05-15 01:16:19 +02:00
Themaister
1fa2414454 Add normals to pyramid. 2013-05-15 00:44:28 +02:00
Themaister
3adb68448b Fixup jittery edge handling. 2013-05-15 00:00:43 +02:00
Themaister
0685303a4a Fixup gravity. 2013-05-14 19:38:46 +02:00
Themaister
145b3e1d73 Basic collision. 2013-05-14 18:05:35 +02:00
Themaister
45bf16ad8e Start adding collision detection. 2013-05-14 02:33:51 +02:00
Themaister
7729682063 FPS-style view. 2013-05-14 02:08:02 +02:00
Themaister
323a688a6e Avoid discard hack.
Breaks Lightning model, but discard breaks most models which use alpha
anyways.
2013-05-13 01:37:14 +02:00
Themaister
21b2259c17 Remove Y rotate clamp. 2013-05-13 01:06:51 +02:00
Themaister
abaf8f5d93 Can zoom out a lot more. 2013-05-13 00:57:06 +02:00
Themaister
e49bff005c Fixup RPNG to work better for GL purposes.
Avoids having to flip Y texture coordinate.
Also avoids having to use GLES2 extension to load textures.
2013-05-12 23:58:35 +02:00
Themaister
cd1c593bd3 Use a default blank texture. 2013-05-12 21:46:08 +02:00
Themaister
db83c30ede Don't bind to FB 0. 2013-05-12 15:40:05 +02:00
Themaister
9e1e92bed0 Allow up to 1k FBO. 2013-05-12 13:48:26 +02:00
Themaister
7f6a4335b3 Add D-pad support. 2013-05-12 13:31:25 +02:00
Themaister
b822a1a7c6 Works now on Android.
Cannot do dynamic symbol lookups it seems in GLES.
2013-05-12 13:27:04 +02:00
Themaister
d663d5af9a Fixups in MTL loader.
Add specular lighting.
2013-05-12 13:20:33 +02:00
Themaister
4a137b93c0 Add basic MTL support.
Use alpha testing. Appears to fix Lightning hair model.
2013-05-12 02:46:35 +02:00
twinaphex
43d6116455 Take out std::1 namespace references in .cpp files 2013-05-12 00:19:09 +02:00
Themaister
763cb643fc Fix ambient lighting. 2013-05-12 01:57:11 +02:00
twinaphex
5e4860c95c Replace more namespace references to shared_ptr to std1:: 2013-05-11 23:56:30 +02:00
Themaister
c4fe1d5dca Fixups.
std::tr1 => std1.
Start think more in terms of materials.
Make shader more modular.
2013-05-12 01:36:39 +02:00
Themaister
be9ed7a66c Use fputs instead of fprintf.
Using variable format string is insecure.
2013-05-11 22:09:16 +02:00
twinaphex
9f2eac8834 Add more internal resolutions 2013-05-11 21:51:35 +02:00
Themaister
c4327da426 Avoid redundant core option checking. 2013-05-11 20:09:06 +02:00
twinaphex
0793b6c16c No longer spams environment variables in log window 2013-05-11 20:05:11 +02:00
twinaphex
459db54062 Build fixes for new stderr wrapper 2013-05-11 19:58:05 +02:00
twinaphex
211ea35e48 (MSVC) Wrap writing to std::cerr/std::cout 2013-05-11 19:53:10 +02:00
twinaphex
a201b9ef3e Initial MSVC 2010 solution - will need replacing/wrapping of
std::cerr/std::cout etc. to be able to compile
2013-05-11 19:03:51 +02:00
twinaphex
a133885091 Initial C++11 to C++03 conversion - still needs one line
converted for textures to render again - see TODO in obj.cpp
2013-05-11 18:30:41 +02:00
Themaister
34b6377cb5 Add core options for internal resolution. 2013-05-11 14:00:19 +02:00
Themaister
cec2430e8e Use 320x240 base size. 2013-05-11 13:08:39 +02:00
Themaister
ab23fc6474 Support multiple textures/meshes. 2013-05-11 13:06:48 +02:00
Themaister
f676c0ee5d Add GL_ES ifdef in frag shader. 2013-05-11 04:04:43 +02:00
Themaister
787596da57 Can display simple objects with single texture. 2013-05-11 04:01:04 +02:00
Themaister
2082adee2c Initial commit. 2013-05-10 18:59:30 +02:00