]> git.lizzy.rs Git - nothing.git/log
nothing.git
4 years ago(#1075) Introduce undo history swap for PointLayer
rexim [Sun, 22 Sep 2019 19:40:50 +0000 (02:40 +0700)]
(#1075) Introduce undo history swap for PointLayer

4 years ago(#1075) Get rid of layer arg from UNDO_PUSH in PointLayer
rexim [Sun, 22 Sep 2019 19:32:19 +0000 (02:32 +0700)]
(#1075) Get rid of layer arg from UNDO_PUSH in PointLayer

4 years ago(#1075) Add z reordering support to RectLayer
rexim [Sun, 22 Sep 2019 19:12:04 +0000 (02:12 +0700)]
(#1075) Add z reordering support to RectLayer

4 years agoMerge pull request #1074 from tsoding/956
Alexey Kutepov [Sun, 22 Sep 2019 19:32:38 +0000 (02:32 +0700)]
Merge pull request #1074 from tsoding/956

(#956) Fix z problem in all of the layers

4 years ago(#956) ssize_t -> int
rexim [Sun, 22 Sep 2019 19:15:33 +0000 (02:15 +0700)]
(#956) ssize_t -> int

msvc pls wrok

4 years agoAdd TODO(#1075)
rexim [Sun, 22 Sep 2019 16:53:40 +0000 (23:53 +0700)]
Add TODO(#1075)

4 years ago(#956) Fix z problem in all of the layers
rexim [Sun, 22 Sep 2019 16:51:44 +0000 (23:51 +0700)]
(#956) Fix z problem in all of the layers

4 years agoAdd TODO(#1073)
rexim [Thu, 19 Sep 2019 04:41:16 +0000 (11:41 +0700)]
Add TODO(#1073)

4 years agoAdd TODO(#1072)
rexim [Thu, 19 Sep 2019 04:41:15 +0000 (11:41 +0700)]
Add TODO(#1072)

4 years agoAdd TODO(#1071)
rexim [Thu, 19 Sep 2019 04:41:14 +0000 (11:41 +0700)]
Add TODO(#1071)

4 years agoMerge pull request #1069 from PaprikaX33/1022
Alexey Kutepov [Thu, 19 Sep 2019 04:40:07 +0000 (11:40 +0700)]
Merge pull request #1069 from PaprikaX33/1022

This PR resolve issue #1022. The volume slider is implemented

4 years agoFixed `TODO` to comply with snitch
PaprikaX33 [Thu, 19 Sep 2019 01:58:49 +0000 (08:58 +0700)]
Fixed `TODO` to comply with snitch

as requested in https://github.com/tsoding/nothing/pull/1069#discussion_r325118367

4 years agoadded another TODO for optimization potential
PaprikaX33 [Mon, 16 Sep 2019 13:18:21 +0000 (20:18 +0700)]
added another TODO for optimization potential

4 years agoadded TODO for future improvement
PaprikaX33 [Mon, 16 Sep 2019 13:08:43 +0000 (20:08 +0700)]
added TODO for future improvement

The `sound_samples_update_volume` should be called by in-game volume
slider event handler instead.

4 years agoimplemented the volume control and adjustment
PaprikaX33 [Mon, 16 Sep 2019 13:07:12 +0000 (20:07 +0700)]
implemented the volume control and adjustment

For the current version, the amplitude manipulation was done during
playing, and able to change the volume on the fly, but the volume
slider is `layer_picker` exclusive

4 years agoadded volume variable to the sound_sample
PaprikaX33 [Mon, 16 Sep 2019 11:31:35 +0000 (18:31 +0700)]
added volume variable to the sound_sample

4 years agoadded padding to the slider
PaprikaX33 [Mon, 16 Sep 2019 05:50:21 +0000 (12:50 +0700)]
added padding to the slider

4 years agoadded the volume slider
PaprikaX33 [Mon, 16 Sep 2019 04:49:33 +0000 (11:49 +0700)]
added the volume slider

4 years agoMerge pull request #1066 from PaprikaX33/arrow-key
Alexey Kutepov [Sun, 15 Sep 2019 20:55:21 +0000 (03:55 +0700)]
Merge pull request #1066 from PaprikaX33/arrow-key

added arrow key support for character movements

4 years agoMerge pull request #1065 from tsoding/1059
Alexey Kutepov [Sun, 15 Sep 2019 20:52:23 +0000 (03:52 +0700)]
Merge pull request #1065 from tsoding/1059

(#1059) data => assets

4 years agoMerge pull request #1064 from tsoding/1060
Alexey Kutepov [Sun, 15 Sep 2019 20:52:13 +0000 (03:52 +0700)]
Merge pull request #1064 from tsoding/1060

(#1060) Add CTRL+q shortcut to quit the game

4 years agoadded arrow key support for character movements
PaprikaX33 [Sun, 15 Sep 2019 19:25:18 +0000 (02:25 +0700)]
added arrow key support for character movements

This might be a good accessibility feature for non-gamer, as arrow keys
are the most intuitive buttons to convey movement

4 years ago(#1059) data => assets
rexim [Sun, 15 Sep 2019 19:02:10 +0000 (02:02 +0700)]
(#1059) data => assets

4 years ago(#1060) Add CTRL+q shortcut to quit the game
rexim [Sun, 15 Sep 2019 18:48:19 +0000 (01:48 +0700)]
(#1060) Add CTRL+q shortcut to quit the game

4 years agoMerge pull request #1062 from tsoding/604
Alexey Kutepov [Sun, 15 Sep 2019 18:55:16 +0000 (01:55 +0700)]
Merge pull request #1062 from tsoding/604

(#604) Make console available in pause state

4 years ago(#604) Make console available in pause state
rexim [Sun, 15 Sep 2019 18:40:25 +0000 (01:40 +0700)]
(#604) Make console available in pause state

4 years ago(#604) if level has enabled text input mode ignore special keys
rexim [Sun, 15 Sep 2019 18:01:13 +0000 (01:01 +0700)]
(#604) if level has enabled text input mode ignore special keys

4 years ago(#604) only handle input events when the level in running state
rexim [Sun, 15 Sep 2019 18:00:53 +0000 (01:00 +0700)]
(#604) only handle input events when the level in running state

4 years agoMerge pull request #1058 from tsoding/1056
Alexey Kutepov [Sun, 15 Sep 2019 17:35:09 +0000 (00:35 +0700)]
Merge pull request #1058 from tsoding/1056

(#1056) Improve id generation for level editor layers

4 years agoMerge pull request #1057 from Minichota/master
Alexey Kutepov [Sun, 15 Sep 2019 17:27:15 +0000 (00:27 +0700)]
Merge pull request #1057 from Minichota/master

Added w key jump functionality.

4 years ago(#1056) Improve id generation for label layer
rexim [Sun, 15 Sep 2019 17:18:09 +0000 (00:18 +0700)]
(#1056) Improve id generation for label layer

4 years ago(#1056) Improve id generation for point layers
rexim [Sun, 15 Sep 2019 17:04:16 +0000 (00:04 +0700)]
(#1056) Improve id generation for point layers

4 years ago(#1056) Improve id generation for rect layers
rexim [Sun, 15 Sep 2019 16:58:07 +0000 (23:58 +0700)]
(#1056) Improve id generation for rect layers

4 years agoAdded w key jump functionality.
Ouj [Sun, 15 Sep 2019 16:53:24 +0000 (11:53 -0500)]
Added w key jump functionality.

4 years ago(#1031) Add Level Editor controls
rexim [Sun, 15 Sep 2019 16:35:04 +0000 (23:35 +0700)]
(#1031) Add Level Editor controls

4 years agoMerge pull request #1055 from tsoding/1045
Alexey Kutepov [Sun, 15 Sep 2019 09:47:31 +0000 (16:47 +0700)]
Merge pull request #1055 from tsoding/1045

 (#1045) Always reset the camera on switching the state of the game

4 years ago(#1045) Introduce LEVEL_STATE_CONSOLE
rexim [Sat, 14 Sep 2019 19:59:18 +0000 (02:59 +0700)]
(#1045) Introduce LEVEL_STATE_CONSOLE

4 years ago(#1045) Move Console from Game to Level
rexim [Sat, 14 Sep 2019 19:45:46 +0000 (02:45 +0700)]
(#1045) Move Console from Game to Level

4 years ago(#1045) trace_assert
rexim [Sat, 14 Sep 2019 19:28:25 +0000 (02:28 +0700)]
(#1045) trace_assert

4 years ago(#1045) remove eval_result from Console
rexim [Sat, 14 Sep 2019 19:26:04 +0000 (02:26 +0700)]
(#1045) remove eval_result from Console

4 years ago(#1045) Decouple Console from Sprite_font and SDL_Renderer
rexim [Sat, 14 Sep 2019 19:21:21 +0000 (02:21 +0700)]
(#1045) Decouple Console from Sprite_font and SDL_Renderer

4 years ago(#1045) Move Pause state to Level
rexim [Sat, 14 Sep 2019 19:08:01 +0000 (02:08 +0700)]
(#1045) Move Pause state to Level

4 years ago(#1045) GAME_STATE_RUNNING -> GAME_STATE_LEVEL
rexim [Sat, 14 Sep 2019 18:23:14 +0000 (01:23 +0700)]
(#1045) GAME_STATE_RUNNING -> GAME_STATE_LEVEL

4 years ago(#1045) Always reset the camera on switching the state of the game
rexim [Sat, 14 Sep 2019 18:11:31 +0000 (01:11 +0700)]
(#1045) Always reset the camera on switching the state of the game

4 years ago(#1045) Make Camera entity transparent
rexim [Sat, 14 Sep 2019 17:54:08 +0000 (00:54 +0700)]
(#1045) Make Camera entity transparent

4 years agoMerge pull request #1054 from tsoding/1047
Alexey Kutepov [Sat, 14 Sep 2019 18:12:53 +0000 (01:12 +0700)]
Merge pull request #1054 from tsoding/1047

(#1047) Make the level reload from the level editor

4 years ago(#1047) Make the level reload from the level editor
rexim [Sat, 14 Sep 2019 16:23:39 +0000 (23:23 +0700)]
(#1047) Make the level reload from the level editor

Instead of the file

4 years agoMerge pull request #1053 from tsoding/1050
Alexey Kutepov [Mon, 9 Sep 2019 00:33:35 +0000 (07:33 +0700)]
Merge pull request #1053 from tsoding/1050

(#1050) Add clipboard support for LabelLayer

4 years ago(#1050) Replace system clipboard with internal one
rexim [Sun, 8 Sep 2019 18:58:36 +0000 (01:58 +0700)]
(#1050) Replace system clipboard with internal one

4 years ago(#1050) Add rough implementation of copy-past for LabelLayer
rexim [Sun, 8 Sep 2019 18:17:06 +0000 (01:17 +0700)]
(#1050) Add rough implementation of copy-past for LabelLayer

4 years agoMerge pull request #1052 from tsoding/1051
Alexey Kutepov [Sun, 8 Sep 2019 17:31:43 +0000 (00:31 +0700)]
Merge pull request #1052 from tsoding/1051

(#1051) Implement copy-paste for RectLayer

4 years ago(#1051) Implement copy-paste for RectLayer
rexim [Sun, 8 Sep 2019 17:12:42 +0000 (00:12 +0700)]
(#1051) Implement copy-paste for RectLayer

4 years agoMerge pull request #1049 from tsoding/1048
Alexey Kutepov [Sat, 7 Sep 2019 20:38:16 +0000 (03:38 +0700)]
Merge pull request #1049 from tsoding/1048

(#1048) Implement copy-pasting for PointLayer

4 years agoRemove TODO(#1043)
rexim [Sat, 7 Sep 2019 19:39:10 +0000 (02:39 +0700)]
Remove TODO(#1043)

4 years agoRemove TODO(#999)
rexim [Sat, 7 Sep 2019 19:39:10 +0000 (02:39 +0700)]
Remove TODO(#999)

4 years agoAdd TODO(#1051)
rexim [Sat, 7 Sep 2019 19:37:59 +0000 (02:37 +0700)]
Add TODO(#1051)

4 years agoAdd TODO(#1050)
rexim [Sat, 7 Sep 2019 19:37:57 +0000 (02:37 +0700)]
Add TODO(#1050)

4 years ago(#1048) Implement copy-pasting for PointLayer
rexim [Sat, 7 Sep 2019 19:36:06 +0000 (02:36 +0700)]
(#1048) Implement copy-pasting for PointLayer

4 years agoMerge pull request #1046 from tsoding/704
Alexey Kutepov [Sat, 7 Sep 2019 19:15:05 +0000 (02:15 +0700)]
Merge pull request #1046 from tsoding/704

 (#704) fix The Penetration Bug

4 years ago(#704) fix The Penetration Bug
rexim [Sat, 7 Sep 2019 18:58:54 +0000 (01:58 +0700)]
(#704) fix The Penetration Bug

4 years ago(#704) make RECT_LAYER_ID_MAX_SIZE visiable outside of unit
rexim [Sat, 7 Sep 2019 18:55:22 +0000 (01:55 +0700)]
(#704) make RECT_LAYER_ID_MAX_SIZE visiable outside of unit

4 years ago(#704) Add (game level box coord) command
rexim [Sat, 7 Sep 2019 18:29:12 +0000 (01:29 +0700)]
(#704) Add (game level box coord) command

4 years agoFix color_picker bug on all of the layers
rexim [Sat, 7 Sep 2019 17:02:08 +0000 (00:02 +0700)]
Fix color_picker bug on all of the layers

4 years agoDon't show selections in inactive layers
rexim [Sat, 7 Sep 2019 16:33:29 +0000 (23:33 +0700)]
Don't show selections in inactive layers

4 years agoMerge pull request #1044 from tsoding/1043
Alexey Kutepov [Mon, 2 Sep 2019 18:03:54 +0000 (01:03 +0700)]
Merge pull request #1044 from tsoding/1043

(#1043) prev -> inter

4 years ago(#1043) Clean up
rexim [Mon, 2 Sep 2019 17:16:20 +0000 (00:16 +0700)]
(#1043) Clean up

4 years ago(#1043) Make layer part of undo context
rexim [Mon, 2 Sep 2019 16:35:30 +0000 (23:35 +0700)]
(#1043) Make layer part of undo context

4 years ago(#1043) Introduce UNDO_PUSH to PointLayer
rexim [Mon, 2 Sep 2019 16:20:52 +0000 (23:20 +0700)]
(#1043) Introduce UNDO_PUSH to PointLayer

4 years ago(#1043) prev -> inter
rexim [Mon, 2 Sep 2019 16:11:35 +0000 (23:11 +0700)]
(#1043) prev -> inter

4 years agoMerge pull request #1042 from tsoding/999
Alexey Kutepov [Sun, 1 Sep 2019 22:24:28 +0000 (05:24 +0700)]
Merge pull request #1042 from tsoding/999

(#999) Full undo support for LabelLayer

4 years agoRemove TODO(#1034)
rexim [Sun, 1 Sep 2019 20:15:45 +0000 (03:15 +0700)]
Remove TODO(#1034)

4 years agoRemove TODO(#1035)
rexim [Sun, 1 Sep 2019 20:15:45 +0000 (03:15 +0700)]
Remove TODO(#1035)

4 years agoAdd TODO(#1043)
rexim [Sun, 1 Sep 2019 20:15:05 +0000 (03:15 +0700)]
Add TODO(#1043)

4 years ago(#999) Full undo support for LabelLayer
rexim [Sun, 1 Sep 2019 20:10:32 +0000 (03:10 +0700)]
(#999) Full undo support for LabelLayer

4 years ago(#999) Simplify create_undo_context of LabelLayer
rexim [Sun, 1 Sep 2019 19:59:40 +0000 (02:59 +0700)]
(#999) Simplify create_undo_context of LabelLayer

4 years ago(#999) Add undo move for LabelLayer
rexim [Sun, 1 Sep 2019 19:55:37 +0000 (02:55 +0700)]
(#999) Add undo move for LabelLayer

4 years ago(#999) Add undo delete to LabelLayer
rexim [Sun, 1 Sep 2019 19:51:40 +0000 (02:51 +0700)]
(#999) Add undo delete to LabelLayer

4 years ago(#998) Introduce inter_color to LabelLayer
rexim [Sun, 1 Sep 2019 19:47:24 +0000 (02:47 +0700)]
(#998) Introduce inter_color to LabelLayer

4 years ago(#999) Introduce inter_position to LabelLayer
rexim [Sun, 1 Sep 2019 19:36:34 +0000 (02:36 +0700)]
(#999) Introduce inter_position to LabelLayer

4 years ago(#999) prev_color -> inter_color
rexim [Sun, 1 Sep 2019 19:11:38 +0000 (02:11 +0700)]
(#999) prev_color -> inter_color

4 years ago(#999) prev_position -> inter_position
rexim [Sun, 1 Sep 2019 18:35:23 +0000 (01:35 +0700)]
(#999) prev_position -> inter_position

4 years ago(#999) Introduce trans_mat_vec and make mat3x3 header-only
rexim [Sun, 1 Sep 2019 18:34:57 +0000 (01:34 +0700)]
(#999) Introduce trans_mat_vec and make mat3x3 header-only

4 years ago(#999) Prepare undo boilerplate for LabelLayer
rexim [Sun, 1 Sep 2019 17:13:40 +0000 (00:13 +0700)]
(#999) Prepare undo boilerplate for LabelLayer

4 years agoMerge pull request #1041 from tsoding/1035
Alexey Kutepov [Sat, 31 Aug 2019 19:46:25 +0000 (02:46 +0700)]
Merge pull request #1041 from tsoding/1035

(#1035) Make RectLayer id editing look better

4 years ago(#999) Remove UndoType from UndoHistory unit
rexim [Sat, 31 Aug 2019 19:07:28 +0000 (02:07 +0700)]
(#999) Remove UndoType from UndoHistory unit

4 years ago(#1035) Restyle RectLayer id EditField appropriately
rexim [Sat, 31 Aug 2019 18:56:52 +0000 (01:56 +0700)]
(#1035) Restyle RectLayer id EditField appropriately

4 years ago(#1035) Position RectLayer EditField properly
rexim [Sat, 31 Aug 2019 18:50:53 +0000 (01:50 +0700)]
(#1035) Position RectLayer EditField properly

4 years agoMerge pull request #1040 from tsoding/1030
Alexey Kutepov [Sat, 31 Aug 2019 18:36:14 +0000 (01:36 +0700)]
Merge pull request #1040 from tsoding/1030

(#1030) Remove Context size limit

4 years ago(#1030) Make UndoHistory transparent
rexim [Sat, 31 Aug 2019 18:16:06 +0000 (01:16 +0700)]
(#1030) Make UndoHistory transparent

4 years ago(#1030) Remove Context size limit
rexim [Sat, 31 Aug 2019 17:58:32 +0000 (00:58 +0700)]
(#1030) Remove Context size limit

4 years ago(#1030) Replace Dynarray inside of UndoHistory with Stack
rexim [Sat, 31 Aug 2019 17:18:00 +0000 (00:18 +0700)]
(#1030) Replace Dynarray inside of UndoHistory with Stack

4 years agoMerge pull request #1038 from tsoding/1030
Alexey Kutepov [Sat, 31 Aug 2019 16:15:42 +0000 (23:15 +0700)]
Merge pull request #1038 from tsoding/1030

(#1030) Add stack implementation

4 years agoMerge pull request #1036 from NilsIrl/master
Alexey Kutepov [Sat, 31 Aug 2019 16:12:04 +0000 (23:12 +0700)]
Merge pull request #1036 from NilsIrl/master

Prevent writing too much

4 years ago(#1030) Add stack implementation
rexim [Sun, 25 Aug 2019 19:55:24 +0000 (02:55 +0700)]
(#1030) Add stack implementation

4 years agoMerge pull request #1037 from tsoding/1034
Alexey Kutepov [Sun, 25 Aug 2019 18:33:54 +0000 (01:33 +0700)]
Merge pull request #1037 from tsoding/1034

(#1034) Use one context per single layer

4 years ago(#1034) Use single context for the whole PlayerLayer
rexim [Sun, 25 Aug 2019 18:19:26 +0000 (01:19 +0700)]
(#1034) Use single context for the whole PlayerLayer

4 years ago(#1034) Use a single context for the whole PointLayer
rexim [Sun, 25 Aug 2019 17:57:07 +0000 (00:57 +0700)]
(#1034) Use a single context for the whole PointLayer

4 years ago(#1034) Move UndoType to undo_history unit
rexim [Sun, 25 Aug 2019 17:21:38 +0000 (00:21 +0700)]
(#1034) Move UndoType to undo_history unit

4 years ago(#1034) Use a single undo context for the entire RectLayer
rexim [Sun, 25 Aug 2019 17:07:05 +0000 (00:07 +0700)]
(#1034) Use a single undo context for the entire RectLayer

4 years ago(#1034) Implement dynarray_copy_to
rexim [Sun, 25 Aug 2019 17:06:35 +0000 (00:06 +0700)]
(#1034) Implement dynarray_copy_to