/dports/games/scummvm/scummvm-2.5.1/engines/ags/ |
H A D | events.cpp | 179 if (key >= AGS3::eAGSKeyCodeA && key <= AGS3::eAGSKeyCodeZ) { in ags_key_to_scancode() 183 else if (key >= AGS3::eAGSKeyCodeSpace && key <= AGS3::eAGSKeyCodeBackquote) { in ags_key_to_scancode() 208 case AGS3::eAGSKeyCodeF1: in ags_key_to_scancode() 211 case AGS3::eAGSKeyCodeF2: in ags_key_to_scancode() 214 case AGS3::eAGSKeyCodeF3: in ags_key_to_scancode() 217 case AGS3::eAGSKeyCodeF4: in ags_key_to_scancode() 220 case AGS3::eAGSKeyCodeF5: in ags_key_to_scancode() 223 case AGS3::eAGSKeyCodeF6: in ags_key_to_scancode() 226 case AGS3::eAGSKeyCodeF7: in ags_key_to_scancode() 229 case AGS3::eAGSKeyCodeF8: in ags_key_to_scancode() [all …]
|
H A D | console.cpp | 50 AGS3::AGS::Shared::MessageType level; 66 AGS3::uint32_t group; 75 {nullptr, (AGS3::uint32_t)-1} 146 return (AGS3::uint32_t)-1; in parseGroup() 182 AGS3::ccSetOption(SCOPT_DEBUGRUN, 1); in Cmd_SetScriptDump() 184 AGS3::ccSetOption(SCOPT_DEBUGRUN, 0); in Cmd_SetScriptDump() 257 case AGS3::AGS::Shared::kDbgMsg_None: in PrintMessage() 259 case AGS3::AGS::Shared::kDbgMsg_Alert: in PrintMessage() 260 case AGS3::AGS::Shared::kDbgMsg_Fatal: in PrintMessage() 264 case AGS3::AGS::Shared::kDbgMsg_Warn: in PrintMessage() [all …]
|
H A D | ags.cpp | 82 _globals = new ::AGS3::Globals(); in AGSEngine() 122 AGS3::GameScanner scanner; in run() 145 AGS3::Test_DoAllTests(); in run() 154 AGS3::main_init(ARGC, ARGV); in run() 159 _G(display_fps) = ConfMan.getBool("display_fps") ? AGS3::kFPS_Forced : AGS3::kFPS_Hide; in run() 161 AGS3::ConfigTree startup_opts; in run() 172 AGS3::main_print_help(); in run() 179 AGS3::AGS::Shared::Debug::Printf("%s", AGS3::get_engine_string().GetCStr()); in run() 181 AGS3::main_set_gamedir(ARGC, ARGV); in run() 193 ::AGS3::quit_free(); in run() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ags/plugins/core/ |
H A D | global_api.cpp | 74 namespace AGS3 { namespace 518 AGS3::CentreGUI(ifn); in CentreGUI() 537 AGS3::ClaimEvent(); in ClaimEvent() 695 AGS3::FadeIn(sppd); in FadeIn() 1103 AGS3::sc_invscreen(); in sc_invscreen() 1321 AGS3::NewRoom(nrnum); in NewRoom() 1341 AGS3::ObjectOn(obj); in ObjectOn() 1350 AGS3::PauseGame(); in PauseGame() 1415 AGS3::RawClear(clr); in RawClear() 2110 AGS3::StopDialog(); in StopDialog() [all …]
|
H A D | character.cpp | 28 namespace AGS3 { namespace 203 AGS3::Character_ChangeView(chap, vii); in ChangeView() 263 AGS3::Character_LockView(chap, vii); in LockView() 323 AGS3::Character_RemoveTint(chaa); in RemoveTint() 349 AGS3::Character_SetAsPlayer(chaa); in SetAsPlayer() 364 AGS3::Character_StopMoving(charp); in StopMoving() 380 AGS3::Character_UnlockView(chaa); in UnlockView() 600 AGS3::Character_SetLoop(chaa, newVal); in SetLoop() 778 AGS3::Character_SetX(chaa, newVal); in SetX() 788 AGS3::Character_SetY(chaa, newVal); in SetY() [all …]
|
H A D | game.cpp | 28 namespace AGS3 { namespace 101 AGS3::Game_StopAudio(audioType); in StopAudio() 155 params._result = AGS3::Game_InputBox(msg); in InputBox() 165 AGS3::StopAllSounds(evenAmbient); in StopAllSounds() 177 params._result = AGS3::Game_GetFileName(); in GetFileName() 196 AGS3::SetGlobalString(index, newVal); in SetGlobalString() 234 params._result = AGS3::Game_GetName(); in GetName() 239 AGS3::Game_SetName(newName); in SetName() 248 AGS3::SetNormalFont(fontNum); in SetNormalFont() 252 params._result = AGS3::Game_GetName(); in GetSkippingCutscene() [all …]
|
H A D | object.cpp | 26 namespace AGS3 { namespace 95 AGS3::Object_GetName(objj, buffer); in GetName() 125 AGS3::Object_RemoveTint(objj); in RemoveTint() 145 AGS3::Object_StopAnimating(objj); in StopAnimating() 150 AGS3::Object_StopMoving(objj); in StopMoving() 180 AGS3::Object_SetBaseline(objj, basel); in SetBaseline() 210 AGS3::Object_SetClickable(objj, clik); in SetClickable() 225 AGS3::Object_SetGraphic(objj, slott); in SetGraphic() 275 AGS3::Object_SetSolid(objj, solid); in SetSolid() 310 AGS3::Object_SetY(objj, xx); in SetX() [all …]
|
H A D | system.cpp | 26 namespace AGS3 { namespace 68 params._result = AGS3::System_GetCapsLock(); in GetCapsLock() 76 params._result = AGS3::System_GetGamma(); in GetGamma() 81 AGS3::System_SetGamma(newValue); in SetGamma() 89 params._result = AGS3::System_GetNumLock(); in GetNumLock() 93 params._result = AGS3::System_GetOS(); in GetOS() 117 params._result = AGS3::System_GetVersion(); in GetVersion() 129 params._result = AGS3::System_GetVolume(); in GetVolume() 134 AGS3::System_SetVolume(newvol); in SetVolume() 138 params._result = AGS3::System_GetVsync(); in GetVsync() [all …]
|
H A D | gui_control.cpp | 26 namespace AGS3 { namespace 64 AGS3::GUIControl_BringToFront(guio); in BringToFront() 74 AGS3::GUIControl_SendToBack(guio); in SendToBack() 79 AGS3::GUIControl_SetPosition(guio, xx, yy); in SetPosition() 124 AGS3::GUIControl_SetClickable(guio, enabled); in SetClickable() 134 AGS3::GUIControl_SetEnabled(guio, enabled); in SetEnabled() 144 AGS3::GUIControl_SetHeight(guio, newhit); in SetHeight() 166 AGS3::GUIControl_SetVisible(guio, visible); in SetVisible() 176 AGS3::GUIControl_SetWidth(guio, newwid); in SetWidth() 186 AGS3::GUIControl_SetX(guio, xx); in SetX() [all …]
|
H A D | mouse.cpp | 27 namespace AGS3 { namespace 73 AGS3::disable_cursor_mode(modd); in disable_cursor_mode() 78 AGS3::enable_cursor_mode(modd); in enable_cursor_mode() 101 AGS3::SetNextCursor(); in SetNextCursor() 105 AGS3::SetPreviousCursor(); in SetPreviousCursor() 115 AGS3::SetMousePosition(newx, newy); in SetMousePosition() 119 AGS3::RefreshMouse(); in RefreshMouse() 123 AGS3::set_default_cursor(); in set_default_cursor() 128 AGS3::set_mouse_cursor(newcurs); in set_mouse_cursor() 137 AGS3::set_cursor_mode(newmode); in set_cursor_mode() [all …]
|
H A D | listbox.cpp | 26 namespace AGS3 { namespace 68 AGS3::ListBox_Clear(listbox); in Clear() 73 AGS3::ListBox_FillDirList(listbox, filemask); in FillDirList() 98 AGS3::ListBox_RemoveItem(listbox, itemIndex); in RemoveItem() 103 AGS3::ListBox_ScrollDown(listbox); in ScrollDown() 108 AGS3::ListBox_ScrollUp(listbox); in ScrollUp() 118 params._result = AGS3::ListBox_GetFont(listbox); in GetFont() 123 AGS3::ListBox_SetFont(listbox, newfont); in SetFont() 133 AGS3::ListBox_SetHideBorder(listbox, newValue); in SetHideBorder() 173 AGS3::ListBox_SetSelectedIndex(guisl, newsel); in SetSelectedIndex() [all …]
|
H A D | gui.cpp | 26 namespace AGS3 { namespace 62 AGS3::GUI_Centre(sgui); in Centre() 72 AGS3::GUI_SetPosition(tehgui, xx, yy); in SetPosition() 77 AGS3::GUI_SetSize(sgui, widd, hitt); in SetSize() 118 AGS3::GUI_SetHeight(sgui, newhit); in SetHeight() 154 AGS3::GUI_SetWidth(sgui, newwid); in SetWidth() 159 params._result = AGS3::GUI_GetX(sgui); in GetX() 164 AGS3::GUI_SetX(tehgui, xx); in SetX() 169 params._result = AGS3::GUI_GetY(sgui); in GetY() 175 AGS3::GUI_SetY(tehgui, yy); in SetY() [all …]
|
H A D | maths.cpp | 26 namespace AGS3 { namespace 75 params._result = AGS3::Math_Cos(value); in Cos() 80 params._result = AGS3::Math_Cosh(value); in Cosh() 90 params._result = AGS3::Math_Exp(value); in Exp() 95 params._result = AGS3::Math_Log(value); in Log() 115 params._result = AGS3::Math_Sin(value); in Sin() 120 params._result = AGS3::Math_Sinh(value); in Sinh() 125 params._result = AGS3::Math_Sqrt(value); in Sqrt() 130 params._result = AGS3::Math_Tan(value); in Tan() 135 params._result = AGS3::Math_Tanh(value); in Tanh() [all …]
|
H A D | dynamic_sprite.cpp | 26 namespace AGS3 { namespace 69 AGS3::DynamicSprite_Crop(sds, x1, y1, width, height); in Crop() 74 AGS3::DynamicSprite_Delete(sds); in Delete() 79 AGS3::DynamicSprite_Flip(sds, direction); in Flip() 89 AGS3::DynamicSprite_Resize(sds, width, height); in Resize() 94 AGS3::DynamicSprite_Rotate(sds, angle, width, height); in Rotate() 99 params._result = AGS3::DynamicSprite_SaveToFile(sds, namm); in SaveToFile() 109 params._result = AGS3::DynamicSprite_GetColorDepth(sds); in GetColorDepth() 114 params._result = AGS3::DynamicSprite_GetGraphic(sds); in GetGraphic() 119 params._result = AGS3::DynamicSprite_GetHeight(sds); in GetHeight() [all …]
|
H A D | button.cpp | 26 namespace AGS3 { namespace 60 AGS3::Button_GetText(butt, buffer); in GetText() 65 AGS3::Button_SetText(butt, newtx); in SetText() 75 AGS3::Button_SetClipImage(butt, newval); in SetClipImage() 80 params._result = AGS3::Button_GetFont(butt); in GetFont() 85 AGS3::Button_SetFont(butt, newFont); in SetFont() 90 params._result = AGS3::Button_GetGraphic(butt); in GetGraphic() 100 AGS3::Button_SetMouseOverGraphic(guil, slotn); in SetMouseOverGraphic() 110 AGS3::Button_SetNormalGraphic(guil, slotn); in SetNormalGraphic() 120 AGS3::Button_SetPushedGraphic(guil, slotn); in SetPushedGraphic() [all …]
|
H A D | file.cpp | 26 namespace AGS3 { namespace 54 params._result = AGS3::File_Delete(fnmm); in Delete() 59 params._result = AGS3::File_Exists(fnmm); in Exists() 69 AGS3::File_Close(fil); in Close() 74 params._result = AGS3::File_ReadInt(fil); in ReadInt() 89 AGS3::File_ReadRawLine(fil, buffer); in ReadRawLine() 109 AGS3::File_WriteInt(fil, towrite); in WriteInt() 114 AGS3::File_WriteRawChar(fil, towrite); in WriteRawChar() 119 AGS3::File_WriteRawLine(fil, toWrite); in WriteRawLine() 124 AGS3::File_WriteString(fil, toWrite); in WriteString() [all …]
|
H A D | dialog_options_rendering_info.cpp | 26 namespace AGS3 { namespace 70 params._result = AGS3::DialogOptionsRendering_GetHeight(dlgOptRender); in GetHeight() 75 AGS3::DialogOptionsRendering_SetHeight(dlgOptRender, newHeight); in SetHeight() 85 AGS3::DialogOptionsRendering_SetParserTextboxX(dlgOptRender, newX); in SetParserTextboxX() 95 AGS3::DialogOptionsRendering_SetParserTextboxY(dlgOptRender, newY); in SetParserTextboxY() 115 params._result = AGS3::DialogOptionsRendering_GetWidth(dlgOptRender); in GetWidth() 120 AGS3::DialogOptionsRendering_SetWidth(dlgOptRender, newWidth); in SetWidth() 125 params._result = AGS3::DialogOptionsRendering_GetX(dlgOptRender); in GetX() 130 AGS3::DialogOptionsRendering_SetX(dlgOptRender, newX); in SetX() 135 params._result = AGS3::DialogOptionsRendering_GetY(dlgOptRender); in GetY() [all …]
|
H A D | room.cpp | 26 namespace AGS3 { namespace 64 params._result = AGS3::Room_GetBottomEdge(); in GetBottomEdge() 68 params._result = AGS3::Room_GetColorDepth(); in GetColorDepth() 72 params._result = AGS3::Room_GetHeight(); in GetHeight() 76 params._result = AGS3::Room_GetLeftEdge(); in GetLeftEdge() 85 params._result = AGS3::Room_GetMusicOnLoad(); in GetMusicOnLoad() 89 params._result = AGS3::Room_GetObjectCount(); in GetObjectCount() 93 params._result = AGS3::Room_GetRightEdge(); in GetRightEdge() 97 params._result = AGS3::Room_GetTopEdge(); in GetTopEdge() 101 params._result = AGS3::Room_GetWidth(); in GetWidth() [all …]
|
H A D | string.cpp | 27 namespace AGS3 { namespace 58 params._result = AGS3::String_IsNullOrEmpty(str); in IsNullOrEmpty() 63 params._result = AGS3::String_Append(str, extrabit); in Append() 68 params._result = AGS3::String_AppendChar(str, extraOne); in AppendChar() 78 params._result = AGS3::StrContains(s1, s2); in StrContains() 83 params._result = AGS3::String_Copy(str); in Copy() 98 params._result = AGS3::String_LowerCase(str); in LowerCase() 128 params._result = AGS3::String_UpperCase(str); in UpperCase() 133 params._result = AGS3::StringToFloat(value); in StringToFloat() 138 params._result = AGS3::StringToInt(value); in StringToInt() [all …]
|
H A D | drawing_surface.cpp | 27 namespace AGS3 { namespace 63 AGS3::DrawingSurface_Clear(sds, colour); in Clear() 68 params._result = AGS3::DrawingSurface_CreateCopy(sds); in CreateCopy() 73 AGS3::DrawingSurface_DrawCircle(sds, x, y, radius); in DrawCircle() 93 AGS3::DrawingSurface_DrawPixel(sds, x, y); in DrawPixel() 98 AGS3::DrawingSurface_DrawRectangle(sds, x1, y1, x2, y2); in DrawRectangle() 130 params._result = AGS3::DrawingSurface_GetPixel(sds, x, y); in GetPixel() 135 AGS3::DrawingSurface_Release(sds); in Release() 145 AGS3::DrawingSurface_SetDrawingColor(sds, newColour); in SetDrawingColor() 150 params._result = AGS3::DrawingSurface_GetHeight(sds); in GetHeight() [all …]
|
H A D | inv_window.cpp | 26 namespace AGS3 { namespace 51 AGS3::InvWindow_ScrollDown(guii); in ScrollDown() 56 AGS3::InvWindow_ScrollUp(guii); in ScrollUp() 66 AGS3::InvWindow_SetCharacterToUse(guii, chaa); in SetCharacterToUse() 76 params._result = AGS3::InvWindow_GetItemCount(guii); in GetItemCount() 86 AGS3::InvWindow_SetItemHeight(guii, newhit); in SetItemHeight() 91 params._result = AGS3::InvWindow_GetItemWidth(guii); in GetItemWidth() 96 AGS3::InvWindow_SetItemWidth(guii, newwidth); in SetItemWidth() 106 params._result = AGS3::InvWindow_GetRowCount(guii); in GetRowCount() 111 params._result = AGS3::InvWindow_GetTopItem(guii); in GetTopItem() [all …]
|
H A D | region.cpp | 26 namespace AGS3 { namespace 51 params._result = AGS3::GetRegionAtRoom(xx, yy); in GetRegionAtRoom() 56 params._result = AGS3::GetRegionAtScreen(x, y); in GetRegionAtScreen() 66 AGS3::Region_RunInteraction(ssr, mood); in RunInteraction() 71 params._result = AGS3::Region_GetEnabled(ssr); in GetEnabled() 76 AGS3::Region_SetEnabled(ssr, enable); in SetEnabled() 81 params._result = AGS3::Region_GetID(ssr); in GetID() 91 AGS3::Region_SetLightLevel(ssr, brightness); in SetLightLevel() 101 params._result = AGS3::Region_GetTintBlue(ssr); in GetTintBlue() 106 params._result = AGS3::Region_GetTintGreen(ssr); in GetTintGreen() [all …]
|
H A D | inventory_item.cpp | 26 namespace AGS3 { namespace 52 params._result = AGS3::GetInvAtLocation(xx, yy); in GetInvAtLocation() 62 AGS3::InventoryItem_GetName(iitem, buff); in GetName() 72 AGS3::InventoryItem_GetPropertyText(scii, property, bufer); in GetPropertyText() 82 AGS3::InventoryItem_RunInteraction(iitem, mood); in RunInteraction() 87 AGS3::InventoryItem_SetName(scii, newname); in SetName() 97 AGS3::InventoryItem_SetCursorGraphic(iitem, newSprite); in SetCursorGraphic() 102 params._result = AGS3::InventoryItem_GetGraphic(iitem); in GetGraphic() 107 AGS3::InventoryItem_SetGraphic(iitem, piccy); in SetGraphic() 112 params._result = AGS3::InventoryItem_GetID(iitem); in GetID() [all …]
|
H A D | audio_channel.cpp | 26 namespace AGS3 { namespace 50 AGS3::AudioChannel_Seek(channel, newPosition); in Seek() 55 AGS3::AudioChannel_SetRoomLocation(channel, xPos, yPos); in SetRoomLocation() 60 AGS3::AudioChannel_Stop(channel); in Stop() 65 params._result = AGS3::AudioChannel_GetID(channel); in GetID() 70 params._result = AGS3::AudioChannel_GetIsPlaying(channel); in GetIsPlaying() 75 params._result = AGS3::AudioChannel_GetLengthMs(channel); in GetLengthMs() 80 params._result = AGS3::AudioChannel_GetPanning(channel); in GetPanning() 85 AGS3::AudioChannel_SetPanning(channel, newPanning); in SetPanning() 95 params._result = AGS3::AudioChannel_GetPosition(channel); in GetPosition() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ags/shared/util/ |
H A D | string_types.h | 31 namespace AGS3 { 54 namespace AGS3 { 57 bool operator()(const ::AGS3::AGS::Shared::String &x, const ::AGS3::AGS::Shared::String &y) const { in operator() 63 uint operator()(const ::AGS3::AGS::Shared::String &x) const { in operator() 69 bool operator()(const ::AGS3::AGS::Shared::String &x, const ::AGS3::AGS::Shared::String &y) const { in operator() 75 uint operator()(const ::AGS3::AGS::Shared::String &x) const { in operator() 81 bool operator()(const ::AGS3::AGS::Shared::String &x, const ::AGS3::AGS::Shared::String &y) const { in operator() 97 struct Hash<AGS3::AGS::Shared::String> { 98 uint operator()(const AGS3::AGS::Shared::String &s) const { 105 namespace AGS3 {
|