Commit Graph

192 Commits (b98edec8f8f07aedd28e363c61e616ef588bfb08)

Author SHA1 Message Date
Didier 'OdyX' Raboud 89e2855f95 Consolidate SYSTEM_CPP_MODULE in the main CMakeLists.txt 2013-11-20 10:39:06 +01:00
Didier Raboud 86c0eb193d Run image_test 2013-11-18 16:24:41 +01:00
Didier Raboud ca82353e81 Re-enable profile_test test 2013-11-18 16:13:19 +01:00
Didier Raboud 6e31af3923 Initialise CSystemUtils' singleton in the three light, transform and model tests
Also fix README
2013-11-18 13:05:08 +01: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 b3b6a40d9e MacOSX: Add initial support in CMake build infra 2013-10-24 21:12:52 +02:00
Piotr Dziwinski 3e8568bda4 Fixed test binaries location 2013-06-29 00:31:30 +02:00
Piotr Dziwinski 8d82fd61bc Fix for tests compilation 2013-06-24 14:46:13 +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 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 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
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 950a3474d5 Refactored sound code
* fixed formatting and naming to be uniform with rest of code
 * moved default implementation of CSound to cpp module
2013-05-27 10:19:16 +02:00
Piotr Dziwinski 1a3aa0d60f Fixed app_stub 2013-05-27 09:43:29 +02:00
Piotr Dziwinski f7f6e10c70 Added check and warning about non-power-of-2 textures 2013-05-11 21:40:09 +02:00
Piotr Dziwinski cc8ed2979b Fixed deleting of CObjectManager
* fix in CApplication destructor
 * re-enabled unit tests
2013-05-11 21:22:03 +02:00
krzys-h db43400d97 Fixed tests 2013-05-04 15:44:17 +02:00
erihel 2ba146cd63 Fixed problem with test compilation
Altered test cmake files to fix linker problem.
Changed tga to png in pyro.
Changed enum in CMotionDummy.
2013-04-29 14:29:12 +02:00
krzys-h 22c3f44c61 Sorry, I've meant colobot_ut! 2013-04-27 14:01:22 +02:00
krzys-h 95eca71ec5 Commented out edit_test
because Travis is still failing
2013-04-27 13:54:42 +02:00
erihel 32fdf993ea * Changed order of libs in cmake for clipboard 2013-04-20 19:41:39 +02:00
erihel f1873a52d5 * Minor changes to cmake files 2013-04-12 12:07:57 +02:00
erihel 01309c8bd0 * Added clipboard support (issue #60)
* Fixed keyboard shortcuts while code editing in game
2013-04-11 13:37:15 +02:00
krzys-h 47b7236a17 Tests AGAIN! 2013-03-31 10:35:23 +02:00
erihel 3569adb103 * Fixed and turned on edit_test 2013-03-29 16:13:37 +01:00
krzys-h 06742cab16 OK, I give up. 2013-03-29 10:56:36 +01:00
krzys-h 8fd0f25e69 Nope, now fixed edit_test! 2013-03-29 10:51:48 +01:00
krzys-h 7fe1655c5c Fixed edit_test 2013-03-29 10:48:25 +01:00
krzys-h 530344724c Tests are broken again 2013-03-29 10:22:00 +01:00
Piotr Dziwinski 212f2e41f8 Fixed edit_test 2013-03-27 23:48:49 +01:00
Didier Raboud 0d537c7fb5 BROWN-PAPER COMMIT: Drop the tests to have the thing build
Someone understanding GMock / GTest needs to replace that commit (and the two parents) with a working setup
2013-03-27 10:31:06 +01:00
Piotr Dziwinski 195d6cded0 Fixed timer functions on win32
* changed win32 implementation to QueryPerformaceTimer system function
 * refactored system utils code
 * proper tests for time utils and update event creation in application
 * should fix issue #134
2013-03-24 12:00:12 +01:00
Piotr Dziwinski 4a30800cf1 Fixes for compiling on MSYS
* fixed SDL_main() and putenv() issues
 * disabled desktop subdir for MSYS
 * disabled building CBot_console for now
2013-03-22 19:17:08 +01:00
Piotr Dziwinski 025bedecfb Refactored platform-specific code
Moved functions from .h to .cpp files
2013-03-19 23:07:39 +01:00
erihel 21de71f871 * Fixed app stub in edit test 2013-03-17 20:40:54 +01:00
erihel 47e7904bb7 * Fix for issue #140 (not compiling sound files while sound support is enabled) 2013-03-14 20:41:48 +01:00
Piotr Dziwinski bc859c4c59 VBO override option; argv parsing using getopt
* added -vbo option to override autodetection of OpenGL VBO extension
 * refactored argument parsing to use getopt()
 * fixed failing UTs
2013-03-10 15:44:21 +01:00
Piotr Dziwinski 08c646bb92 Fixed stupid error, tweaked ambient light colors
* fixed stupid error in light manager
 * tweaked ambient light colors to 0.1 of diffuse;
   colors should not be oversaturated now
2013-02-28 22:06:22 +01:00
Piotr Dziwinski b0d86ebe5a Better light sorting
Should fix lighting issue (#62)
2013-02-25 21:58:01 +01:00
Piotr Dziwiński 001d37b257 CInstanceManager refactoring
* removed classes managed by CInstanceManager
   except for CObject, CPyro, CBrain and CPhysics
   because of dependencies
 * refactored instance searching to use existing singleton instances of
   CApplication, CEngine and CRobotMain and calling their getter
   functions
2013-02-17 12:11:56 +01:00
Didier Raboud f0e0896c2b Comment the test that fails, with a TODO. 2013-02-14 18:42:50 +01:00
Piotr Dziwinski 209c6412ae Refactoring in tests infrastructure
* all tests are now in /test/ subdirectory
 * unit tests concatenated to one executable (TODO: ui, common)
 * preparation for test environments (OpenGL and others)
 * removed old TestCBot
2013-02-03 20:03:36 +01:00