]> git.lizzy.rs Git - nothing.git/log
nothing.git
4 years agoMerge pull request #1089 from tsoding/vec
Alexey Kutepov [Sat, 28 Sep 2019 21:06:57 +0000 (04:06 +0700)]
Merge pull request #1089 from tsoding/vec

Clean up vector types and operations

4 years agoInclude math in vec.h
rexim [Sat, 28 Sep 2019 20:47:22 +0000 (03:47 +0700)]
Include math in vec.h

4 years agoMove Vec2i to vec.h
rexim [Sat, 28 Sep 2019 20:35:19 +0000 (03:35 +0700)]
Move Vec2i to vec.h

4 years agoReplace Vec and Point with Vec2f
rexim [Sat, 28 Sep 2019 20:34:12 +0000 (03:34 +0700)]
Replace Vec and Point with Vec2f

4 years agopoint.h -> vec.h
rexim [Sat, 28 Sep 2019 20:24:30 +0000 (03:24 +0700)]
point.h -> vec.h

4 years agoGet rid of point.c
rexim [Sat, 28 Sep 2019 20:22:25 +0000 (03:22 +0700)]
Get rid of point.c

4 years agoRemove TODO(#1075)
rexim [Sat, 28 Sep 2019 20:16:49 +0000 (03:16 +0700)]
Remove TODO(#1075)

4 years agoRemove TODO(#1079)
rexim [Sat, 28 Sep 2019 20:16:49 +0000 (03:16 +0700)]
Remove TODO(#1079)

4 years agoMerge pull request #1088 from tsoding/1014
Alexey Kutepov [Sat, 28 Sep 2019 19:32:48 +0000 (02:32 +0700)]
Merge pull request #1088 from tsoding/1014

(#1014) Fix one click undo movement bug for LevelEditor

4 years ago(#1014) Fix one click undo movement bug for LabelLayer
rexim [Sat, 28 Sep 2019 19:09:30 +0000 (02:09 +0700)]
(#1014) Fix one click undo movement bug for LabelLayer

4 years ago(#1014) Fix one click undo movement bug for PointLayer
rexim [Sat, 28 Sep 2019 19:06:21 +0000 (02:06 +0700)]
(#1014) Fix one click undo movement bug for PointLayer

4 years ago(#1014) Fix one click undo movement bug for RectLayer
rexim [Sat, 28 Sep 2019 19:03:06 +0000 (02:03 +0700)]
(#1014) Fix one click undo movement bug for RectLayer

4 years agoMerge pull request #1087 from tsoding/1086
Alexey Kutepov [Sat, 28 Sep 2019 18:53:28 +0000 (01:53 +0700)]
Merge pull request #1087 from tsoding/1086

(#1086) Fix background rendering

4 years ago(#1086) Removed dead code
rexim [Sat, 28 Sep 2019 18:30:48 +0000 (01:30 +0700)]
(#1086) Removed dead code

4 years agoClose #182
rexim [Sat, 28 Sep 2019 18:30:01 +0000 (01:30 +0700)]
Close #182

Resolved in the scope of #1086

4 years ago(#1086) Adjust background parameters
rexim [Sat, 28 Sep 2019 18:26:02 +0000 (01:26 +0700)]
(#1086) Adjust background parameters

4 years ago(#1086) Fix background rendering
rexim [Sat, 28 Sep 2019 18:19:18 +0000 (01:19 +0700)]
(#1086) Fix background rendering

4 years agoCamera is not an opaque type anymore
rexim [Sat, 28 Sep 2019 13:18:32 +0000 (20:18 +0700)]
Camera is not an opaque type anymore

4 years agooop.md -> opaque.md
rexim [Sat, 28 Sep 2019 13:17:43 +0000 (20:17 +0700)]
oop.md -> opaque.md

4 years agoUpdate dependencies information
rexim [Sat, 28 Sep 2019 13:14:16 +0000 (20:14 +0700)]
Update dependencies information

Close #953

4 years agoMerge pull request #1083 from tsoding/1077
Alexey Kutepov [Mon, 23 Sep 2019 20:04:22 +0000 (03:04 +0700)]
Merge pull request #1083 from tsoding/1077

(#1077) Fix rect resize anchor selection bug

4 years agoMerge pull request #1084 from tsoding/1067
Alexey Kutepov [Mon, 23 Sep 2019 20:03:02 +0000 (03:03 +0700)]
Merge pull request #1084 from tsoding/1067

(#1067) Display death level in level editor

4 years agoAdd TODO(#1086)
rexim [Mon, 23 Sep 2019 19:11:45 +0000 (02:11 +0700)]
Add TODO(#1086)

4 years agoAdd TODO(#1085)
rexim [Mon, 23 Sep 2019 19:11:44 +0000 (02:11 +0700)]
Add TODO(#1085)

4 years ago(#1067) Display death level in level editor
rexim [Mon, 23 Sep 2019 19:08:25 +0000 (02:08 +0700)]
(#1067) Display death level in level editor

4 years ago(#1077) Fix rect resize anchor selection bug
rexim [Mon, 23 Sep 2019 17:51:23 +0000 (00:51 +0700)]
(#1077) Fix rect resize anchor selection bug

4 years agoMerge pull request #1082 from tsoding/1079
Alexey Kutepov [Mon, 23 Sep 2019 19:06:33 +0000 (02:06 +0700)]
Merge pull request #1082 from tsoding/1079

(#1079) Implement z reordering for LabelLayer

4 years ago(#1079) Implement undo support for z reordering of Label Layer
rexim [Mon, 23 Sep 2019 17:39:45 +0000 (00:39 +0700)]
(#1079) Implement undo support for z reordering of Label Layer

4 years ago(#1079) Implement z reordering for LabelLayer
rexim [Mon, 23 Sep 2019 17:11:07 +0000 (00:11 +0700)]
(#1079) Implement z reordering for LabelLayer

4 years ago(#1079) selected -> selection
rexim [Mon, 23 Sep 2019 16:52:20 +0000 (23:52 +0700)]
(#1079) selected -> selection

4 years agoMerge pull request #1081 from tsoding/1080
Alexey Kutepov [Mon, 23 Sep 2019 17:39:32 +0000 (00:39 +0700)]
Merge pull request #1081 from tsoding/1080

(#1080) Implement z reordering for PointLayer

4 years agoRemove TODO(#1080)
rexim [Mon, 23 Sep 2019 16:46:02 +0000 (23:46 +0700)]
Remove TODO(#1080)

4 years ago(#1080) Add support for z reordering to undo history of point layer
rexim [Mon, 23 Sep 2019 16:45:27 +0000 (23:45 +0700)]
(#1080) Add support for z reordering to undo history of point layer

4 years ago(#1080) Implement z reordering for PointLayer
rexim [Mon, 23 Sep 2019 16:41:31 +0000 (23:41 +0700)]
(#1080) Implement z reordering for PointLayer

4 years agoMerge pull request #1078 from tsoding/1075
Alexey Kutepov [Mon, 23 Sep 2019 14:21:30 +0000 (21:21 +0700)]
Merge pull request #1078 from tsoding/1075

 (#1075) Add z reordering support to RectLayer

4 years ago(#1075) Remove dead code
rexim [Mon, 23 Sep 2019 01:27:20 +0000 (08:27 +0700)]
(#1075) Remove dead code

4 years agoAdd TODO(#1080)
rexim [Mon, 23 Sep 2019 00:24:06 +0000 (07:24 +0700)]
Add TODO(#1080)

4 years agoAdd TODO(#1079)
rexim [Mon, 23 Sep 2019 00:24:05 +0000 (07:24 +0700)]
Add TODO(#1079)

4 years agoRemove TODO(#863)
rexim [Mon, 23 Sep 2019 00:22:07 +0000 (07:22 +0700)]
Remove TODO(#863)

4 years agoRemove TODO(#683)
rexim [Mon, 23 Sep 2019 00:22:07 +0000 (07:22 +0700)]
Remove TODO(#683)

4 years agoRemove TODO(#1051)
rexim [Mon, 23 Sep 2019 00:22:07 +0000 (07:22 +0700)]
Remove TODO(#1051)

4 years agoRemove TODO(#956)
rexim [Mon, 23 Sep 2019 00:22:07 +0000 (07:22 +0700)]
Remove TODO(#956)

4 years agoRemove TODO(#1050)
rexim [Mon, 23 Sep 2019 00:22:07 +0000 (07:22 +0700)]
Remove TODO(#1050)

4 years agoRemove TODO(#1021)
rexim [Mon, 23 Sep 2019 00:22:07 +0000 (07:22 +0700)]
Remove TODO(#1021)

4 years ago(#1075) Additional work
rexim [Mon, 23 Sep 2019 00:21:04 +0000 (07:21 +0700)]
(#1075) Additional work

4 years ago(#1075) make rect_layer_swap_elements add action to history
rexim [Sun, 22 Sep 2019 19:46:11 +0000 (02:46 +0700)]
(#1075) make rect_layer_swap_elements add action to history

4 years ago(#1075) point_layer_create_undo_context -> create_undo_context
rexim [Sun, 22 Sep 2019 19:41:56 +0000 (02:41 +0700)]
(#1075) point_layer_create_undo_context -> create_undo_context

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