1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Add aquatinspitz support to trianglix.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-03-21 00:39:02 +01:00
parent 0eeb9d1e56
commit ee9ec2eda1

View file

@ -558,10 +558,12 @@ public:
class action** games::list_actions(size_t* num_actions) class action** games::list_actions(size_t* num_actions)
{ {
class action** actions = new action*[2 + 1]; class action** actions = new action*[3 + 1];
size_t index = 0; size_t index = 0;
if ( has_path_executable("asteroids") ) if ( has_path_executable("asteroids") )
actions[index++] = new action("Asteroids", new path_program("asteroids")); actions[index++] = new action("Asteroids", new path_program("asteroids"));
if ( has_path_executable("aquatinspitz") )
actions[index++] = new action("Aquatinspitz", new path_program("aquatinspitz"));
if ( has_path_executable("quake") ) if ( has_path_executable("quake") )
actions[index++] = new action("Quake", new path_program("quake")); actions[index++] = new action("Quake", new path_program("quake"));
actions[index++] = new action("Back", parent_object); actions[index++] = new action("Back", parent_object);