Skip to content

Commit

Permalink
Put cursornormal in springcontent
Browse files Browse the repository at this point in the history
Currently the minimal Recoil game consists of two files:
* `modinfo.lua`
* `anims/cursornormal_0.bmp` or equivalent.

The former is fundamentally required to even be recognized
as a game; the latter is the only file that causes a crash
if missing. Everything else, even if technically needed, is
already provided by springcontent which cannot be opted out
of.

A default cursor is distributed within `cursors.sdz`, which
is not actually a mandatory dependency (like springcontent).

There is little reason not to provide the other cursors by
default as well, but that needs some design thought since
there are multiple approaches to that:
* become a dependency of springcontent, since there is
  already a precedent with spring bitmaps.
* become a mandatory dependency added by engine, same
  as springcontent.
* move all files to springcontent and leave cursors.sdz
  as just an empty husk.

Anyway, right now it's only a question of the one mandatory
file, so archives don't yet come into play.
  • Loading branch information
sprunk authored and lhog committed Sep 17, 2023
1 parent fe83213 commit e521e13
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion cont/base/cursors/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ set(FILES
anims/cursorreclamate_6.bmp
anims/cursorcapture_1.bmp
anims/cursorreclamate_8.bmp
anims/cursornormal_0.bmp
anims/cursorunload_7.bmp
anims/cursorrepair_5.bmp
anims/cursorrevive_1.bmp
Expand Down
1 change: 1 addition & 0 deletions cont/base/springcontent/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ list(APPEND FILES
gamedata/resources_map.lua
gamedata/sounds.lua
gamedata/icontypes.lua
anims/cursornormal_0.bmp
anims/cursortime_0.png
anims/cursordwatch_2.png
anims/cursordwatch.txt
Expand Down
File renamed without changes.

0 comments on commit e521e13

Please sign in to comment.