]> git.lizzy.rs Git - nothing.git/log
nothing.git
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

4 years agoPrevent writing too much
Nils ANDRÉ-CHANG [Sun, 25 Aug 2019 16:21:55 +0000 (17:21 +0100)]
Prevent writing too much

4 years ago(#1034) remove dead code
rexim [Sun, 25 Aug 2019 16:19:03 +0000 (23:19 +0700)]
(#1034) remove dead code

4 years agoMerge pull request #1033 from tsoding/1003
Alexey Kutepov [Sat, 24 Aug 2019 21:20:35 +0000 (04:20 +0700)]
Merge pull request #1033 from tsoding/1003

(#1003) Add full undo support for RectLayer

4 years agoRemove TODO(#1002)
rexim [Sat, 24 Aug 2019 19:42:40 +0000 (02:42 +0700)]
Remove TODO(#1002)

4 years agoRemove TODO(#1012)
rexim [Sat, 24 Aug 2019 19:42:40 +0000 (02:42 +0700)]
Remove TODO(#1012)

4 years agoAdd TODO(#1035)
rexim [Sat, 24 Aug 2019 19:40:38 +0000 (02:40 +0700)]
Add TODO(#1035)

4 years agoAdd TODO(#1034)
rexim [Sat, 24 Aug 2019 19:40:37 +0000 (02:40 +0700)]
Add TODO(#1034)

4 years ago(#1003) id renaming problem
rexim [Sat, 24 Aug 2019 19:39:17 +0000 (02:39 +0700)]
(#1003) id renaming problem

4 years ago(#1003) Add undo rename id support to RectLayer
rexim [Sat, 24 Aug 2019 19:36:49 +0000 (02:36 +0700)]
(#1003) Add undo rename id support to RectLayer

4 years ago(#1003) Single context idea
rexim [Sat, 24 Aug 2019 19:28:15 +0000 (02:28 +0700)]
(#1003) Single context idea

4 years ago(#1003) Reuse same context and revert for both Move and Resize
rexim [Sat, 24 Aug 2019 19:26:14 +0000 (02:26 +0700)]
(#1003) Reuse same context and revert for both Move and Resize

4 years ago(#1003) Add undo resize support for RectLayer
rexim [Sat, 24 Aug 2019 19:23:07 +0000 (02:23 +0700)]
(#1003) Add undo resize support for RectLayer

4 years ago(#1003) Add undo move support to RectLayer
rexim [Sat, 24 Aug 2019 18:59:52 +0000 (01:59 +0700)]
(#1003) Add undo move support to RectLayer

4 years ago(#1003) Implement undo color for RectLayer
rexim [Sat, 24 Aug 2019 18:37:47 +0000 (01:37 +0700)]
(#1003) Implement undo color for RectLayer

4 years ago(#1003) Implement undo delete support for RectLayer
rexim [Sat, 24 Aug 2019 17:52:57 +0000 (00:52 +0700)]
(#1003) Implement undo delete support for RectLayer

4 years ago(#1003) Undo create support for RectLayer
rexim [Sat, 24 Aug 2019 17:19:03 +0000 (00:19 +0700)]
(#1003) Undo create support for RectLayer

4 years agoMerge pull request #1029 from tsoding/1012
Alexey Kutepov [Sat, 24 Aug 2019 17:54:05 +0000 (00:54 +0700)]
Merge pull request #1029 from tsoding/1012

(#1012) Add undo history support to BackgroundLayer

4 years ago(#1012) try to fix the MSVC Windows build
rexim [Sat, 24 Aug 2019 17:21:20 +0000 (00:21 +0700)]
(#1012) try to fix the MSVC Windows build

4 years agoAdd TODO(#1030)
rexim [Sat, 24 Aug 2019 16:49:45 +0000 (23:49 +0700)]
Add TODO(#1030)

4 years ago(#1012) Add undo history support to BackgroundLayer
rexim [Sat, 24 Aug 2019 16:48:34 +0000 (23:48 +0700)]
(#1012) Add undo history support to BackgroundLayer

4 years agoMerge pull request #1028 from destroycomputers/issue/1019
Alexey Kutepov [Sun, 18 Aug 2019 22:54:06 +0000 (05:54 +0700)]
Merge pull request #1028 from destroycomputers/issue/1019

Explicitly set numeric locale to "C". Fixes tsoding/nothing#1019

4 years agoMerge pull request #1027 from tsoding/1013
Alexey Kutepov [Sun, 18 Aug 2019 22:53:18 +0000 (05:53 +0700)]
Merge pull request #1027 from tsoding/1013

 (#1013) Add undo color support to PlayerLayer

4 years agoExplicitly set numeric locale to "C". Fixes tsoding/nothing#1019
destroycomputers [Sun, 18 Aug 2019 20:55:24 +0000 (23:55 +0300)]
Explicitly set numeric locale to "C". Fixes tsoding/nothing#1019

SDL_Init sets current locale to system locale, which
alters default floating-point format and results in
level definition parsing failure due to invalid floating
point value format.

4 years ago(#1013) Use create_action in PointLayer
rexim [Sun, 18 Aug 2019 19:02:17 +0000 (02:02 +0700)]
(#1013) Use create_action in PointLayer

4 years ago(#1013) Make create_action support empty context
rexim [Sun, 18 Aug 2019 18:25:15 +0000 (01:25 +0700)]
(#1013) Make create_action support empty context

4 years ago(#1013) Simplify Undo relocation in PlayerLayer
rexim [Sun, 18 Aug 2019 18:17:48 +0000 (01:17 +0700)]
(#1013) Simplify Undo relocation in PlayerLayer

4 years ago(#1013) Introduce create_action
rexim [Sun, 18 Aug 2019 18:11:34 +0000 (01:11 +0700)]
(#1013) Introduce create_action

4 years ago(#1013) Add undo color support to PlayerLayer
rexim [Sun, 18 Aug 2019 18:03:28 +0000 (01:03 +0700)]
(#1013) Add undo color support to PlayerLayer

4 years agoMerge pull request #1026 from tsoding/1010
Alexey Kutepov [Sun, 18 Aug 2019 18:00:42 +0000 (01:00 +0700)]
Merge pull request #1026 from tsoding/1010

 (#1010) Make LayerPicker adaptable

4 years ago(#1010) Make LayerPicker adaptable
rexim [Sun, 18 Aug 2019 17:39:30 +0000 (00:39 +0700)]
(#1010) Make LayerPicker adaptable

4 years ago(#1010) Make extrema functions inlinable
rexim [Sun, 18 Aug 2019 17:39:11 +0000 (00:39 +0700)]
(#1010) Make extrema functions inlinable

4 years agoMerge pull request #1017 from The-Renaissance/audio
Alexey Kutepov [Sun, 18 Aug 2019 16:57:47 +0000 (23:57 +0700)]
Merge pull request #1017 from The-Renaissance/audio

(#863) Sound_samples is not implemented

4 years agoAdd TODO(#1025)
rexim [Sun, 18 Aug 2019 16:35:21 +0000 (23:35 +0700)]
Add TODO(#1025)

4 years agoAdd TODO(#1024)
rexim [Sun, 18 Aug 2019 16:35:20 +0000 (23:35 +0700)]
Add TODO(#1024)

4 years agoAdd TODO(#1023)
rexim [Sun, 18 Aug 2019 16:35:19 +0000 (23:35 +0700)]
Add TODO(#1023)

4 years agoAdd TODO(#1022)
rexim [Sun, 18 Aug 2019 16:35:19 +0000 (23:35 +0700)]
Add TODO(#1022)

4 years agoFix TODO formatting
rexim [Sun, 18 Aug 2019 16:20:34 +0000 (23:20 +0700)]
Fix TODO formatting

4 years agoGets rid of "actual" variable
The-Renaissance [Sat, 17 Aug 2019 22:32:11 +0000 (18:32 -0400)]
Gets rid of "actual" variable

From https://wiki.libsdl.org/SDL_CloseAudioDevice#Code_Examples you can
actually pass NULL to the obtained parameter and it will modify the
desired parameter struct in place (if it's allowed to do so)

4 years agoChange sound_samples_play_sound behavior
The-Renaissance [Sat, 17 Aug 2019 22:19:48 +0000 (18:19 -0400)]
Change sound_samples_play_sound behavior

When sound_samples_play_sound fails to queue audio of a certain
file, it warns but does not fail horribly since this is not a fatal
error

4 years agoImplement changes requested by @rexim
The-Renaissance [Sat, 17 Aug 2019 22:03:54 +0000 (18:03 -0400)]
Implement changes requested by @rexim

4 years agoMerge pull request #1020 from tsoding/1010
Alexey Kutepov [Sat, 17 Aug 2019 20:09:36 +0000 (03:09 +0700)]
Merge pull request #1020 from tsoding/1010

 (#1010) Make ColorPicker adaptive

4 years agoAdd TODO(#1021)
rexim [Sat, 17 Aug 2019 19:23:04 +0000 (02:23 +0700)]
Add TODO(#1021)

4 years ago(#1010) TODO
rexim [Sat, 17 Aug 2019 18:55:01 +0000 (01:55 +0700)]
(#1010) TODO

4 years ago(#1010) define COLOR_PICKER_HEIGHT in terms of COLOR_SLIDER_HEIGHT
rexim [Sat, 17 Aug 2019 18:54:19 +0000 (01:54 +0700)]
(#1010) define COLOR_PICKER_HEIGHT in terms of COLOR_SLIDER_HEIGHT

4 years ago(#1010) Make ColorPicker adaptive
rexim [Sat, 17 Aug 2019 18:51:31 +0000 (01:51 +0700)]
(#1010) Make ColorPicker adaptive

4 years agoChange sound played at hitting goal back to Nothing.wav
The-Renaissance [Thu, 15 Aug 2019 20:19:33 +0000 (16:19 -0400)]
Change sound played at hitting goal back to Nothing.wav

4 years agoPerformance optimization
The-Renaissance [Thu, 15 Aug 2019 02:33:51 +0000 (22:33 -0400)]
Performance optimization

Optimization by not using Dynarray for audio buffer array.

4 years agoRestructure sound_samples.c
The-Renaissance [Wed, 14 Aug 2019 21:11:23 +0000 (17:11 -0400)]
Restructure sound_samples.c

4 years agoImplement Sound_samples
The-Renaissance [Wed, 14 Aug 2019 19:57:52 +0000 (15:57 -0400)]
Implement Sound_samples

This commit resolves issue #863. Finally, some good f*cking sound.

4 years agoMerge pull request #1015 from tsoding/1010
Alexey Kutepov [Mon, 12 Aug 2019 18:52:21 +0000 (01:52 +0700)]
Merge pull request #1015 from tsoding/1010

(#1010) Make position of ColorPicker customizable

4 years ago(#1010) Make position of ColorPicker customizable
rexim [Sun, 11 Aug 2019 19:29:10 +0000 (02:29 +0700)]
(#1010) Make position of ColorPicker customizable

4 years agoMerge pull request #1011 from tsoding/1002
Alexey Kutepov [Sun, 11 Aug 2019 19:20:09 +0000 (02:20 +0700)]
Merge pull request #1011 from tsoding/1002

(#1002) Full undo support for PointLayer

4 years agoRemove TODO(#1001)
rexim [Sun, 11 Aug 2019 18:53:45 +0000 (01:53 +0700)]
Remove TODO(#1001)

4 years agoRemove TODO(#1000)
rexim [Sun, 11 Aug 2019 18:53:45 +0000 (01:53 +0700)]
Remove TODO(#1000)

4 years agoAdd TODO(#1014)
rexim [Sun, 11 Aug 2019 18:43:47 +0000 (01:43 +0700)]
Add TODO(#1014)

4 years agoAdd TODO(#1013)
rexim [Sun, 11 Aug 2019 18:43:47 +0000 (01:43 +0700)]
Add TODO(#1013)

4 years agoAdd TODO(#1012)
rexim [Sun, 11 Aug 2019 18:43:46 +0000 (01:43 +0700)]
Add TODO(#1012)

4 years ago(#1002) Implement undo id rename for PointLayer
rexim [Sun, 11 Aug 2019 18:33:45 +0000 (01:33 +0700)]
(#1002) Implement undo id rename for PointLayer