Commit 1037c15
committed
- add action event.timeout
- add function to pack ImageContainer and return image + rects
- add getTimeUVal and tests
- add LazyImageContainer
- add mingw presets
- add option to draw whitespace in BitmapFont
- add panel.AddDrawable action
- add properties to Circle and Scrollable
- add rectpack2D library
- add reset to game constructor
- add saveBytes function
- add smooth fonts option
- add spdlog support
- add splitStringView
- add startPosition and bytesToRead properties to file resource
- add tests using Catch2
- fix errors caught with tests
- fix loadingScreen showing background when StretchToFit is off
- make getColorVal function work with json arrays of RGBA
- make ParseAnimation read group and direction indexes
- make Scrollable move in different directions
- make Surface accept parameter not to be even aligned in size
- refactor
- refactor BitmapFontTexturePack to use ImageUtils::packImages
- refactor GameUtils replace string functions to reuse the same code
- refactor GameUtils::getTime to support negative numbers
- refactor JsonUtils::replaceValuesWithGameVar to use same code as GameUtils's replace functions
- refactor TexturePacks
- remove custom vcpkg ports
- remove DrawableText constructor from Text and replace it with Font constructor
- remove endsWith function (use standard C++)
- remove extra splitString and make existing accept multiple delimiters
- remove getFramesKey/Val and use getRangeKey/Val
- remove ParseUtilsIdx
- remove ReverseIterable.h and use std::ranges
- rename splitText to wordWrap
- update BitmapFontTexturePack to support ImageContainers
- update CMake files
- update documentation
- update dr_wav.h
- update endian
- update getTime implementation
- update menu.setFont and menu.setAction to set both for all menu items by default
- update NumberVector to load numbers separated by commas and whitespace too
- update palette to load text based palettes
- update ParseTexturePackIndexes.h to support texture index ranges
- update ParseTexturePackIndexes.h to support texture indexes in reverse order
- update sfeMovie to support ffmpeg 4, 5 and 6
- update SFML to official 2.6.0 release
- use getSizeKey instead of getVector2fKey (rounds floats)
- use getTimeU instead of GetTime
- use small_vector instead of element + vector
- use std::byte in FileBytes1 parent ace9adc commit 1037c15
333 files changed
Lines changed: 33174 additions & 3649 deletions
File tree
- .github/workflows
- docs
- drawables
- resources
- src
- Game
- Actions
- Drawables
- Utils
- Json
- Parser
- Actions
- Drawables
- Game
- Resources
- TexturePacks
- Utils
- Resources
- ImageContainers
- TexturePacks
- SFML
- sfeMovie
- Utils
- endian/detail
- rectpack2D
- test
- data
- dir1
- subdir1
- subdir2
- dir2
- json
- texturePacks
- res
- font
- palette
- texture
- src
- Game
- Drawables
- Utils
- Json
- Parser
- Resources
- TexturePacks
- Utils
- Resources
- ImageContainers
- TexturePacks
- SFML
- TestUtils
- Utils
- vcpkg/ports/sfml
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | 6 | | |
9 | 7 | | |
10 | | - | |
| 8 | + | |
11 | 9 | | |
12 | 10 | | |
13 | | - | |
| 11 | + | |
14 | 12 | | |
15 | | - | |
| 13 | + | |
16 | 14 | | |
17 | | - | |
| 15 | + | |
18 | 16 | | |
19 | 17 | | |
20 | | - | |
21 | | - | |
| 18 | + | |
| 19 | + | |
22 | 20 | | |
23 | | - | |
24 | 21 | | |
25 | | - | |
| 22 | + | |
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
30 | 27 | | |
31 | 28 | | |
32 | 29 | | |
33 | | - | |
| 30 | + | |
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | | - | |
| 14 | + | |
13 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
17 | 24 | | |
18 | | - | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | | - | |
| 28 | + | |
22 | 29 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
46 | 43 | | |
47 | | - | |
48 | | - | |
| 44 | + | |
49 | 45 | | |
50 | | - | |
51 | | - | |
| 46 | + | |
52 | 47 | | |
53 | 48 | | |
54 | 49 | | |
| |||
57 | 52 | | |
58 | 53 | | |
59 | 54 | | |
60 | | - | |
61 | | - | |
| 55 | + | |
| 56 | + | |
62 | 57 | | |
63 | 58 | | |
64 | 59 | | |
65 | | - | |
| 60 | + | |
66 | 61 | | |
67 | 62 | | |
68 | | - | |
| 63 | + | |
69 | 64 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 65 | + | |
| 66 | + | |
73 | 67 | | |
74 | | - | |
75 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
76 | 71 | | |
77 | 72 | | |
78 | | - | |
79 | | - | |
| 73 | + | |
80 | 74 | | |
81 | 75 | | |
82 | 76 | | |
| |||
88 | 82 | | |
89 | 83 | | |
90 | 84 | | |
91 | | - | |
92 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 14 | + | |
| 15 | + | |
23 | 16 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 17 | + | |
| 18 | + | |
27 | 19 | | |
28 | | - | |
29 | | - | |
| 20 | + | |
| 21 | + | |
30 | 22 | | |
31 | | - | |
32 | | - | |
| 23 | + | |
| 24 | + | |
33 | 25 | | |
34 | 26 | | |
35 | 27 | | |
36 | 28 | | |
37 | 29 | | |
38 | 30 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 31 | + | |
| 32 | + | |
42 | 33 | | |
43 | 34 | | |
44 | 35 | | |
| |||
50 | 41 | | |
51 | 42 | | |
52 | 43 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 44 | | |
57 | 45 | | |
58 | | - | |
| 46 | + | |
| 47 | + | |
59 | 48 | | |
60 | 49 | | |
61 | 50 | | |
62 | | - | |
| 51 | + | |
63 | 52 | | |
64 | 53 | | |
65 | 54 | | |
66 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
67 | 59 | | |
68 | 60 | | |
69 | | - | |
70 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
0 commit comments