Commit Graph
341 Commits
Author SHA1 Message Date
Joni Vähämäki 9a87fa5d51 EMI: Parse per-texture blending mode from model data. 2014-08-12 17:46:42 +03:00
Stefano Musumeci a59c1de0ff TINYGL: Fixed misspelt function name. 2014-08-10 19:05:32 +02:00
Joni Vähämäki 6e96d962f8 EMI: Parse tex coords from sprite files. Fixes #978 2014-08-10 18:51:31 +03:00
Stefano Musumeci 7b3f0850b8 TINYGL: Moved some functions inside TinyGL namespace 2014-08-09 12:10:26 +02:00
Stefano Musumeci 3a6768c937 TINYGL: Fixed formatting. 2014-08-07 21:49:47 +02:00
Stefano Musumeci 4ec96c515e Merge branch 'master' into tinygl-dirty-rects 2014-08-07 18:11:22 +02:00
Joseph Jezak e057c003c1 EMI: Calculate the bounding box using the actor's bounding box info. 2014-08-04 11:14:28 -04:00
Joseph Jezak e638c09ba6 GRIM/EMI: Adjust the width and height names to better reflect usage. 2014-08-04 11:14:28 -04:00
Stefano Musumeci 03239abf72 TINYGL: Restored old drawing logic. 2014-08-02 21:41:44 +02:00
Joseph Jezak 60fa48490e EMI/GRIM: Rename getBoundingBoxPos to getScreenBoundingBox to better describe the behavior. 2014-07-30 15:23:53 -04:00
Joseph Jezak 063de3d603 EMI: Fix TGA byte order on Big Endian machines. 2014-07-29 14:33:25 -04:00
Stefano Musumeci 91c44129b9 TINYGL/HACK: This commit is just an hack that makes the fps counter rendered correctly.
I will probably remove this after everything is finished.
2014-07-27 19:57:44 +02:00
Stefano Musumeci 89adcf8b97 GRIM: Replaced z blitting with newer tinyGL implementation. 2014-07-25 16:02:27 +02:00
Stefano Musumeci 00ae985fb0 GRIM: Changed clear screen/depth buffer implementation. 2014-07-25 16:02:23 +02:00
Pawel Kolodziejski a39576d921 GRIM/EMI: attempt to fix over read buffer. cleanup types 2014-07-24 15:37:11 +02:00
Stefano Musumeci 0932cdacde TINYGL: Added a call to tglPresent in GRIM engine
Note: I'm not exactly sure that's the right place to put it but as for now it was the only place that allowed the frame counter to be rendered after everything
2014-07-23 21:38:28 +02:00
Joseph Jezak 0866354007 GRIM/EMI: Rename setupCamera to better describe what it does. 2014-07-22 23:28:00 -04:00
Joseph Jezak 6068e94938 EMI/GRIM: Remove unsused roll parameter from setupCamera calls. 2014-07-22 23:27:56 -04:00
Joel Teichroeb e97e61c619 Merge pull request #954 from chkr-private/savegame-screenshots
EMI: Implement screenshot thumbnails for savegames
2014-07-22 14:45:04 -07:00
Joni Vähämäki 1081471119 EMI: Implement projection shadows. 2014-07-20 21:46:14 +03:00
Stefano Musumeci 3994405195 TINYGL: Optimized blitting routines 2014-07-18 19:56:26 +02:00
Stefano Musumeci 7a1bba2591 TINYGL, GRIM: Fixed a bug in monkey island rendering. 2014-07-18 18:50:07 +02:00
Stefano Musumeci 3c2655f21a TINYGL, MYST3: Fixed compiler warnings. 2014-07-18 18:50:07 +02:00
Stefano Musumeci dc84cca19d GRIM: Replaced a tglBlit calls with new version. 2014-07-18 18:50:05 +02:00
Stefano Musumeci f1a848e947 GRIM : Fixed two memory leaks in the blitting image creation functions. 2014-07-18 18:50:03 +02:00
Stefano Musumeci 3633a87297 GRIM: Replaced tinygl sprite blitting with new API. 2014-07-18 18:50:03 +02:00
Christian Krause 1e82136592 EMI: Implement screenshot thumbnails for savegames 2014-07-16 23:18:43 +02:00
Pawel Kolodziejski 39e9dcb8aa GRIM: remove _screenSize usage 2014-07-14 08:03:10 +02:00
Pawel Kolodziejski 7ad5cca065 TINYGL: use own type 2014-07-13 20:33:48 +02:00
Pawel Kolodziejski 24d0d30743 TINYGL: formatting 2014-07-13 20:33:02 +02:00
Pawel Kolodziejski 0eb61aa97d TINYGL: cleanup types 2014-07-13 20:32:08 +02:00
Pawel Kolodziejski 7be4ec6800 TINYGL: remove GLU leftovers 2014-07-10 07:29:49 +02:00
Pawel Kolodziejski 0db12d7062 GRIM/EMI/MYST3: drop usage for GLU functions for replacements 2014-07-10 07:29:01 +02:00
Pawel Kolodziejski 6625530d88 JANITORIAL: fix whitespaces 2014-07-10 07:23:47 +02:00
Pawel Kolodziejski b08c5198be MYST3/EMI: update note about clamp to edge in TinyGL renderer 2014-07-06 07:13:44 +02:00
Pawel Kolodziejski b751942f13 EMI: fix/workaround for broken lines at edge of tiled bitmaps in EMI 2014-07-06 07:05:27 +02:00
Pawel Kolodziejski 9a81f8997c TINYGL: properly handle color for FLAT mode and lines drawing. Respect FLAT/SMOOTH mode for triangle drawing 2014-07-05 20:54:14 +02:00
Joel Teichroeb f6232e7e7d Merge pull request #942 from Akz-/emi-lighting-shaders
EMI: Implement lighting for OpenGL Shaders renderer.
2014-07-05 08:18:06 -07:00
Joni Vähämäki 88ec1d5285 EMI: Implement lighting for OpenGL Shaders renderer. 2014-07-05 14:09:56 +03:00
Pawel Kolodziejski 97b03aed01 TINYGL: changed code to allow initialize TinyGL with specific internal texture dimension.
Grim: 256x256, Myst3: 1024x1024
2014-07-05 13:08:34 +02:00
Pawel Kolodziejski 1b8dd28bc7 TINYGL: implemented tglDepthFunc 2014-07-04 23:14:44 +02:00
Joel Teichroeb 5f87912e91 Merge pull request #949 from Akz-/grim-quat
GRIM: Use quaternions for animation.
2014-07-04 10:45:32 -07:00
Joseph Jezak e8d5fc649c GRIM: Remove usage of _currentQuat since it's just an identity. 2014-07-04 12:53:34 -04:00
Pawel Kolodziejski b4962f645e TINYGL: added tglAlphaTest stubs 2014-07-04 08:43:19 +02:00
Pawel Kolodziejski 2bf63a5f52 GRIM/EMI: synced OpenGL and TinyGL a bit more 2014-07-03 21:55:10 +02:00
Pawel Kolodziejski 8a1e63abeb GRIM: formatting 2014-07-03 21:02:01 +02:00
Pawel Kolodziejski b41501792f EMI: enable tglDepthMask() in tinygl gfx driver - this fix draw gfx at ship scene 2014-07-03 20:57:05 +02:00
Pawel Kolodziejski 613d15eeab GRIM: this code is no longer actualy 2014-07-03 20:50:52 +02:00
Pawel Kolodziejski eddf1f62a4 GRIM: remove outdated debug draw 2014-07-03 20:48:54 +02:00
Pawel Kolodziejski 5409f593ba GRIM: remove outdated debug draw bounding box 2014-07-03 20:47:31 +02:00