Commit Graph
38 Commits
Author SHA1 Message Date
grisenti 92606bb7b8 AGS: improve find for AGS3::std::set 2022-12-21 13:45:25 +01:00
grisenti 7e6c494733 AGS: add erase method for elements to AGS3::std::set 2022-12-21 13:45:25 +01:00
grisenti 088c83fcf9 AGS: replace use of equality checks in AGS3::std::set 2022-12-21 13:45:25 +01:00
Thierry Crozat e36abe967e COMMON: Move std::initializer_list to scummsys.h 2022-09-04 23:20:17 +01:00
Thierry Crozat 9144ec7131 AGS: Add sanity check on iterators in implementation of std::list::splice
In particular the SpriteCache class can call this function with both
iterators pointing to the same item (when trying to move an item to
the start of thr MRU list, and it is already the first item).
2022-06-18 22:20:40 +01:00
Thierry Crozat 65124a3745 AGS: Fix implementation of std::list::insert
Instead of returning an iterator to the inserted item, it was
returning an iterator to the next item. This was for example causing
bugs in the SpriteCache.
2022-06-18 22:20:40 +01:00
Thierry Crozat 73ff6317fd AGS: Add some more std replacements needed for recent AGS code 2022-06-18 01:03:30 +01:00
Paul Gilbert 706766f4b5 AGS: Guimain tidy-up
From upstream fd656469bc71385ffd9da50ad0315641cd5f6d22
2022-05-10 21:18:00 -07:00
Paul Gilbert c28d948fbe AGS: Hopeful compilation fix 2022-05-05 23:39:24 -07:00
Paul Gilbert 8e132f7b3f AGS: cc_error returns stack from all script threads
From upstream 9e76800d668d8d0af7d47d815e6d1b781c7601f6
2022-05-05 22:41:07 -07:00
Paul Gilbert 480be2134b AGS: Added script instance thread stack, replacing current_instance
From upstream f3443cb7a4ae5858e5d2d28131aaf6cf138bc0ec
2022-05-05 22:41:06 -07:00
Paul Gilbert 830c1b096b AGS: introduced ObjTexture struct which combines bmp and ddb
From upstream b628fb4d1b3ca6a85e2b2424a468f4cec94ae9c6
Also includes new implementation of std::vector class to
properly allow for arrays of smart pointers
2022-05-05 22:41:05 -07:00
Paul Gilbert 6ef504bba2 AGS: Store gui draw order in a std::vector
From upstream fcc873ef0c26439faf67100f4d70d540434ca9f5
2022-05-01 17:23:22 -07:00
Paul Gilbert 8be58d3de2 AGS: Store game events in std::vector, remove event cap
From upstream a2f9a5ba94377686762b2828df4fccbe661d2b03
2022-04-18 19:10:29 -07:00
Paul Gilbert bb01ccb213 AGS: Fixed AssetManager::RemoveLibrary()
From upstream b1355178a86a277ac12440eb6c0ec996c153137d
2022-03-27 19:14:54 -07:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert 88fdb16d39 AGS: Fix pathfinding in A Golden Wake 2021-09-06 21:39:54 -07:00
Paul Gilbert a9afcf230b AGS: Class FindFile, working as a file iterator with a name pattern
From upstream c0d4f6587d1c3428fe891aa477550d42fdcd49da
2021-07-31 14:34:10 -07:00
Paul Gilbert 10dfe6cdcc AGS: Janitorial for lib/std/ folder 2021-07-27 22:03:34 -07:00
Cameron Cawley 43fbf3ea16 AGS: Restore missing definition for INFINITY
Originally added in commit c703825.
2021-06-16 13:48:39 +01:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Paul Gilbert f1642da870 AGS: Fix jps routefinder 2021-02-24 19:41:12 -08:00
Paul Gilbert f581ac47e7 AGS: Fix implementation of std::reverse template 2021-02-23 21:21:50 -08:00
Cameron Cawley ff276f88ff AGS: Refactor audio code 2021-02-08 18:03:22 -08:00
Cameron Cawley 29cd6a0476 AGS: Fix variable shadowing warning 2021-02-07 18:00:00 +00:00
Le Philousophe 79eab1f457 AGS: Don't use initializer_list directly, use common shim 2021-02-07 17:31:05 +01:00
Paul Gilbert 4f316995a5 AGS: Refactor use of NAN to an arbitrary constant 2021-02-06 19:14:48 -08:00
Paul Gilbert 515d592a48 AGS: Fix std::unordered_map insert to ignore duplicates 2021-02-06 16:37:31 -08:00
Paul Gilbert a11cab9a50 AGS: Added AGSSpriteFont plugin 2021-02-06 16:37:31 -08:00
Paul Gilbert 27775a43d1 AGS: Reimplement std::map from scratch
Previously it was an alias for Common::HashMap, but map needs
to have an array of key/value items ordered by the key.
As such, I changed it to internally use a Common::Array
2021-02-06 16:37:31 -08:00
Paul Gilbert 1f78ef4eb7 AGS: Add tests as an optional sub-engine 2021-02-06 16:37:31 -08:00
Paul Gilbert 2df8106340 AGS: Further gcc warning fixes 2021-02-06 16:37:31 -08:00
Paul Gilbert 75183a5a03 AGS: gcc compilation fixes 2021-02-06 16:37:31 -08:00
Paul Gilbert 8c72948dee AGS: Fix global objects crashing ScummVM on startup 2021-02-06 16:37:31 -08:00
Paul Gilbert 536bb13032 AGS: Add further missing lib/ code 2021-02-06 16:37:31 -08:00
Paul Gilbert c51cc1dd76 AGS: Add missing files from engine/ac/ to project 2021-02-06 16:37:31 -08:00
Paul Gilbert 69b6cfab29 AGS: Move std/ folder into lib/ 2021-02-06 16:37:31 -08:00