Piotr Dziwinski
70af33e45d
Revert "Merge pull request #243 from OdyX/dev-fix-textures-loading"
...
Looks like it doesn't work on all platforms
2013-10-28 19:36:43 +01:00
Piotr Dziwiński
75871cc9ca
Merge pull request #243 from OdyX/dev-fix-textures-loading
...
Fix the detection of alpha-channel in textures as created by IMG_Load
2013-10-28 10:11:54 -07:00
Didier Raboud
c2a717d5c9
Let mouse.png's format be detected
...
Fixes the mouse cursor on Mac OS X
2013-10-28 15:25:14 +01:00
Didier 'OdyX' Raboud
9e439d88bf
Fix the detection of alpha-channel in textures as created by IMG_Load
...
This fixes the textures loading under Mac OS X
2013-10-28 15:23:56 +01:00
Piotr Dziwiński
19a7196b61
Merge pull request #242 from OdyX/dev-macosx
...
Mac OSX (Darwin) build support
2013-10-26 09:21:03 -07:00
Didier 'OdyX' Raboud
9ddb034bfa
Add libintl library to the unit tests on Mac OSX
2013-10-26 13:19:23 +02:00
Didier 'OdyX' Raboud
f31a570d96
Include SDL.h in main.cpp to make sure the main loop is SDL's main loop
...
This allows the MacOSX program to start.
2013-10-26 13:19:13 +02:00
Piotr Dziwinski
7fb83068ed
Fix for CMakeLists error
2013-10-24 21:48:14 +02:00
Piotr Dziwinski
8d62da0c99
Added option to force to use bundled gmock/gtest
...
* resolves problem when version of gmock/gtest found installed in system
disagrees with the bundled one
* removed -DGTEST_HAVE_PTHREAD=0, seems that pthread is needed after all
2013-10-24 21:37:07 +02:00
Didier 'OdyX' Raboud
97baf7242e
Fix system_other implementation by adding an Init() and fixing the wrong const
2013-10-24 21:12:52 +02:00
Didier 'OdyX' Raboud
591ba30a00
Include the OpenAL headers using the "al.h" form, as recommended by its CMake finder script
2013-10-24 21:12:52 +02:00
Didier 'OdyX' Raboud
b3b6a40d9e
MacOSX: Add initial support in CMake build infra
2013-10-24 21:12:52 +02:00
Piotr Dziwinski
485d0baf67
Updated data submodule
2013-10-24 18:37:24 +02:00
Piotr Dziwinski
9017dbbbdb
Fixed CTerrain-related memory leaks
2013-10-13 14:44:12 +02:00
Piotr Dziwinski
ccb63bd29e
Fixed memory leaks in CText
2013-10-12 21:14:33 +02:00
Piotr Dziwinski
5d0d9b5aa5
Fixed some CBot-related memory leaks
...
* fixed leaks in CScript::CheckToken()
* fixed leaks in CInterface
* commented out unused function in robotmain.cpp
2013-10-12 18:50:30 +02:00
Piotr Dziwinski
141f73866e
Updated data submodule
2013-10-12 13:50:34 +02:00
krzys-h
d70d31acc1
Fix for #232 - Images in SatCom
...
Only images, icons still don't work
2013-09-28 11:13:45 +02:00
krzys-h
39866db502
Fixed @Emxx52 's fail :P
...
Merge branch 'master' into dev
Conflicts:
src/app/app.cpp
2013-09-08 17:55:48 +02:00
Emxx52
2891c2ea4c
Added '-game' launch option
2013-09-08 17:05:11 +02:00
erihel
b5e87aa91f
Datadir in command line didn't work with config.
...
Values from config file overwrote datadir
2013-07-16 16:00:06 +02:00
Piotr Dziwinski
3e8568bda4
Fixed test binaries location
2013-06-29 00:31:30 +02:00
Piotr Dziwinski
a4b3b7d0af
Typo fix
2013-06-27 19:43:06 +02:00
Piotr Dziwinski
f8a6c6750a
Fix for #228
...
* "empty" objects were wrongly handled in CPyro
2013-06-26 20:44:17 +02:00
Piotr Dziwinski
26870551d7
Forgotten compile flag
2013-06-26 20:44:17 +02:00
erihel
41fa8458c2
Some Ui refactoring
2013-06-24 22:09:39 +02:00
Piotr Dziwinski
5c15855009
Post-alpha phase
2013-06-24 21:40:51 +02:00
Piotr Dziwinski
7c2e955e15
Colobot Gold 0.1.0-alpha
2013-06-24 21:37:15 +02:00
Piotr Dziwinski
b376486fd7
Colobot Gold 0.1.0-alpha
2013-06-24 21:32:14 +02:00
Piotr Dziwinski
8d82fd61bc
Fix for tests compilation
2013-06-24 14:46:13 +02:00
Piotr Dziwinski
a26ee5a78f
Fix for travis CI build
2013-06-24 14:34:17 +02:00
Piotr Dziwinski
81a6de41a5
Some further changes in CMakeLists
...
* removed DEV_BUILD autodetection (could be confusing)
* ignore desktop subdirectory on Windows
* some refactoring
2013-06-24 14:17:28 +02:00
Piotr Dziwinski
3e989c96df
Fixed auto-detecting locale on Windows
...
* localename library is now used to determine the actual locale used
* added patched version of FindGettext.cmake to fix
installation path of translation files
2013-06-24 14:16:39 +02:00
Piotr Dziwinski
78c167064b
Fix for MSYS/MXE build
2013-06-22 23:15:56 +02:00
Piotr Dziwinski
112d6843be
Updated INSTALL files
2013-06-22 22:44:10 +02:00
Piotr Dziwinski
9f819088a6
gitignore update
...
* git should now ignore all generated files when building without
separate build directory
2013-06-22 22:44:03 +02:00
Piotr Dziwinski
8cb2e54de8
Futher changes to CMake options
...
* OpenAL sound is now enabled by default
* Boost is linked dynamically by default
2013-06-22 22:33:06 +02:00
Piotr Dziwinski
a224ae4408
Fix man build target dependencies
...
* could cause fails when make is run with many threads
2013-06-22 21:32:30 +02:00
Piotr Dziwinski
bfcce26f89
Changes in build organization
...
* targets are now created in top-level build directory
* more things are now configured through CMake options
* changed debug build detection from NDEBUG to DEV_BUILD
* moved po and desktop directories
* moved last unit test out of src directory
2013-06-22 01:17:19 +02:00
Piotr Dziwinski
1377e48910
Reverted enum values to fix UT regression
2013-06-22 01:17:19 +02:00
Piotr Dziwinski
28b4e9a634
Fixed terrain light priorities (fix for #139 )
...
* lights illuminating the terrain specified in scene file are now
always moved to front of light ordering
2013-06-20 23:14:37 +02:00
Piotr Dziwinski
4c33172e17
Fixed string formats in light debug prints
2013-06-17 20:52:56 +02:00
Piotr Dziwinski
366d3a551e
Added debug aids for lighting
...
* displaying positions of current lights (F11)
* dumping info to console (F10)
* added assert() in suspicious place in CPyro
2013-06-17 18:17:21 +02:00
krzys-h
868b592706
Added -proto to options[]
2013-06-17 16:26:25 +02:00
Piotr Dziwinski
b4700e3bed
Fix for #133
...
* objects are now copied and textures are updated correctly
* also added function to debug objects
2013-06-17 11:48:57 +02:00
Piotr Dziwinski
7874aca10c
Enhanced logging, option to auto-start mission
...
* added logging of application events
* changed debug mode flag to independent debug modes
* added option to auto-start mission (load a mission immediately
after startup)
* removed "enum value out of range" prints
* some refactoring
2013-06-16 21:54:36 +02:00
Piotr Dziwinski
7cf8811888
Fix for #195
...
* loading time now is not counted in elapsed time
2013-06-13 17:25:58 +02:00
krzys-h
e8e220085a
Fixed bug with showing wrong filename in Level Checker errors after using CacheAudio
2013-06-10 15:44:25 +02:00
krzys-h
18b27d258e
Fixed bug with white map
...
I'm not sure when it was introduced, probably in 8f6fd2a131
.
It was showing errors like "Couldn't load texture 'map.png'" and "Invalid texture data"
2013-06-10 15:38:55 +02:00
Piotr Dziwinski
b22d852b4c
Fixed variable shadowing warnings
...
* fixed -Wshadow warnings
* refactored some constructors
2013-05-27 22:29:42 +02:00