From 29d8e58d69c46feecf172707b8e3bb0e38960a0c Mon Sep 17 00:00:00 2001 From: Edmundo Ruiz Date: Sat, 6 Sep 2014 10:58:36 -0700 Subject: [PATCH] Renamed AGS Script to Adventure Game Studio since the language is unique to the app. --- lib/linguist/languages.yml | 2 +- lib/linguist/samples.json | 726 +++++++++--------- .../GlobalScript.asc | 0 .../GlobalScript.ash | 0 .../KeyboardMovement_102.asc | 0 .../KeyboardMovement_102.ash | 0 6 files changed, 364 insertions(+), 364 deletions(-) rename samples/{AGS Script => Adventure Game Studio}/GlobalScript.asc (100%) rename samples/{AGS Script => Adventure Game Studio}/GlobalScript.ash (100%) rename samples/{AGS Script => Adventure Game Studio}/KeyboardMovement_102.asc (100%) rename samples/{AGS Script => Adventure Game Studio}/KeyboardMovement_102.ash (100%) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index a6f0054b..164cd90c 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -28,7 +28,7 @@ ABAP: extensions: - .abap -AGS Script: +Adventure Game Studio: type: programming lexer: C++ color: "#B9D9FF" diff --git a/lib/linguist/samples.json b/lib/linguist/samples.json index 559ef894..545d2dbf 100644 --- a/lib/linguist/samples.json +++ b/lib/linguist/samples.json @@ -3,10 +3,6 @@ "ABAP": [ ".abap" ], - "AGS Script": [ - ".asc", - ".ash" - ], "APL": [ ".apl" ], @@ -16,6 +12,10 @@ ".hats", ".sats" ], + "Adventure Game Studio": [ + ".asc", + ".ash" + ], "Agda": [ ".agda" ], @@ -1116,362 +1116,6 @@ "pos": 2, "endclass.": 1 }, - "AGS Script": { - "function": 54, - "initialize_control_panel": 2, - "(": 281, - ")": 282, - "{": 106, - "gPanel.Centre": 1, - ";": 235, - "gRestartYN.Centre": 1, - "if": 96, - "IsSpeechVoxAvailable": 3, - "lblVoice.Visible": 1, - "false": 26, - "btnVoice.Visible": 1, - "sldVoice.Visible": 1, - "}": 107, - "else": 44, - "SetVoiceMode": 6, - "eSpeechVoiceAndText": 4, - "btnVoice.Text": 9, - "System.SupportsGammaControl": 3, - "sldGamma.Visible": 1, - "lblGamma.Visible": 1, - "//And": 1, - "now": 1, - "set": 7, - "all": 2, - "the": 15, - "defaults": 1, - "System.Volume": 5, - "sldAudio.Value": 3, - "SetGameSpeed": 3, - "sldSpeed.Value": 3, - "sldVoice.Value": 3, - "SetSpeechVolume": 3, - "System.Gamma": 3, - "sldGamma.Value": 3, - "game_start": 1, - "KeyboardMovement.SetMode": 1, - "eKeyboardMovement_Tapping": 3, - "repeatedly_execute": 2, - "IsGamePaused": 4, - "return": 8, - "repeatedly_execute_always": 1, - "show_inventory_window": 3, - "gInventory.Visible": 2, - "true": 18, - "mouse.Mode": 13, - "eModeInteract": 3, - "mouse.UseModeGraphic": 8, - "eModePointer": 8, - "show_save_game_dialog": 3, - "gSaveGame.Visible": 3, - "lstSaveGamesList.FillSaveGameList": 2, - "lstSaveGamesList.ItemCount": 3, - "txtNewSaveName.Text": 5, - "lstSaveGamesList.Items": 3, - "[": 6, - "]": 6, - "gIconbar.Visible": 15, - "show_restore_game_dialog": 3, - "gRestoreGame.Visible": 3, - "lstRestoreGamesList.FillSaveGameList": 1, - "close_save_game_dialog": 4, - "mouse.UseDefaultGraphic": 9, - "close_restore_game_dialog": 4, - "on_key_press": 2, - "eKeyCode": 1, - "keycode": 27, - "eKeyEscape": 5, - "&&": 8, - "gRestartYN.Visible": 6, - "//Use": 1, - "ESC": 1, - "to": 14, - "cancel": 1, - "restart.": 1, - "gPanel.Visible": 11, - "eKeyReturn": 1, - "RestartGame": 2, - "||": 12, - "IsInterfaceEnabled": 3, - "eKeyCtrlQ": 1, - "QuitGame": 3, - "//": 66, - "Ctrl": 1, - "-": 217, - "Q": 1, - "eKeyF5": 1, - "F5": 1, - "eKeyF7": 1, - "F7": 1, - "eKeyF9": 1, - "eKeyF12": 1, - "SaveScreenShot": 1, - "F12": 1, - "eKeyTab": 1, - "Tab": 1, - "show": 1, - "inventory": 2, - "eModeWalkto": 2, - "//Notice": 1, - "this": 1, - "alternate": 1, - "way": 1, - "indicate": 1, - "keycodes.": 1, - "eModeLookat": 1, - "//Note": 1, - "that": 1, - "we": 1, - "do": 1, - "here": 1, - "is": 10, - "modes.": 1, - "//If": 1, - "you": 1, - "want": 1, - "something": 1, - "happen": 1, - "such": 1, - "as": 2, - "GUI": 3, - "buttons": 1, - "highlighting": 1, - "eModeTalkto": 2, - "//you": 1, - "I": 1, - "P": 1, - "G": 1, - "t": 1, - "allow": 1, - "mouse": 2, - "click": 1, - "button": 33, - "eMouseLeft": 4, - "ProcessClick": 2, - "mouse.x": 2, - "mouse.y": 2, - "eMouseRight": 1, - "eMouseWheelSouth": 1, - "mouse.SelectNextMode": 1, - "eMouseMiddle": 1, - "eMouseWheelNorth": 1, - "player.ActiveInventory": 2, - "null": 2, - "//...and": 1, - "player": 13, - "has": 1, - "a": 1, - "selected": 1, - "item": 1, - "mode": 10, - "UseInv.": 1, - "eModeUseinv": 2, - "interface_click": 1, - "int": 18, - "interface": 3, - "btnInvUp_Click": 1, - "GUIControl": 31, - "*control": 31, - "MouseButton": 26, - "invCustomInv.ScrollUp": 1, - "btnInvDown_Click": 1, - "invCustomInv.ScrollDown": 1, - "btnInvOK_Click": 1, - "They": 2, - "pressed": 4, - "OK": 1, - "close": 1, - "btnInvSelect_Click": 1, - "SELECT": 1, - "so": 1, - "switch": 1, - "Get": 1, - "cursor": 1, - "But": 1, - "override": 1, - "appearance": 1, - "look": 1, - "like": 1, - "arrow": 9, - "btnIconInv_Click": 1, - "btnIconCurInv_Click": 1, - "btnIconSave_Click": 2, - "btnIconLoad_Click": 2, - "btnIconExit_Click": 1, - "btnIconAbout_Click": 1, - "cEgo_Look": 1, - "Display": 4, - "cEgo_Interact": 1, - "cEgo_Talk": 1, - "//START": 1, - "OF": 2, - "CONTROL": 2, - "PANEL": 2, - "FUNCTIONS": 2, - "btnSave_OnClick": 1, - "Wait": 3, - "btnIconSave": 1, - "gControl_OnClick": 1, - "*theGui": 1, - "btnAbout_OnClick": 1, - "btnQuit_OnClick": 1, - "btnLoad_OnClick": 1, - "btnIconLoad": 1, - "btnResume_OnClick": 1, - "sldAudio_OnChange": 1, - "sldVoice_OnChange": 1, - "btnVoice_OnClick": 1, - "eSpeechVoiceOnly": 1, - "eSpeechTextOnly": 1, - "sldGamma_OnChange": 1, - "btnDefault_OnClick": 1, - "//END": 1, - "dialog_request": 1, - "param": 1, - "sldSpeed_OnChange": 1, - "btnRestart_OnClick": 1, - "btnRestartYes_OnClick": 1, - "btnRestartNo_OnClick": 1, - "btnCancelSave_OnClick": 1, - "btnSaveGame_OnClick": 2, - "gameSlotToSaveInto": 3, - "+": 7, - "i": 5, - "while": 1, - "<": 1, - "lstSaveGamesList.SaveGameSlots": 2, - "SaveGameSlot": 1, - "btnCancelRestore_OnClick": 1, - "btnRestoreGame_OnClick": 1, - "lstRestoreGamesList.SelectedIndex": 2, - "RestoreGameSlot": 1, - "lstRestoreGamesList.SaveGameSlots": 1, - "lstSaveGamesList_OnSelectionCh": 1, - "lstSaveGamesList.SelectedIndex": 3, - "txtNewSaveName_OnActivate": 1, - "control": 2, - "btnDeleteSave_OnClick": 1, - "DeleteSaveSlot": 1, - "//****************************************************************************************************": 8, - "#define": 2, - "DISTANCE": 25, - "distance": 1, - "walks": 1, - "in": 1, - "Tapping": 2, - "before": 1, - "he": 1, - "stops": 1, - "enum": 2, - "KeyboardMovement_Directions": 4, - "eKeyboardMovement_Stop": 9, - "eKeyboardMovement_DownLeft": 5, - "eKeyboardMovement_Down": 5, - "eKeyboardMovement_DownRight": 5, - "eKeyboardMovement_Left": 5, - "eKeyboardMovement_Right": 5, - "eKeyboardMovement_UpLeft": 5, - "eKeyboardMovement_Up": 5, - "eKeyboardMovement_UpRight": 5, - "KeyboardMovement_KeyDown": 5, - "down": 9, - "KeyboardMovement_KeyLeft": 5, - "left": 4, - "KeyboardMovement_KeyRight": 5, - "right": 5, - "KeyboardMovement_KeyUp": 5, - "up": 4, - "KeyboardMovement_KeyDownRight": 3, - "PgDn": 2, - "numpad": 8, - "KeyboardMovement_KeyUpRight": 3, - "PgUp": 2, - "KeyboardMovement_KeyDownLeft": 3, - "End": 2, - "KeyboardMovement_KeyUpLeft": 3, - "Home": 2, - "KeyboardMovement_KeyStop": 3, - "KeyboardMovement_Modes": 4, - "KeyboardMovement_Mode": 4, - "eKeyboardMovement_None": 2, - "stores": 2, - "current": 8, - "keyboard": 1, - "disabled": 5, - "by": 1, - "default": 1, - "KeyboardMovement_CurrentDirection": 7, - "walking": 1, - "direction": 22, - "of": 6, - "character": 11, - "static": 2, - "KeyboardMovement": 2, - "SetMode": 2, - "Pressing": 1, - "eKeyboardMovement_Pressing": 2, - "player.on": 2, - "game": 2, - "paused": 2, - "module": 2, - "or": 8, - "hidden": 2, - "quit": 2, - "newdirection": 43, - "declare": 4, - "variable": 2, - "storing": 4, - "new": 19, - "get": 2, - "IsKeyPressed": 17, - "&": 4, - "arrows": 4, - "numeric": 2, - "pad": 2, - "held": 4, - "Down": 2, - "Right": 2, - "none": 1, - "above": 2, - "it": 1, - "stop": 7, - "regardless": 1, - "whether": 1, - "some": 1, - "are": 1, - "different": 2, - "from": 2, - "player.StopMoving": 3, - "Stop": 4, - "command": 4, - "movement": 2, - "NOT": 2, - "dx": 20, - "dy": 20, - "variables": 2, - "walk": 4, - "coordinates": 4, - "player.WalkStraight": 2, - "player.x": 2, - "player.y": 2, - "eNoBlock": 2, - "update": 3, - "key": 2, - "same": 1, - "on_event": 1, - "EventType": 1, - "event": 2, - "data": 1, - "eEventLeaveRoom": 1, - "KeyboardMovement_VERSION": 1, - "struct": 1, - "import": 1 - }, "APL": { "You": 1, "can": 2, @@ -2057,6 +1701,362 @@ "Yoneda_bool_list0": 3, "myboolist1": 2 }, + "Adventure Game Studio": { + "function": 54, + "initialize_control_panel": 2, + "(": 281, + ")": 282, + "{": 106, + "gPanel.Centre": 1, + ";": 235, + "gRestartYN.Centre": 1, + "if": 96, + "IsSpeechVoxAvailable": 3, + "lblVoice.Visible": 1, + "false": 26, + "btnVoice.Visible": 1, + "sldVoice.Visible": 1, + "}": 107, + "else": 44, + "SetVoiceMode": 6, + "eSpeechVoiceAndText": 4, + "btnVoice.Text": 9, + "System.SupportsGammaControl": 3, + "sldGamma.Visible": 1, + "lblGamma.Visible": 1, + "//And": 1, + "now": 1, + "set": 7, + "all": 2, + "the": 15, + "defaults": 1, + "System.Volume": 5, + "sldAudio.Value": 3, + "SetGameSpeed": 3, + "sldSpeed.Value": 3, + "sldVoice.Value": 3, + "SetSpeechVolume": 3, + "System.Gamma": 3, + "sldGamma.Value": 3, + "game_start": 1, + "KeyboardMovement.SetMode": 1, + "eKeyboardMovement_Tapping": 3, + "repeatedly_execute": 2, + "IsGamePaused": 4, + "return": 8, + "repeatedly_execute_always": 1, + "show_inventory_window": 3, + "gInventory.Visible": 2, + "true": 18, + "mouse.Mode": 13, + "eModeInteract": 3, + "mouse.UseModeGraphic": 8, + "eModePointer": 8, + "show_save_game_dialog": 3, + "gSaveGame.Visible": 3, + "lstSaveGamesList.FillSaveGameList": 2, + "lstSaveGamesList.ItemCount": 3, + "txtNewSaveName.Text": 5, + "lstSaveGamesList.Items": 3, + "[": 6, + "]": 6, + "gIconbar.Visible": 15, + "show_restore_game_dialog": 3, + "gRestoreGame.Visible": 3, + "lstRestoreGamesList.FillSaveGameList": 1, + "close_save_game_dialog": 4, + "mouse.UseDefaultGraphic": 9, + "close_restore_game_dialog": 4, + "on_key_press": 2, + "eKeyCode": 1, + "keycode": 27, + "eKeyEscape": 5, + "&&": 8, + "gRestartYN.Visible": 6, + "//Use": 1, + "ESC": 1, + "to": 14, + "cancel": 1, + "restart.": 1, + "gPanel.Visible": 11, + "eKeyReturn": 1, + "RestartGame": 2, + "||": 12, + "IsInterfaceEnabled": 3, + "eKeyCtrlQ": 1, + "QuitGame": 3, + "//": 66, + "Ctrl": 1, + "-": 217, + "Q": 1, + "eKeyF5": 1, + "F5": 1, + "eKeyF7": 1, + "F7": 1, + "eKeyF9": 1, + "eKeyF12": 1, + "SaveScreenShot": 1, + "F12": 1, + "eKeyTab": 1, + "Tab": 1, + "show": 1, + "inventory": 2, + "eModeWalkto": 2, + "//Notice": 1, + "this": 1, + "alternate": 1, + "way": 1, + "indicate": 1, + "keycodes.": 1, + "eModeLookat": 1, + "//Note": 1, + "that": 1, + "we": 1, + "do": 1, + "here": 1, + "is": 10, + "modes.": 1, + "//If": 1, + "you": 1, + "want": 1, + "something": 1, + "happen": 1, + "such": 1, + "as": 2, + "GUI": 3, + "buttons": 1, + "highlighting": 1, + "eModeTalkto": 2, + "//you": 1, + "I": 1, + "P": 1, + "G": 1, + "t": 1, + "allow": 1, + "mouse": 2, + "click": 1, + "button": 33, + "eMouseLeft": 4, + "ProcessClick": 2, + "mouse.x": 2, + "mouse.y": 2, + "eMouseRight": 1, + "eMouseWheelSouth": 1, + "mouse.SelectNextMode": 1, + "eMouseMiddle": 1, + "eMouseWheelNorth": 1, + "player.ActiveInventory": 2, + "null": 2, + "//...and": 1, + "player": 13, + "has": 1, + "a": 1, + "selected": 1, + "item": 1, + "mode": 10, + "UseInv.": 1, + "eModeUseinv": 2, + "interface_click": 1, + "int": 18, + "interface": 3, + "btnInvUp_Click": 1, + "GUIControl": 31, + "*control": 31, + "MouseButton": 26, + "invCustomInv.ScrollUp": 1, + "btnInvDown_Click": 1, + "invCustomInv.ScrollDown": 1, + "btnInvOK_Click": 1, + "They": 2, + "pressed": 4, + "OK": 1, + "close": 1, + "btnInvSelect_Click": 1, + "SELECT": 1, + "so": 1, + "switch": 1, + "Get": 1, + "cursor": 1, + "But": 1, + "override": 1, + "appearance": 1, + "look": 1, + "like": 1, + "arrow": 9, + "btnIconInv_Click": 1, + "btnIconCurInv_Click": 1, + "btnIconSave_Click": 2, + "btnIconLoad_Click": 2, + "btnIconExit_Click": 1, + "btnIconAbout_Click": 1, + "cEgo_Look": 1, + "Display": 4, + "cEgo_Interact": 1, + "cEgo_Talk": 1, + "//START": 1, + "OF": 2, + "CONTROL": 2, + "PANEL": 2, + "FUNCTIONS": 2, + "btnSave_OnClick": 1, + "Wait": 3, + "btnIconSave": 1, + "gControl_OnClick": 1, + "*theGui": 1, + "btnAbout_OnClick": 1, + "btnQuit_OnClick": 1, + "btnLoad_OnClick": 1, + "btnIconLoad": 1, + "btnResume_OnClick": 1, + "sldAudio_OnChange": 1, + "sldVoice_OnChange": 1, + "btnVoice_OnClick": 1, + "eSpeechVoiceOnly": 1, + "eSpeechTextOnly": 1, + "sldGamma_OnChange": 1, + "btnDefault_OnClick": 1, + "//END": 1, + "dialog_request": 1, + "param": 1, + "sldSpeed_OnChange": 1, + "btnRestart_OnClick": 1, + "btnRestartYes_OnClick": 1, + "btnRestartNo_OnClick": 1, + "btnCancelSave_OnClick": 1, + "btnSaveGame_OnClick": 2, + "gameSlotToSaveInto": 3, + "+": 7, + "i": 5, + "while": 1, + "<": 1, + "lstSaveGamesList.SaveGameSlots": 2, + "SaveGameSlot": 1, + "btnCancelRestore_OnClick": 1, + "btnRestoreGame_OnClick": 1, + "lstRestoreGamesList.SelectedIndex": 2, + "RestoreGameSlot": 1, + "lstRestoreGamesList.SaveGameSlots": 1, + "lstSaveGamesList_OnSelectionCh": 1, + "lstSaveGamesList.SelectedIndex": 3, + "txtNewSaveName_OnActivate": 1, + "control": 2, + "btnDeleteSave_OnClick": 1, + "DeleteSaveSlot": 1, + "//****************************************************************************************************": 8, + "#define": 2, + "DISTANCE": 25, + "distance": 1, + "walks": 1, + "in": 1, + "Tapping": 2, + "before": 1, + "he": 1, + "stops": 1, + "enum": 2, + "KeyboardMovement_Directions": 4, + "eKeyboardMovement_Stop": 9, + "eKeyboardMovement_DownLeft": 5, + "eKeyboardMovement_Down": 5, + "eKeyboardMovement_DownRight": 5, + "eKeyboardMovement_Left": 5, + "eKeyboardMovement_Right": 5, + "eKeyboardMovement_UpLeft": 5, + "eKeyboardMovement_Up": 5, + "eKeyboardMovement_UpRight": 5, + "KeyboardMovement_KeyDown": 5, + "down": 9, + "KeyboardMovement_KeyLeft": 5, + "left": 4, + "KeyboardMovement_KeyRight": 5, + "right": 5, + "KeyboardMovement_KeyUp": 5, + "up": 4, + "KeyboardMovement_KeyDownRight": 3, + "PgDn": 2, + "numpad": 8, + "KeyboardMovement_KeyUpRight": 3, + "PgUp": 2, + "KeyboardMovement_KeyDownLeft": 3, + "End": 2, + "KeyboardMovement_KeyUpLeft": 3, + "Home": 2, + "KeyboardMovement_KeyStop": 3, + "KeyboardMovement_Modes": 4, + "KeyboardMovement_Mode": 4, + "eKeyboardMovement_None": 2, + "stores": 2, + "current": 8, + "keyboard": 1, + "disabled": 5, + "by": 1, + "default": 1, + "KeyboardMovement_CurrentDirection": 7, + "walking": 1, + "direction": 22, + "of": 6, + "character": 11, + "static": 2, + "KeyboardMovement": 2, + "SetMode": 2, + "Pressing": 1, + "eKeyboardMovement_Pressing": 2, + "player.on": 2, + "game": 2, + "paused": 2, + "module": 2, + "or": 8, + "hidden": 2, + "quit": 2, + "newdirection": 43, + "declare": 4, + "variable": 2, + "storing": 4, + "new": 19, + "get": 2, + "IsKeyPressed": 17, + "&": 4, + "arrows": 4, + "numeric": 2, + "pad": 2, + "held": 4, + "Down": 2, + "Right": 2, + "none": 1, + "above": 2, + "it": 1, + "stop": 7, + "regardless": 1, + "whether": 1, + "some": 1, + "are": 1, + "different": 2, + "from": 2, + "player.StopMoving": 3, + "Stop": 4, + "command": 4, + "movement": 2, + "NOT": 2, + "dx": 20, + "dy": 20, + "variables": 2, + "walk": 4, + "coordinates": 4, + "player.WalkStraight": 2, + "player.x": 2, + "player.y": 2, + "eNoBlock": 2, + "update": 3, + "key": 2, + "same": 1, + "on_event": 1, + "EventType": 1, + "event": 2, + "data": 1, + "eEventLeaveRoom": 1, + "KeyboardMovement_VERSION": 1, + "struct": 1, + "import": 1 + }, "Agda": { "module": 3, "NatCat": 1, @@ -73110,9 +73110,9 @@ }, "language_tokens": { "ABAP": 1500, - "AGS Script": 2717, "APL": 42, "ATS": 4558, + "Adventure Game Studio": 2717, "Agda": 376, "Alloy": 1143, "ApacheConf": 1449, @@ -73325,9 +73325,9 @@ }, "languages": { "ABAP": 1, - "AGS Script": 4, "APL": 1, "ATS": 10, + "Adventure Game Studio": 4, "Agda": 1, "Alloy": 3, "ApacheConf": 3, @@ -73538,5 +73538,5 @@ "fish": 3, "wisp": 1 }, - "md5": "1a8591982ec28c592a742122734c142c" + "md5": "2b2212de51ff03f9b167157bf2ac8e4d" } \ No newline at end of file diff --git a/samples/AGS Script/GlobalScript.asc b/samples/Adventure Game Studio/GlobalScript.asc similarity index 100% rename from samples/AGS Script/GlobalScript.asc rename to samples/Adventure Game Studio/GlobalScript.asc diff --git a/samples/AGS Script/GlobalScript.ash b/samples/Adventure Game Studio/GlobalScript.ash similarity index 100% rename from samples/AGS Script/GlobalScript.ash rename to samples/Adventure Game Studio/GlobalScript.ash diff --git a/samples/AGS Script/KeyboardMovement_102.asc b/samples/Adventure Game Studio/KeyboardMovement_102.asc similarity index 100% rename from samples/AGS Script/KeyboardMovement_102.asc rename to samples/Adventure Game Studio/KeyboardMovement_102.asc diff --git a/samples/AGS Script/KeyboardMovement_102.ash b/samples/Adventure Game Studio/KeyboardMovement_102.ash similarity index 100% rename from samples/AGS Script/KeyboardMovement_102.ash rename to samples/Adventure Game Studio/KeyboardMovement_102.ash