krzys-h
942f746a21
Removed CAM_TYPE_DIALOG
2016-05-28 12:50:32 +02:00
krzys-h
aa159bc9b0
Don't scale mouse cursor with resolution
2016-05-28 00:43:14 +02:00
krzys-h
99a831a03b
Fixed CParticle::CheckChannel "errors"
...
Not really errors, but I fixed them anyway
2016-05-28 00:26:56 +02:00
krzys-h
5ab99429d4
Fixed FIX camera up/down movement
2016-05-28 00:00:08 +02:00
krzys-h
bd72086704
Unified all camera inputs
...
Until now each camera type had separate code for handling camera input, and some new features were missing in some of them.
The camera controls are as follows:
* RMB+mouse and numpad keys - horizontal/vertical rotation
* mouse wheel and +/- keys - zoom (in free camera - move eye up/down)
* CTRL or MMB + horizontal controls - pan left/right
* CTRL or MMB + zoom controls - move lookat up/down (free camera only)
2016-05-27 22:38:44 +02:00
krzys-h
59c106f7a7
Fixed pause blur image not updating correctly on resolution change
2016-05-21 19:03:53 +02:00
Tomasz Kapuściński
213fd6b203
Added blur effect when the game is paused (issue #656 )
...
Might be unstable, needs more testing. To enable, add PauseBlur=1 to [Experimental] section in colobot.ini
2016-05-21 14:27:35 +02:00
Tomasz Kapuściński
8922bb5e84
Renamed CGLDevice to CGL14Device
2016-05-11 14:50:18 +02:00
Tomasz Kapuściński
ebca89d920
Removed texture coordinate generation
...
This feature was only needed by GL14 device to implement shadow mapping and is not supported by shader-based devices. Shadow mapping has been rewritten, so this feature is no longer needed.
2016-05-11 13:47:08 +02:00
tomangelo2
9870cfe8a8
Clamp FogStart value to 0 if negative
...
Should fix issue #766
2016-05-02 01:27:07 +02:00
Piotr Dziwinski
c6c01c332f
Fix displaying of text highlights ( #738 )
2016-04-08 21:24:14 +12:00
Piotr Dziwinski
71a77c77f6
Hack to finally fix #738
...
Text rendering is now done in window coordinates corresponding to window
pixels to avoid floating-point rounding errors that show up as rendering
artifacts
2016-04-06 23:08:50 +12:00
Piotr Dziwinski
72f966b118
Fix for #738
...
Add one-pixel boundary and fix texture coordinates for font characters
This should finally fix the issue of pixelated text
2016-04-03 21:40:33 +12:00
Didier Raboud
a06035ecb8
Fix occured/occurred spelling error
2016-03-30 13:40:26 +02:00
krzys-h
64fef98bd7
Merge branch 'dev-0.1.8' into dev
2016-03-29 16:16:20 +02:00
Tomasz Kapuściński
df4e5fa309
Fix for error spam in console when running on GL14 device
2016-03-29 15:05:32 +02:00
krzys-h
427bbfa630
Changed CParticle::CheckChannel log message
2016-03-28 23:04:24 +02:00
krzys-h
e24d77bde8
goto() bitmap debugger
2016-03-28 21:42:25 +02:00
krzys-h
d38ddcbc41
goto() path debugger
2016-03-28 20:25:07 +02:00
krzys-h
e4f9360e63
Resources debug mode
2016-03-28 17:58:31 +02:00
krzys-h
4af02c86f8
Debug menu
2016-03-28 17:58:31 +02:00
krzys-h
adf20f58d4
Removed unused members of CNullDevice
2016-03-26 19:50:53 +01:00
krzys-h
6585ee9ae8
Refactor some references to CRobotMain from CEngine
2016-03-26 18:55:39 +01:00
krzys-h
16c1f34a07
Removed unnecessary LoadAllTextures call
2016-03-25 17:14:20 +01:00
krzys-h
17bcbddef1
Destroy white texture in GL14 device on exit
2016-03-25 17:10:21 +01:00
krzys-h
d812db19f8
Fixed ground spots not working after changing texture params; use UpdateTexture instead of destroy and recreate
2016-03-25 17:06:01 +01:00
Piotr Dziwinski
4e331f1f54
Possible workaround for #738
...
Align text rendering to character, not tile size
2016-03-25 15:50:13 +13:00
krzys-h
b84e24d662
Fixed VBOs never being used even if available
2016-03-24 18:45:51 +01:00
Tomasz Kapuściński
a84b5c28b7
Optimizations of primitive rendering in OpenGL 3.3 device
2016-03-22 15:16:08 +01:00
Tomasz Kapuściński
d3ef04428b
Added DeviceCapabilities
2016-03-22 14:27:00 +01:00
Piotr Dziwinski
926f7cf115
Possible fix for #738
...
Explicitly set byte alignment in pixel transfer operations
2016-03-22 23:31:08 +13:00
Tomasz Kapuściński
b31353cf75
Optimized crash sphere rendering
2016-03-20 19:17:15 +01:00
Piotr Dziwinski
720705bd6b
Some colobot-lint fixes
2016-03-19 12:33:54 +13:00
Piotr Dziwinski
8baccb08a7
Optimize use of textures in text rendering, closes #215
2016-03-19 12:00:56 +13:00
Piotr Dziwinski
4b770adf46
API for updating texture data
2016-03-19 12:00:50 +13:00
Piotr Dziwinski
15c9cbd228
Debug mode for displaying crash spheres, closes #400
2016-03-19 11:54:58 +13:00
krzys-h
effd349449
Fixed cutscene camera animation, closes #731
2016-03-15 21:09:21 +01:00
krzys-h
4479a196f9
Fix colobot-lint warnings
2016-03-15 17:39:00 +01:00
Tomasz Kapuściński
4c6f8239fa
Renamed and moved GL33 shader files to separate directory
2016-03-14 21:44:25 +01:00
Tomasz Kapuściński
cec942b4fd
Renamed and moved GL21 shader files to separate directory
2016-03-14 21:24:27 +01:00
Tomasz Kapuściński
2774fcd8a2
Small changes in the GL21 shader
2016-03-14 20:02:31 +01:00
Tomasz Kapuściński
169aa63822
Potential fix for #726
2016-03-14 19:23:21 +01:00
krzys-h
cbdda57288
Merge branch 'dev-right-click-camera' into dev
2016-03-13 14:52:17 +01:00
Tomasz Kapuściński
8deeddffe0
Corrected OpenGL 2.1 engine's error spam and added experimental terrain shadowing
2016-03-10 10:50:54 +01:00
Tomasz Kapuściński
e6a2fc9671
Rewritten shadow mapping implementation
2016-03-07 18:33:19 +01:00
Tomasz Kapuściński
9effa308ce
Small change in enabling/disabling shadow mapping
2016-03-06 20:25:50 +01:00
Tomasz Kapuściński
d3ccdebd9f
Added names to graphics devices
2016-03-06 19:32:37 +01:00
krzys-h
f67d76fed4
Merge branch 'dev' into dev-right-click-camera
2016-03-05 21:09:00 +01:00
krzys-h
4e50f36214
Merge branch 'dev' into dev-right-click-camera
2016-03-02 20:00:57 +01:00
Tomasz Kapuściński
5fa3ed63b1
Compilation fix
2016-02-29 16:51:18 +01:00
Tomasz Kapuściński
78e877d9a8
Changes in framebuffer creation, framebuffer error detection and small other graphical things
2016-02-29 16:42:01 +01:00
Tomasz Kapuściński
0bb5f96d7a
Changed depth of shadow map texture to 32
2016-02-28 23:17:25 +01:00
krzys-h
b97070bbad
stupid whitespace
2016-02-28 20:57:39 +01:00
krzys-h
282cd65a2d
Fix reloading changed ground spot textures ( closes #404 )
2016-02-28 20:22:05 +01:00
krzys-h
643c40e778
Revert "Get rid of "blacklisting shadowXX.png" logs"
...
This disabled loading of those textures completly
This reverts commit 60f0a7b45c
.
#BlamePiotrdzAgain
2016-02-28 20:17:35 +01:00
Tomasz Kapuściński
14d6ee74a3
Removed dirt from water surface
2016-02-27 15:29:41 +01:00
krzys-h
9c32f705b6
FIXED ALL GOLD EDITION LIGHTING PROBLEMS!! Yay!
2016-02-21 15:35:52 +01:00
krzys-h
3de6794835
Allow both right and middle mouse button for camera movement
2016-02-19 17:27:55 +01:00
krzys-h
700f3ad448
Edge camera speed fix
2016-02-19 17:22:20 +01:00
krzys-h
b15666f48e
Restored old camera scroll as a config option
2016-02-19 17:14:08 +01:00
krzys-h
1efa4b132c
Fixed mouse invert settings; removed camera scroll setting
2016-02-19 17:14:08 +01:00
krzys-h
47d39e5b22
Right click camera; minor CCamera cleanups
2016-02-19 17:14:08 +01:00
krzys-h
d9ccd6edf3
Camera smoothness adjustment
2016-02-19 17:14:08 +01:00
Tomasz Kapuściński
739f90e38e
Reverted changes to OpenGL version detection
2016-02-18 20:51:02 +01:00
krzys-h
0256b1aa39
Add logging in font loading
2016-02-18 18:07:29 +01:00
krzys-h
1b21c387bb
Fixed colobot-lint warnings
2016-02-18 12:20:40 +01:00
Tomasz Kapuściński
0ad53cc0d8
Fix compilation error
2016-02-18 01:36:37 +01:00
Tomasz Kapuściński
0eaf3a9ac4
Added rendering modes and shaders to OpenGL 3.3 engine and fixed problem with detecting extensions in core profile
2016-02-18 00:57:37 +01:00
Tomasz Kapuściński
0154af39aa
Corrected compilation problem (GL_MAX_FRAMEBUFFER_SAMPLES)
2016-02-15 20:59:09 +01:00
Tomasz Kapuściński
517d6f069a
Reimplemented drawing primitives in OpenGL 3.3 engine
2016-02-15 20:31:32 +01:00
Tomasz Kapuściński
79c21f6676
Moved LightLocations to outside of UniformLocations
2016-02-15 20:05:25 +01:00
krzys-h
977607a934
Updated license headers
2016-02-13 14:11:30 +01:00
krzys-h
55412842df
Fixed some code style warnings
2016-02-13 13:46:56 +01:00
Tomasz Kapuściński
6b7e6cbc75
Added rendering modes and implemented additional OpenGL 2.1 shaders
2016-02-13 03:54:49 +01:00
Tomasz Kapuściński
bf8916b9eb
Changes in detection of graphics hardware capabilities
2016-02-12 16:14:29 +01:00
Krzysztof Dermont
c780148b77
Fix crash related to TTF and PHYSFS
...
TTF fonts will be loaded to memory instead of file pointers
Added new class CSDLMemoryWrapper that loads data from PHYSFS into memory block
and closes file after. This closes issues #519 , #708 and #619
2016-02-11 16:12:16 +01:00
Tomasz Kapuściński
b6faadca03
Rewritten OpenGL 2.1 engine's two-sided lighting
2016-02-11 15:04:07 +01:00
Tomasz Kapuściński
32b480b226
Rewritten lighting in OpenGL 2.1 engine
2016-02-10 23:38:49 +01:00
Tomasz Kapuściński
898001e065
Changed CGL33Device requirement to OpenGL 3.2
2016-02-10 22:50:40 +01:00
Tomasz Kapuściński
447b466d6e
Optimizations in graphics engines
2016-02-10 21:40:41 +01:00
Tomasz Kapuściński
a924cf6a75
Fix for fog distance
2016-01-31 00:38:24 +01:00
Tomasz Kapuściński
15c5e69199
Fix for visibility distance setting
2016-01-30 23:58:26 +01:00
Tomasz Kapuściński
12067c1b9f
Optimized light updating in CGLDevice
2016-01-30 18:51:13 +01:00
Tomasz Kapuściński
9db943b820
Optimized matrix operations in CGLDevice
2016-01-30 17:41:11 +01:00
Tomasz Kapuściński
05e19f47c3
Corrected MSAA support detection
2016-01-29 12:02:36 +01:00
Tomasz Kapuściński
00221c9a3f
Optimized DrawPrimitives() in CGL33Device
2015-12-24 00:21:57 +01:00
Tomasz Kapuściński
d944a55905
Optimized DrawPrimitives() in CGL21Device
2015-12-24 00:06:58 +01:00
Tomasz Kapuściński
f2a295348c
Optimized DrawPrimitives() in CGLDevice
2015-12-23 23:49:00 +01:00
Tomasz Kapuściński
d82b5ef746
Added DrawPrimitives() for drawing multiple primitives (not optimized for now)
2015-12-23 23:23:10 +01:00
Tomasz Kapuściński
22e963e2c4
Added information about graphics card to error message
2015-12-20 17:34:55 +01:00
Tomasz Kapuściński
aa2e14219e
Added warnings and error messages to graphics devices regarding unsupported OpenGL version
2015-12-18 21:04:16 +01:00
Piotr Dziwinski
d11ebc891c
Bring to zero some types of issues reported by colobot-lint
2015-10-04 00:09:10 +02:00
krzys-h
3815ef0bd6
Refactored CPauseManager (again)
2015-10-01 18:55:41 +02:00
krzys-h
58035f3cd1
Fixed rendering camera overlay color, closes #157
2015-09-30 21:41:00 +02:00
krzys-h
95f1e3f19a
Fixed water/lava moving and waves ( #659 )
2015-09-30 20:31:09 +02:00
krzys-h
2f0ec3fe75
Fixed lava particle effects ( #659 )
2015-09-30 20:21:25 +02:00
Piotr Dziwinski
61a3ba2800
Fix undefined function colobot-lint issues
2015-09-29 21:44:24 +02:00
krzys-h
2cb2782c9d
Restored old Ceebot-Teen objects
...
In preparations for new programming course
2015-09-28 22:08:59 +02:00
Piotr Dziwinski
66ce745be0
Introduce forward declarations as suggested by colobot-lint
2015-09-27 16:28:14 +02:00
krzys-h
6a6025f557
Implemented force feedback
2015-09-27 00:34:03 +02:00