Commit graph

37 commits

Author SHA1 Message Date
smallmodel
16d262f6ee
Fixed floats being interpreted as integers sometimes 2023-08-14 03:09:38 +02:00
smallmodel
421126db38
Optimized ScriptVM::EventGoto 2023-08-13 22:07:33 +02:00
smallmodel
df66ab0339
Fixed EmitField bug
Clear the previous opcode when a new label is emitted
2023-08-13 21:55:22 +02:00
smallmodel
8b17d81545
Fixed variables improperly used on stack under some circumstances 2023-08-13 20:17:59 +02:00
smallmodel
f857116f75
Fixed script crashes 2023-08-13 17:59:49 +02:00
smallmodel
0dda70cca1
Fixed event parameters being wrong 2023-08-13 03:34:19 +02:00
smallmodel
5e83e03e33
Major grammar/lexer/compiler fixes 2023-08-13 03:34:09 +02:00
smallmodel
f5af33b181
Major script engine fixes 2023-08-12 19:59:40 +02:00
smallmodel
ec3259271e
Removed THREAD_CONTEXT_SWITCH 2023-08-12 03:03:34 +02:00
smallmodel
9933612607
Added ScriptVariableList::VariableExists 2023-08-02 21:49:03 +02:00
smallmodel
68d48d9889
Used clang-format on some common files 2023-07-05 21:24:02 +02:00
smallmodel
5333c7ff4a
Removed empty line before opening braces 2023-07-05 20:52:55 +02:00
OM
51116b933d Fixed code_pos being wrong after loadTop/storeTop 2023-07-04 23:16:35 +02:00
OM
4263b2843a Fixed code_pos not being incremented in EmitField 2023-07-04 23:15:45 +02:00
OM
fd871d6c8f avoid incrementing m_CodePos in OP_STORE_STRING and OP_STORE_VECTOR as fetchOpcodeValue() already does that 2023-07-04 23:06:33 +02:00
OM
3cc1e89b45 Tiny fixes related to bad printf formatting and sizes 2023-06-21 21:01:37 +02:00
OM
147851c506 Moved flex/bison generated files to subfolder "generated"
Added FLEX/BISON cmake generation
2023-06-17 16:54:12 +02:00
OM
04c7565281 Fixed a few warnings 2023-06-17 02:27:12 +02:00
OM
c287638f99 Reworked file inclusion (using relative path) 2023-06-17 01:24:20 +02:00
OM
e4fa0fff3a Renamed **game** to **fgame** 2023-06-15 23:44:02 +02:00
OM
e45289d28b Renamed **NO_SCRIPTENGINE** to **WITH_SCRIPT_ENGINE** 2023-05-29 01:33:07 +02:00
L
ce53e2c57d Removed CGAME_DLL checks 2023-04-30 14:54:23 +02:00
L
c3e027c54f Fixed GAME_DLL issue with entity 2023-04-30 01:42:36 +02:00
L
5b5fb1c4d6 Removed CGAME_DLL check 2023-04-30 00:03:11 +02:00
L
fbd03b6a26 Debloated g_local.h include files 2023-04-29 21:56:38 +02:00
L
f91d5f9fe9 Added support for ScriptVariable move 2023-02-07 20:50:26 +01:00
L
1296918abe Removed usage of *constexpr* in storeTop/loadTop (using separate methods instead) 2023-02-07 20:50:09 +01:00
L
6eb1ec3cf5 Fixed compilation issues with g++ 2023-02-06 19:24:01 +01:00
L
ca25bb983f Removed unused methods 2023-02-05 22:17:54 +01:00
L
9c62ece9bd Fixed classinfo being NULL for the *Game* class 2023-02-05 21:12:51 +01:00
L
456c886c48 Using Memcpy to set/fetch opcodes to avoid issues with CPUs that don't support misalignment 2023-02-02 23:48:51 +01:00
L
1b1de99e53 Added IsConstArray() 2023-02-02 23:48:04 +01:00
L
ce9c9121ce Added aliases for specific types 2023-02-02 23:47:46 +01:00
L
d4faf0c0e0 Fixed compilation errors on Unix 2023-02-01 00:28:40 +01:00
L
b8c56cc23c Use override keyword when overriding virtual methods 2023-01-31 19:59:39 +01:00
L
cf18c3a96f Moved script stuff to their matching directory 2023-01-30 18:20:50 +01:00
L
8ef16a91f2 Reworked source tree so it compiles 2023-01-29 20:59:31 +01:00