Commit Graph

1780 Commits (7a6e669a37ba0d46b13efc62c095498db31f92c6)

Author SHA1 Message Date
krzys-h 7a6e669a37 Show detailed error info when opening haptic device fails 2015-09-27 18:54:02 +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
krzys-h fd07589ebb Separated config.h and version.h
This prevents unnecessary recompilation of some files when version number changes
2015-09-26 21:12:12 +02:00
krzys-h 4dc7a301eb Always reverse forward/backward and up/down axes on a joypad 2015-09-26 21:03:17 +02:00
krzys-h 377a331e2a Forgot to clean this up 2015-09-26 14:58:43 +02:00
krzys-h f6823389cc Fixed displaying joystick button 0 name, closes #646 2015-09-25 23:24:29 +02:00
krzys-h 07df35ca01 Refactored mouse wheel 2015-09-25 22:54:48 +02:00
krzys-h 0c64e62979 Fixed a minor error in event logging 2015-09-25 22:18:44 +02:00
krzys-h a0034f8000 Finalized SDL2 migration 2015-09-25 21:26:49 +02:00
krzys-h e965414d34 Rewritten text input to SDL2 2015-09-25 19:49:50 +02:00
krzys-h 7839dce624 Fixed duplicate resolutions appearing on the list 2015-09-25 11:16:09 +02:00
krzys-h dfa06dafcf Refactored window resize 2015-09-25 11:11:35 +02:00
krzys-h 53e4470dbf Started SDL2 migration 2015-09-24 21:09:46 +02:00
krzys-h 4062d3d4ef Fixed #633 2015-09-13 20:43:24 +02:00
krzys-h 7500ab4988 Added code battle spectator mode switch 2015-09-13 15:59:42 +02:00
krzys-h 389aaaf132 Fixed 'invui' disabling too much 2015-09-12 11:51:03 +02:00
krzys-h 21a7f1bced Made 'invui' work in main menu 2015-09-12 10:35:31 +02:00
krzys-h 38a26e53a9 Possible fix to #628 crash 2015-09-11 18:40:41 +02:00
krzys-h c9a1bbefbb Fixed code battle start button becoming visible after closing file selection dialog 2015-09-11 18:38:25 +02:00
krzys-h 48f24fe6cc Fixed CInterface::SetFocus not recursing into windows, this fixes highlighting of compilation errors in the editor
It's not really nice, but at least it works
2015-09-11 18:34:47 +02:00
krzys-h 2792fa2c6c Fixed mouse cursor scaling (again)
How could I even miss the fact that my previous fix is not working at all? :P
2015-09-11 17:54:55 +02:00
krzys-h e6e38eae7f Fixed cheat console actiaving multiple times, closes #627 2015-09-10 21:32:25 +02:00
krzys-h 4d40bd6992 Hide completion marks in code battle level list 2015-09-10 20:42:48 +02:00
krzys-h 20105d09ec Added code battles button to the main menu 2015-09-10 20:20:24 +02:00
krzys-h 74cee19c09 Fixed objects being deselected if not clicked on any object 2015-09-09 20:32:56 +02:00
krzys-h 060db9c069 Fixed save button being always unavailable 2015-09-09 20:24:44 +02:00
krzys-h 09ff821f2c Fixed code battle start button not disappearing in the editor 2015-09-07 21:45:51 +02:00
krzys-h 0a59f0a907 Fixed a possible bug in CObjectManager::GetObjectByRank (might fix #611) 2015-09-07 20:38:25 +02:00
krzys-h b058a6986b Minor improvments to plane camera 2015-09-06 20:33:04 +02:00
krzys-h 582e3c865f Allow controlling plane camera with number keys 2015-09-06 20:15:56 +02:00
krzys-h f6fdec1479 Allow controlling free camera with arrows when no object is selected 2015-09-06 20:09:47 +02:00
krzys-h 883348c6cf Do not (auto)save code battles 2015-09-06 20:01:59 +02:00
krzys-h d36fcf4187 New code battle camera behavior 2015-09-06 19:59:26 +02:00
krzys-h 51330dde5e Added code battle start button; fixed bug with starting code battle 2015-09-06 19:12:00 +02:00
Piotr Dziwinski cf72693b25 Fix another issue in #621 2015-09-06 16:29:21 +02:00
Piotr Dziwinski a03911dde6 Compile fix 2015-09-06 16:08:10 +02:00
Piotr Dziwinski 86678d4f7a Fix for #621 2015-09-06 13:48:41 +02:00
Piotr Dziwinski 44a1f85891 Refactor CRobotMain::DeleteObject -> DestroySelectedObject 2015-09-06 13:23:43 +02:00
Piotr Dziwinski b1e383f89e Temporarily revert new tree0 model code
* create tree0 using the old model code
 * don't install new model files yet in data submodule
2015-09-06 12:12:21 +02:00
krzys-h 5fd1735678 Added option to move camera lookat point in free cam 2015-09-05 20:59:11 +02:00
krzys-h fb03a497d7 Added command to hide the UI 2015-09-04 19:16:21 +02:00
krzys-h e956311626 Moved free camera controls to numpad; added 'camtype %d', 'camspeed %f', 'freecam' 2015-09-04 19:04:42 +02:00
Tomasz Kapuściński 658e2ff1be Possible fix for issue #520 2015-09-02 21:35:43 +02:00
krzys-h 78e4e440b5 Removed cancel button from player selection screen
Not really needed, and it had a bug with removing players (it would still go back to the deleted player)
2015-09-01 16:30:05 +02:00
krzys-h 6f38ec1911 Clear player name text field on delete 2015-09-01 16:25:09 +02:00
krzys-h ec9a38a681 Don't show level completion marks in free games 2015-09-01 16:22:57 +02:00
krzys-h d97042e252 Fixed possible problems if another crash occurs while saving crash state 2015-09-01 16:17:23 +02:00
krzys-h e015d9f1c3 Don't allow saving if crashed during loading 2015-09-01 16:15:59 +02:00
krzys-h 89c93c15cd Fixed crash after removing last program from a robot 2015-09-01 16:10:12 +02:00