Commit Graph

1415 Commits

Author SHA1 Message Date
Simon Robertshaw
66fd41673b Fix compilation for Non-OpenGL builds 2011-10-23 17:37:24 +01:00
Simon Robertshaw
2d25d944ad Spark, Flare and LFlare effects. Pretty bad (need to make use of instancing) but works for now 2011-10-23 17:22:14 +01:00
Simon Robertshaw
1c7b9d9949 Pass particle pointer to graphics update function instead of index. Make PIPE use subcall to get graphics info. Cache for particle graphics properties. Stickman PSPEC_STICKMAN added and implemented 2011-10-23 13:52:26 +01:00
Simon Robertshaw
014c1fbad6 Embed shaders 2011-10-22 19:24:32 +01:00
Simon Robertshaw
ba59ba8b7c Fix Air vel display 2011-10-22 17:33:04 +01:00
Simon Robertshaw
abb1a12271 Finish Zoom 2011-10-22 14:41:14 +01:00
Simon Robertshaw
5b4aeaed01 Zoom WIP 2011-10-22 10:45:44 +01:00
Simon Robertshaw
7ed4ad2fd8 Gravlensing for OpenGL 2011-10-21 23:38:48 +01:00
Simon Robertshaw
57f6ac0f3a Use FBO for parts rendering 2011-10-21 18:21:22 +01:00
Simon Robertshaw
e6d4073f5b Use FBO for particles 2011-10-20 22:22:18 +01:00
Simon Robertshaw
eaafcaeecc Better fire for Non-Fire display modes 2011-10-20 16:51:38 +01:00
Simon Robertshaw
09d3cacf9c Implement Blur mode and embed shaders 2011-10-20 16:28:49 +01:00
Simon Robertshaw
2b56d31610 Rendering, Glow and UI alpha fixes 2011-10-20 15:37:21 +01:00
Simon Robertshaw
d156beab7d Clean up shader files 2011-10-20 00:36:55 +01:00
Simon Robertshaw
a7ab414ae1 Missing shaders from previous commit 2011-10-20 00:35:24 +01:00
Simon Robertshaw
29efbcaa3a Glow, Fire, Smoke, blob and flat particle effects in OpenGL 2011-10-20 00:34:31 +01:00
Simon Robertshaw
bb26e656b3 Update readme - slightly 2011-10-19 12:05:12 +01:00
Simon Robertshaw
8052c4bfdf Some testing with OpenGL 2011-10-18 21:56:32 +01:00
Simon Robertshaw
44a0008d4e Debug performance/time graph 2011-10-17 00:16:43 +01:00
Simon Robertshaw
bbe5aabf4f Allow use of OpenGL enabled surface for future use 2011-10-13 22:25:06 +01:00
Simon Robertshaw
7a62500eb3 Implement remaining graphics functions for particles 2011-10-12 18:40:00 +01:00
Simon Robertshaw
bd986eb92d Update Gitignore 2011-10-12 16:30:46 +01:00
Simon Robertshaw
2cf9ef60aa Implement more particle graphics 2011-10-12 12:37:04 +01:00
Simon Robertshaw
0e61956b24 Improved 'GLOW' rendering 2011-10-11 18:54:38 +01:00
Simon Robertshaw
8dad37bf00 New part rendering completed 2011-10-11 18:35:26 +01:00
Simon Robertshaw
fd71675b69 Add missing file from previous commit 2011-10-10 23:59:44 +01:00
Simon Robertshaw
2901eefa32 Smoke Graphics 2011-10-10 22:01:10 +01:00
Simon Robertshaw
948fd376b4 Starting on jumptable/function pointers for graphics, only FIRE is implemented 2011-10-10 20:42:55 +01:00
Simon Robertshaw
9c9f6b2287 Send user authentication for update downloads 2011-10-10 17:28:15 +01:00
Simon Robertshaw
ee47b2dd68 Pretty effect when drawing powders, activate with 'n' 2011-10-09 13:55:16 +01:00
jacksonmj
cb30cbcce7 Fix typo allowing liquids to teleport through solids 2011-10-07 20:18:07 +01:00
Simon Robertshaw
d7138d6e4a Make installer set data dir to current dir, for now. 2011-10-06 22:12:35 +01:00
jacksonmj
4abefaf1ec tpt.drawline 2011-10-06 21:59:41 +01:00
jacksonmj
ae3241ec80 Fix WHOL/VENT not eating ANAR, and fix PVOD eating PHOT/NEUT when off 2011-10-07 04:57:09 +08:00
Simon Robertshaw
3e88325632 Missed some changes from previous fix 2011-10-01 20:18:07 +01:00
Simon Robertshaw
5ded009ffd Fix bug with drawing rectangles outside the game region 2011-10-01 20:11:27 +01:00
Simon Robertshaw
fd7120425d Changes to QRTZ scattering 2011-10-01 18:18:53 +01:00
Simon Robertshaw
218c14c5ea Better scattering for QRTZ 2011-10-01 17:59:52 +01:00
Simon Robertshaw
18990e9746 Logout is saved to prefs 2011-09-30 18:00:32 +01:00
Simon Robertshaw
b20e1c5e13 Fix bug causing logins to be lost when The Game is closed. 2011-09-30 17:41:02 +01:00
jacksonmj
203db57e57 Prevent segfault with high tmp values for pipe 2011-09-30 14:16:48 +01:00
Simon Robertshaw
f5a9f43b77 Added extra functions to FILT (determined by tmp, modes are convert, filter and add, convert is default). Added property edit tool, changes the properties of materials 2011-09-30 13:57:32 +01:00
Simon Robertshaw
1759d0bd46 Make photons less green, green was given 2 extra bits by Skylark, not sure if this was intentional or not. 2011-09-30 10:50:46 +01:00
Simon Robertshaw
311d3ef6c1 Added crappy scattering for qrtz 2011-09-29 23:14:36 +01:00
Simon Robertshaw
3ed24d084e Freeing "filename" here would cause problems as everything is taken care of later on. 2011-09-29 19:09:31 +02:00
Simon Robertshaw
f369d41591 Merge pull request #46 from atlaua/master
Urgent bugfix, confirm_ui() should not free msg.
2011-09-29 10:03:17 -07:00
atlaua
946a492745 Bugfix: Fixed a segmentation fault in confirm_ui()
confirm_ui() free()ed its msg. This resulted in attemps to free const
strings or and to invalid memoory accesses (because some other functions
wanted to reuse the parameter which they gave to confirm_ui() after
calling this function).

Resolved by removing the call to free() from confirm_ui() and adding it
after the calls to confirm_ui(9, if necessary.
2011-09-29 18:54:32 +02:00
Simon Robertshaw
3ecb2ee39b Add JSON parser file (cJSON) and move preference saving to JSON format 2011-09-27 18:44:35 +01:00
Simon Robertshaw
a6e71ab3f5 Fix potential issue with argument ordering 2011-09-27 14:17:36 +01:00
Simon Robertshaw
d788b15068 Ensure installation doesn't fail if directory already exists 2011-09-27 12:49:11 +01:00