Commit Graph
32 Commits
Author SHA1 Message Date
Filippos Karapetis f629a32819 WINTERMUTE: Fix compilation with MSVC
Change the way that EXTENDED_DEBUGGER_ENABLED is checked. The way it
was used, it triggered a fatal error C1017
2016-08-22 13:06:20 +03:00
Tobia Tesan d4f94b7d19 WINTERMUTE: Add DebuggableScript and DebuggableScriptEngine classes
These extend the script engine and allow for monitoring and adding
pre/post instruction hooks
2016-02-29 11:36:53 +01:00
Johannes Schickel fc5ef58fff WINTERMUTE: Make GPL headers consistent in themselves. 2014-02-18 02:39:40 +01:00
Willem Jan Palenstijn dd9ab7accb WINTERMUTE: Don't clean up _scripts mid-iteration
Scripts executing from ScEngine::tick() can call
ScEngine::unbreakableTick() via scCallMethod("SaveGame") and
applyEvent("BeforeSave").

This recursive execution could cause finished scripts being removed
from _scripts while ScEngine::tick() is still iterating over that array.
2013-09-05 20:23:42 +02:00
Johannes Schickel 1ce54c217a WINTERMUTE: Fix end of namespace comments. 2013-08-04 00:51:09 +02:00
Einar Johan Trøan Sømåen 72d0affe01 WINTERMUTE: Rename transfer(void *) to transferPtr(void *) to avoid overload-misses. 2013-04-19 17:17:53 +02:00
Einar Johan Trøan Sømåen 8f25b651e8 WINTERMUTE: Split the timers from BaseGame into a separate class. 2013-04-18 12:10:40 +02:00
Einar Johan Trøan Sømåen 980dc4a456 WINTERMUTE: Replace all NULLs with nullptr. 2013-01-26 18:07:07 +01:00
Einar Johan Trøan Sømåen ea024cd203 WINTERMUTE: Avoid including script_ext_math.h in base_game.cpp 2012-12-02 20:46:26 +01:00
Einar Johan Trøan Sømåen f33884b020 WINTERMUTE: Remove a few more unused includes. 2012-09-11 03:40:56 +02:00
Willem Jan Palenstijn b4090ead4d WINTERMUTE: Convert CRLF to LF 2012-09-04 22:17:23 +02:00
Einar Johan Trøan Sømåen 158a206086 WINTERMUTE: Use ++it instead of it++ 2012-08-31 20:00:41 +02:00
Einar Johan Trøan Sømåen 2fd38f47e0 WINTERMUTE: Replace col_templ's getSize with Common::Array::size() 2012-08-31 19:23:41 +02:00
Einar Johan Trøan Sømåen 10ca0f136d WINTERMUTE: Clear out some commented-out code. 2012-08-15 02:35:11 +02:00
Einar Johan Trøan Sømåen fed19cb66a WINTERMUTE: WinterMute -> Wintermute 2012-08-13 03:42:30 +02:00
Einar Johan Trøan Sømåen 20e2ec4ff4 WINTERMUTE: Remove unused functions from StringUtil:: 2012-07-29 18:00:15 +02:00
Einar Johan Trøan Sømåen 2e7d21fc52 WINTERMUTE: Replace BaseRegistry with ConfMan 2012-07-29 17:53:44 +02:00
Einar Johan Trøan Sømåen aa3467ddaa WINTERMUTE: Remove the debugger. 2012-07-29 15:30:44 +02:00
Einar Johan Trøan Sømåen 482a5fb467 WINTERMUTE: Make the BaseEngine-singleton use Common::Singleton as super-class 2012-07-29 03:41:07 +02:00
Einar Johan Trøan Sømåen 9b5cf8f1ba WINTERMUTE: Introduce a Singleton-class for holding registry/filemanager. 2012-07-29 02:34:44 +02:00
Einar Johan Trøan Sømåen 8ed71a99f6 WINTERMUTE: Constructor(args): SuperClass(args) -> Constructor(args) : SuperClass(args) 2012-07-27 19:37:14 +02:00
Einar Johan Trøan Sømåen 3a49f2bad4 WINTERMUTE: More variable/function renaming VarName->varName 2012-07-26 22:20:55 +02:00
Einar Johan Trøan Sømåen 4eda234611 WINTERMUTE: Replace BaseArray with a templated subclass of Common::Array.
This needs additional cleanup, but compiles and runs at this point.
2012-07-26 19:41:18 +02:00
Einar Johan Trøan Sømåen ef11f9d0c5 WINTERMUTE: Run Astyle with add-braces to break one-line statements into easier-to-read-code. 2012-07-26 15:59:26 +02:00
Einar Johan Trøan Sømåen 1ad859a468 WINTERMUTE: "if(" -> "if (" 2012-07-25 21:21:55 +02:00
Einar Johan Trøan Sømåen fa96c9ea18 WINTERMUTE: "delete []" -> "delete[]" 2012-07-25 21:05:03 +02:00
Einar Johan Trøan Sømåen c7eda9abc8 WINTERMUTE: Encapsulate and distance BasePersistenceManager from Base. 2012-07-23 03:42:27 +02:00
Einar Johan Trøan Sømåen aedb0aea50 WINTERMUTE: Remove dcgf.h from almost all includes. 2012-07-23 03:22:49 +02:00
Einar Johan Trøan Sømåen 448911930d WINTERMUTE: Remove unused code from platform_osystem.h 2012-07-23 03:10:41 +02:00
Einar Johan Trøan Sømåen 7a818009b4 WINTERMUTE: Clean out unused utils. 2012-07-23 02:23:14 +02:00
Einar Johan Trøan Sømåen b5a07fef8e WINTERMUTE: Get rid of the C-prefix for class-definitions. 2012-07-21 21:01:47 +02:00
Einar Johan Trøan Sømåen 5683f07633 WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenames
This is mostly a lead-up to namespacing the Ad/Base folders, and then
possibly removing the prefixes from the files, it also has the added
benefit of getting rid of the odd case-typos that makes for issues
on platforms that don't ignore case.
2012-07-21 19:15:33 +02:00