Krzysztof Dermont
32629a2f2a
Refactor autosave rotation.
...
In order to remove boost:filesystem from CResourceManager Move()
function has to be removed or rewrited. Since Move is only used in
autosave rotation it's simpler to change autosave rotation and remove
Move().
Now oldest autosaves (with lowest timestamp) will be removed in rotation.
2016-06-09 19:30:08 +02:00
krzys-h
0e101debe0
Removed CAM_TYPE_INFO
2016-05-28 18:52:30 +02:00
krzys-h
646e5104f6
Some CCamera cleanup and docs
2016-05-28 18:44:38 +02:00
krzys-h
ebc2e6e26c
Added camera joystick bindings ( #653 )
2016-05-28 13:50:41 +02:00
krzys-h
942f746a21
Removed CAM_TYPE_DIALOG
2016-05-28 12:50:32 +02:00
krzys-h
250047579f
Allow using custom paths for win/lost scenes
2016-05-27 23:37:36 +02:00
krzys-h
cdd719cc47
Made clipping distance settings apply immediately
2016-05-21 19:05:18 +02:00
krzys-h
c00a7fd132
Do not zoom while scrolling lists, closes #769
2016-04-22 19:20:31 +02:00
krzys-h
952a5423fd
Fixed non-power-of-2 images in SatCom ( closes #634 ); fixed not unloading textures on SatCom close
2016-04-10 13:53:34 +02:00
krzys-h
4de9d25f04
Man, those compile errors...
2016-04-09 18:58:34 +02:00
krzys-h
32af7f45df
Fixed missing #includes
2016-04-09 18:52:15 +02:00
krzys-h
04d7c343ef
Removed misc.cpp / misc.h
2016-04-09 18:46:12 +02:00
krzys-h
139592bc00
Proper l10n for date/time
2016-04-09 18:23:57 +02:00
krzys-h
bd9184bd92
Refactored part of CScript to std::string
2016-04-08 22:27:42 +02:00
krzys-h
6216daedb3
Merge part of PR #756
2016-04-03 20:17:23 +02:00
krzys-h
c0780f938e
One more code style fix
2016-04-03 13:19:51 +02:00
krzys-h
98dd9f90c8
Fixed code style warnings
2016-04-03 13:06:55 +02:00
Smok94
6afdb7b6c8
First person camera unlocked for Me and Tech
...
*unlocked camaera button for Me and Tech
*unlocked first ferson view for Me and Tech
*Me and Tech have no "camera view" effect like robots in first person
mode
#156
2016-04-02 15:56:27 +02:00
Smok94
831276f378
Appearance customization face butons fix
...
*face buttons 2 and 4 swaped.
*default hair colors now fit to buttons look
*changing face changes hair color do default
Fixes two first issues mentioned in the #724
2016-04-02 13:13:42 +02:00
Krzysztof Dermont
2ea453f484
Change SatCom button size in main menu
...
Change button size as proposed in issue #722
2016-03-29 21:36:33 +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
c831cd8637
Updated Polish translations
2016-03-25 11:31:04 +01:00
krzys-h
6e89d097e8
Cleaned up (now unnecessary) .c_str() converstions to CList::SetItemName
2016-03-15 20:47:06 +01:00
krzys-h
bce99308c6
Fixed compilation error
2016-03-15 20:42:06 +01:00
krzys-h
fef8a8e355
Fixes to variable list in CBot debugger
...
* fixed stack overflow with circular references (closes #434 )
* fixed displaying boolean variables
* fixed buffer overflows with entries longer than 100 characters
* removed hard-limit to 100 entries with at most 100 characters in CList (this also allows you to have more than 100 programs in a robot, up to 999)
2016-03-15 20:39:31 +01:00
krzys-h
cbdda57288
Merge branch 'dev-right-click-camera' into dev
2016-03-13 14:52:17 +01:00
MrSimbax
9679546988
Fix crash on pasting from clipboard
...
I don't know why it didn't happen for anyone else, but according to https://wiki.libsdl.org/SDL_GetClipboardText : "Use this function to get UTF-8 text from the clipboard, which must be freed with SDL_free().". MSVC detected some heap corruption because of free(text);
2016-03-06 23:21:04 +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
f3820bc81a
Fixed using SOUND_CLICK instead of SOUND_NONE, some sound documentation fixes
2016-02-19 17:12:27 +01:00
krzys-h
2b94de44a8
Incresed editor double click time, closes #688
2016-02-15 19:08:09 +01:00
krzys-h
84e0220ea6
Fix code copy start range, closes #720
2016-02-14 19:07:16 +01:00
krzys-h
a3477edc8e
Pause game when in background, closes #609
2016-02-13 21:35:01 +01:00
krzys-h
9b5d9ed893
Fixed some manual control being allowed in code battles, closes #644
2016-02-13 21:05:07 +01:00
krzys-h
6dc7d892b7
Fix indentation on copying code, closes #699
2016-02-13 20:14:34 +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
Krzysztof Dermont
12e3724319
Implement issue #606
...
Add button to open SatCom in main menu
2016-02-10 17:04:26 +01:00
Krzysztof Dermont
a611ef3d50
Fix issue #711
...
Update text input handling based on focus event
2016-02-10 17:03:37 +01:00
krzys-h
5f01153c5f
Fixed joystick switch crash; small bugfix to joystick UI
2016-01-24 20:48:07 +01:00
krzys-h
7a521fbc90
Joystick configuration, closes #499
...
Not yet tested as I don't have a joystick currently with me, but should work fine
2016-01-24 17:36:25 +01:00
krzys-h
40352be5cc
Add language switcher to the settings UI, closes #506
2016-01-24 16:03:24 +01:00
krzys-h
6d8a5bab31
Removed system mouse option
...
Not really needed, as it is an SDL cursor not system cursor, which is no better than ours
2016-01-24 15:24:59 +01:00
krzys-h
3b4ccc3535
Improvements to auto-indent ( #698 )
2015-12-26 20:16:47 +01:00
krzys-h
6fee1ee12b
Docs for CBotTypResult.h and CBotEnums.h
2015-12-21 17:54:55 +01:00
Grunaka
1a6b5ded64
Delete CBotDll.h
2015-12-01 23:25:36 +01:00
krzys-h
6f91442db1
Removed some more unused strings
2015-11-21 17:10:14 +01:00
piotrwalkusz1
ce480c1720
Fix #670
2015-11-08 19:03:35 +01:00
Tomasz Kapuściński
1b855f5dc3
Possible fix for issue #667
2015-10-15 17:40:15 +02: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
883e07ad6a
Fixed mouse scroll on lists going out of range, closes #660
2015-10-01 20:22:52 +02:00
krzys-h
2111c6d177
More CRobotMain cleanup
2015-10-01 20:10:52 +02:00
krzys-h
2c7deea6a9
Removed some unused functions from CRobotMain
2015-10-01 19:37:31 +02:00
krzys-h
b5e98dd6e9
Removed CSettings access through CRobotMain
2015-10-01 19:19:40 +02:00
krzys-h
3815ef0bd6
Refactored CPauseManager (again)
2015-10-01 18:55:41 +02:00
Victor Vieux
49ee00d90d
fix MacOSX install instruction and compilation
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-09-29 22:39:33 +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
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
07df35ca01
Refactored mouse wheel
2015-09-25 22:54:48 +02:00
krzys-h
e965414d34
Rewritten text input to SDL2
2015-09-25 19:49:50 +02:00
krzys-h
53e4470dbf
Started SDL2 migration
2015-09-24 21:09:46 +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
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
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
883348c6cf
Do not (auto)save code battles
2015-09-06 20:01:59 +02:00
krzys-h
51330dde5e
Added code battle start button; fixed bug with starting code battle
2015-09-06 19:12:00 +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
89c93c15cd
Fixed crash after removing last program from a robot
2015-09-01 16:10:12 +02:00
krzys-h
c3d7876a5c
Made CPauseManager not a singleton
2015-08-31 22:05:21 +02:00
krzys-h
75d18ced05
Fixed #596
2015-08-31 21:57:46 +02:00
krzys-h
ff17961584
Refactored CPauseManager
2015-08-31 21:47:55 +02:00
krzys-h
cc7e36968f
Fixed new text in editor not being monospace
2015-08-31 12:21:28 +02:00
krzys-h
82e06bfd8e
Fixed wrong program being highlighted after loading ( closes #616 )
2015-08-31 11:37:02 +02:00
krzys-h
934d97a801
Fixed #581 for aliens
2015-08-25 17:25:53 +02:00
krzys-h
fe44e617a8
Fixed selection markers not disappearing when moving gun away
2015-08-25 16:57:10 +02:00
krzys-h
8b7bd663b9
Fixed shooters detecting all objects as friendly, closes #581
2015-08-25 16:29:26 +02:00
krzys-h
00ae6c32f1
Fixed CBot scripts in SatCom not being sometimes colorized
...
This is because in some places \c; and \s; are reversed
2015-08-25 11:32:15 +02:00
krzys-h
d9b680bdcf
Removed Windows restart on resolution change workaround
2015-08-24 19:47:48 +02:00
Piotr Dziwinski
c3d4d46583
Fix missing empty line after license header
2015-08-22 17:52:07 +02:00
Piotr Dziwinski
b93f610930
Fix license header in all files
2015-08-22 16:40:02 +02:00
krzys-h
e1f0c0f91f
Fixed #585
2015-08-19 20:56:04 +02:00
krzys-h
8421189716
Merge branch 'dev-cbot-syntax-highlighting' into dev ( #575 )
2015-08-18 23:01:02 +02:00
krzys-h
e91ecbbb01
Removed unused references to effect03.png from the code
2015-08-18 22:59:31 +02:00
krzys-h
d6a946618e
Syntax highlighting in SatCom
2015-08-18 22:35:38 +02:00
krzys-h
3fe44be5d5
Fixed no monospace font in the editor
2015-08-18 22:12:00 +02:00
krzys-h
c5da68d516
New CBot syntax highlighting
2015-08-18 22:12:00 +02:00
krzys-h
b086c52b14
Render some things in code instead of using effect03.png texture (in CEdit)
2015-08-18 21:04:00 +02:00
krzys-h
28925106e4
Cleaned up some long lists of ifs
2015-08-18 12:29:41 +02:00
Piotr Dziwinski
a63a959dbe
Apply clang-modernize -use-nullptr
2015-08-17 22:40:52 +02:00
Piotr Dziwinski
ba3284b8b8
Apply clang-modernize -add-override
2015-08-17 22:12:09 +02:00