Commit Graph

705 Commits (4444fde9d7dc8a4b060e97bac7235aba37de02dd)

Author SHA1 Message Date
Didier Raboud 4444fde9d7 Use correct C++11/C++0x flags depending on the used compiler
See http://gcc.gnu.org/projects/cxx0x.html for details.
2013-01-10 10:13:21 +01:00
Piotr Dziwinski 3c94a69870 Added GLEW to travis config 2013-01-09 23:41:18 +01:00
erihel 08578c4015 Merge branch 'dev' of github:colobot/colobot into dev 2013-01-09 23:21:37 +01:00
erihel 983373f150 * Fixed pitch calculation (sound in cut scenes will work as well as robot tracks sound)
* Fixed applying effects to sounds
* Changed volume to range 0.0-1.0 except for values in UI
2013-01-09 23:19:10 +01:00
Piotr Dziwinski cf72246243 Disabled travis e-mail notifications 2013-01-09 21:55:34 +01:00
krzys-h 871542abf5 Merge pull request #114 from OdyX/dev-update-cmake-with-data
Let CMake rely on data's CMakeLists.txt if it exists
2013-01-09 04:36:06 -08:00
krzys-h 9a9cfc51c1 Merge pull request #112 from OdyX/dev-levels-fallback
In levels' lists, fallback to english
2013-01-09 04:33:47 -08:00
Piotr Dziwinski 1285712aa2 CMakeLists enhancements
- compiler detection (clang and gcc version check)
 - compile flags only for src/ subdir
 - system and local include paths
 - fix for clang compilation
2013-01-08 22:12:09 +01:00
Piotr Dziwinski 5a6b3f005a Merge dev and dev-graphics 2013-01-07 19:43:04 +01:00
Piotr Dziwinski edb1c0cbd6 GLEW fix for some graphics drivers 2013-01-06 23:13:05 +01:00
Marcin Zawadzki ff5c890854 Small fix in detecting language. Fixes needed to compile code using clang 2013-01-05 23:03:26 +01:00
Piotr Dziwinski 8818a8e5db Corrected OpenGL extension detection
- corrected multitexture and VBO detection
- GLEW is now a required library
- minor CMakeLists refactoring
2013-01-05 23:03:06 +01:00
erihel fff9d235e4 * Fixed problem with freeing buffers while conneted to a source resulting with "Unable to unload buffer message"
* Fixed posible segfault while trying to play sound after not loading file properly
2013-01-04 21:44:16 +01:00
Piotr Dziwinski d1942e1216 Correct font scaling with resolution 2013-01-04 00:29:19 +01:00
Piotr Dziwinski 89a3f586a2 Merge branch 'dev' into dev-graphics 2013-01-04 00:05:28 +01:00
Piotr Dziwinski c9335534d6 Fix for #113 2013-01-04 00:02:13 +01:00
Piotr Dziwinski 2c0c5ddda1 Fixed stupid debug code
Terrain VBOs should work now
2013-01-03 23:50:17 +01:00
Michał Zieliński 1d42c71645 Merge pull request #115 from OdyX/dev-add-categories-to-desktop-file
Add categories to Desktop Entry file
2013-01-02 10:09:41 -08:00
Didier Raboud ba0679a1d7 Add categories to Desktop Entry file
As per the "Desktop Menu Specification" 1.0, especially Appendix A.
2013-01-02 19:00:38 +01:00
Didier Raboud ffb4d9ff4f Let CMake rely on data's CMakeLists.txt if it exists
- Also update data to latest 'dev', where the CMakeLists exists
2013-01-02 14:35:46 +01:00
Didier Raboud 3fa5e9c9cc In levels' lists, fallback to english
- Implemented in a naive way: Take the English version if found, but
  continue until the translated version is found. This has the drawback
  of letting the loop reach its end if the level has no translation.
2013-01-02 12:24:51 +01:00
Didier Raboud 16d97f9121 Revert "Minor cmake grammar fix"
It appears I was really wrong. Damn.

This reverts commit 277629f9fe.
2012-12-30 12:16:43 +01:00
Piotr Dziwinski 28b9e83093 Merge branch 'master' into dev 2012-12-29 15:05:40 +01:00
Piotr Dziwinski a134cb75c5 Merge of master and dev 2012-12-29 15:01:57 +01:00
Piotr Dziwinski e1325dc364 Fix for TEST_VIRTUAL 2012-12-29 14:35:14 +01:00
erihel ea3e97b26d * Fixed problem with scrolling down text fields with mouse scroll
* Fixed problem with scroll bar not updating position properly in text fields
2012-12-29 13:32:11 +01:00
erihel 03f232f0f6 Merge branch 'dev' of github:colobot/colobot into dev 2012-12-29 13:00:59 +01:00
Piotr Dziwiński e625665f02 Merge pull request #108 from OdyX/dev-central-cmake-version
Create a central version
2012-12-29 02:44:03 -08:00
Piotr Dziwiński 89296b20bd Merge pull request #109 from OdyX/dev-more-language-fixes
Some more language fixes
2012-12-29 02:43:00 -08:00
Didier Raboud 1b4208cdc5 Implement language Char for level files
This currently lacks fallback to an existing entry for non-translated entries
2012-12-28 23:06:12 +01:00
Didier Raboud f4c6f49b2f Move language initialisation in SetLanguage 2012-12-28 22:31:47 +01:00
erihel c9ca8f2b62 * Fixed segault when could not set sound pitch (bad logger call)
* All 81 audio files should be loaded instead of 69 high quality
* Changed volume ajustment formula to proper one
2012-12-28 21:19:50 +01:00
Piotr Dziwinski 3e4c1a1ad8 Replaced malloc/free with new/delete
- now new/delete used everywhere except for CBotStack, which
   has to be fixed in other way
 - some segfaults should be fixed with this
2012-12-28 13:37:08 +01:00
Piotr Dziwinski 2ebe1fbcb6 Fixed spider and worm model loading 2012-12-28 13:23:49 +01:00
Piotr Dziwinski 4cbb63f5b7 Fixed path for loading sounds 2012-12-28 12:06:37 +01:00
Didier Raboud e62996858b Create a central version
Make it 0.1.0~pre-alpha for now.

- Add it to runtime program
- Add it to -help option
- Add it to manpage
- Update translations
2012-12-27 17:12:42 +01:00
Piotr Dziwiński b046c33206 Merge pull request #106 from OdyX/dev-fix-translations
Fix translations
2012-12-27 07:37:28 -08:00
Piotr Dziwiński 0a0e536d65 Merge pull request #105 from OdyX/dev-desktop-file-man
Add manpage for colobot
2012-12-27 07:36:58 -08:00
Piotr Dziwinski 45bee618f9 Fixed unicode rendering bug 2012-12-27 16:32:46 +01:00
Piotr Dziwiński 233f5a7c59 Merge pull request #107 from OdyX/dev-fix-locales
Fix locale's loading
2012-12-27 07:23:42 -08:00
Didier Raboud 0d825ed613 Fix locale's loading
- Always inherit LC_ALL from environment;
- Enforce environment only if the runtime options require it;
2012-12-27 16:13:26 +01:00
Piotr Dziwinski 3582f107a5 Fixes and refactoring 2012-12-27 14:18:16 +01:00
Didier Raboud 85283a76be Update translations
In particular, update french
2012-12-27 14:09:19 +01:00
Didier Raboud 7a5e41e1ec Update colobot.pot using update-pot 2012-12-27 13:54:40 +01:00
Didier Raboud 877774a226 Update translation pot-file and build-target 2012-12-27 13:52:47 +01:00
Didier Raboud afea08d570 Always build manpages
solves #105
2012-12-27 13:13:16 +01:00
Didier Raboud 15efd65e72 Merge branch 'dev' into dev-desktop-file-man 2012-12-27 13:07:22 +01:00
Michał Zieliński cf65681f80 Revert "Merge branch 'dev-desktop-file-man' of https://github.com/OdyX/colobot"
This reverts commit 9f3acdcdde, reversing
changes made to fb13c0f219.
2012-12-27 12:55:59 +01:00
Michał Zieliński 9f3acdcdde Merge branch 'dev-desktop-file-man' of https://github.com/OdyX/colobot 2012-12-27 12:44:06 +01:00
Michał Zieliński fb13c0f219 Merge branch 'dev-desktop-file' of git://github.com/OdyX/colobot 2012-12-27 12:40:58 +01:00