Commit Graph

2932 Commits (2db0970156b484416e7a6191fb0ef1aeb327b0f6)
 

Author SHA1 Message Date
Charles Spurrill 0d04ede845 Snowflakes much smaller 2011-05-24 16:48:14 -07:00
Günther Brammer 3ff6e907b3 Resized and touched up tunnel texture 2011-05-24 23:25:59 +02:00
Günther Brammer ce28ce5a7e Resized water and lava textures 2011-05-24 23:25:40 +02:00
Peter Wortmann ab618f9d3a Implemented sky - as in stop the shader from drawing over it 2011-05-24 22:00:02 +01:00
Peter Wortmann 1c109b5db4 Use texture2D instead of texture2DLod again
Seemingly my new graphics driver has fixed the bug - I can't
reproduce the original problem anymore.
2011-05-24 21:57:37 +01:00
Nicolas Hake 15309e1829 GLSL landscape renderer: Tile/crop non-fitting textures 2011-05-24 22:32:24 +02:00
MimmoO 384261e287 Merge 2011-05-24 22:09:56 +02:00
MimmoO ea6c0944d9 Improved Moss: can be harvested with sword. 2011-05-24 21:32:13 +02:00
Günther Brammer e5c994b36c Use biggest possible textures for classic landscape renderer
This might speed it up a little bit, and reduces artifacts at the seems.
2011-05-24 19:43:35 +02:00
MimmoO 1a436f3248 MIMMO_MOSS_FAIL 2011-05-24 19:08:46 +02:00
MimmoO 53cf29ce5e Added test scenario for Moss 2011-05-24 17:55:43 +02:00
Günther Brammer 643399c960 Do not delete effects while they still might be in use
For example, deleting an object in an effect callback for that object would
delete the effect, causing some usage of freed memory. Instead, let the
effects get deleted together with the object in ~C4Object(), and only mark
them as dead in AssignRemoval.
2011-05-24 13:23:25 +02:00
Peter Wortmann 1334a494eb Removed gl_TexCoord declaration as well, Mac GLSL driver objects 2011-05-24 10:29:08 +01:00
Peter Wortmann bfb0849fe5 Fixed Mac build 2011-05-21 16:38:54 +01:00
Peter Wortmann 27d3869ca3 Shader now only requires GLSL 1.10 instead of 1.30 2011-05-24 01:32:20 +01:00
Günther Brammer 0b8d25eb30 Solidmasks can also move floating objects 2011-05-24 01:46:29 +02:00
Günther Brammer 85e67592d7 autotools: Add C4LandscapeRender 2011-05-24 01:50:14 +02:00
Peter Wortmann 8d276063fe Fixed line endings and depreciation warnings in shader 2011-05-24 00:42:51 +01:00
Peter Wortmann a02ccafc4d Shader landscape rendering, first simple version (scaler, shading) 2011-05-24 00:12:19 +01:00
Peter Wortmann c84458f451 Fixed parameter naming for AccessNextEntry 2011-05-22 23:02:10 +01:00
Charles Spurrill e8643c3b04 Animation blending works for Steampunk skin 2011-05-22 16:21:47 -07:00
Charles Spurrill d520a33688 #601: Lorry falls off the side of the Airship 2011-05-22 15:47:03 -07:00
Günther Brammer 37242503df Read old nil C4Values from player files for compatibility with 5.1 2011-05-21 23:13:49 +02:00
Günther Brammer e0f49b4cca Handle unknown C4Value type tags in player files or save games 2011-05-21 23:12:43 +02:00
Tobias Zwick d11e6afff4 The trail of the musket bullet is a little bit thinner 2011-05-20 15:41:12 +02:00
Tobias Zwick cb1571ccf6 The pickaxe ist swung a bit faster 2011-05-20 15:40:48 +02:00
Tobias Zwick 85c02a2a5a GrappleBow: correct the display of the rope and grapple hook 2011-05-20 15:40:30 +02:00
Tobias Zwick cd523d631b Water splash sound for the barrel 2011-05-20 15:39:57 +02:00
Tobias Zwick cefe8b2eac fix up the balloon a bit (remove debug message, correct translation, that kind of stuff) 2011-05-20 15:39:41 +02:00
Tobias Zwick 54bd6ca4f5 adjust clonk's backpack display a bit 2011-05-20 15:38:28 +02:00
Nicolas Hake 027d036639 Automatically set C4COPYRIGHT_YEAR on win32 2011-05-20 13:40:27 +02:00
Nicolas Hake b70576b040 Automatically set C4COPYRIGHT_YEAR on Linux [patch by Jookia] 2011-05-20 13:22:12 +02:00
Nicolas Hake 97f699a005 Search for GTest and add a unit testing project if available
Currently this only tests correct UTF-8 handling.
2011-05-17 18:33:28 +02:00
MimmoO 1ea7b1a1ce HuD: Removed sliding feature of the ActionBar 2011-05-19 02:07:40 +02:00
Nicolas Hake 02416caec5 IsValidUtf8: Obey string length parameter when checking continuation bytes
This fixes a bug where sequences were incorrectly accepted when they ended with
a multibyte sequence, the end of which was beyond the passed string length.
2011-05-17 17:55:27 +02:00
Nicolas Hake 1ba02a610b IsValidUtf8: Correctly mask start byte before calculating code point value
This fixes a bug where valid sequences were incorrectly rejected as having
a value beyond the valid Unicode codepoint range.
2011-05-17 17:53:21 +02:00
Günther Brammer c70013b208 editor: File/Save Game As correctly preserves the Origin 2011-05-15 19:40:14 +02:00
Günther Brammer 3c943479ab editor: File/Save creates a savegame when the original scenario was one 2011-05-15 19:38:47 +02:00
Günther Brammer 8bb2afc477 editor: Remove File/Save Game in favor of File/Save Game As
Overwriting a non-savegame scenario with a savegame is too seldomly useful
to feature prominently in the menu.
2011-05-15 18:07:26 +02:00
Günther Brammer 35a8667672 Savegames: Include *.ocf directories in Origin, not *.c4f 2011-05-15 19:32:39 +02:00
Günther Brammer c857c1770b Do not put folder local defs into Game.DefinitionFilenames
Instead, rely on Origin pointing to them in savegames.
2011-05-15 19:51:34 +02:00
Günther Brammer 9271365b18 Use GetRelativePathS in C4SDefinitions::SetModules
This might deal better with doubled path separators, but mostly it's about
using a common library function instead of duplicating logic.
2011-05-09 17:32:14 +02:00
Günther Brammer b1e3eeb32d Savegames: Do not assert() that all C4Values are unenumerated
Only C4V_Any never makes it into the Type field of a C4Value.
2011-05-15 19:30:53 +02:00
Günther Brammer 9cf84fe206 autotools: Mention some macosx source files in Makefile.am 2011-05-15 19:33:15 +02:00
Nicolas Hake 34aa95562d Allow resolution change with mismatching display refresh rates
Removing the DM_DISPLAYFREQUENCY flag from the DEVMODE::dmFields
member lets Windows choose its own preferred frequency.
2011-05-15 16:24:26 +02:00
Nicolas Hake e791b14af9 Fix #600 (Unable to change resolution and Fullscreen fails)
MultiByteToWideChar doesn't do anything when it gets a buffer length of 0,
so it doesn't nullterminate the memory, so EnumerateDisplayModes fails because
of an invalid monitor id.
2011-05-15 16:06:14 +02:00
Günther Brammer 432cae134f Remove unused C4DefList::LoadFolderLocal and C4DefList::LoadForScenario 2011-05-15 14:11:12 +02:00
Günther Brammer 06cfc6e4fc Remove unused C4SDefinitions::AssertModules 2011-05-15 14:10:22 +02:00
Tobias Zwick 0f1c572c56 adjusted size of clonk's backpack 2011-05-14 21:53:58 +02:00
Charles Spurrill e5d56e0592 Fixed the Coniferous' diffuse colour so it is not so dull/dark 2011-05-14 12:38:06 -07:00