6485 Commits

Author SHA1 Message Date
Dries Harnie
540f5f3294 STARK: Add detection for GOG edition 2016-01-01 07:29:56 +01:00
Bastien Bouclet
570760d7e5 STARK: Consider action from item templates for item instances 2016-01-01 07:29:56 +01:00
Bastien Bouclet
7e621e13f6 STARK: Add mouse picking for 3D items
This works at the bone bounding box level, whereas the original does
pixel-perfect picking.
2016-01-01 07:29:56 +01:00
Bastien Bouclet
efc23795a1 STARK: Change the existing code to make use of the new Ray class 2016-01-01 07:29:55 +01:00
Bastien Bouclet
f67675e377 STARK: Fixed the actor transformation matrix
So that no additional transform is performed in the vertex shader
2016-01-01 07:29:55 +01:00
Bastien Bouclet
0389b0ea43 MATH: Add a Ray class
Models a 3d half-line, used for ray tracing
2016-01-01 07:29:55 +01:00
Bastien Bouclet
13dab1c680 STARK: Remove an unused variable 2016-01-01 07:29:55 +01:00
Bastien Bouclet
1cc12b6981 MATH: Make Quaternion::inverse const 2016-01-01 07:29:55 +01:00
Bastien Bouclet
9df2c1d319 STARK: Fix the mouse cursor when hovering an exit with an inventory item selected 2016-01-01 07:29:55 +01:00
Bastien Bouclet
ba770a3c22 STARK: Push down some includes 2016-01-01 07:29:55 +01:00
Bastien Bouclet
43a77574ae STARK: Fix incorrect enum usage when looking up textures 2016-01-01 07:29:55 +01:00
Bastien Bouclet
dec9306498 STARK: Deselect the inventory item when it is removed 2016-01-01 07:29:55 +01:00
Bastien Bouclet
d477249d04 STARK: Implement opItemSelectInInventory 2016-01-01 07:29:55 +01:00
Bastien Bouclet
afc1fa4d83 STARK: Use the correct color for passive dialog options 2016-01-01 07:29:54 +01:00
Bastien Bouclet
8e3f9f7f23 STARK: Fix a few UI-related todos 2016-01-01 07:29:54 +01:00
Bastien Bouclet
3498e65818 STARK: Move the 3D model related classed to the model directory 2016-01-01 07:29:54 +01:00
Bastien Bouclet
08342a14e9 STARK: Remove some commented out code 2016-01-01 07:29:54 +01:00
Bastien Bouclet
b44354f554 STARK: Generalize upon the FMV playback and introduce the concept of Screen 2016-01-01 07:29:54 +01:00
Bastien Bouclet
11f6db1491 STARK: Read the lipsync data 2016-01-01 07:29:54 +01:00
Bastien Bouclet
d7413e53ec STARK: Implement opSetInteractiveMode 2016-01-01 07:29:54 +01:00
Bastien Bouclet
860c852699 STARK: Some renaming 2016-01-01 07:29:54 +01:00
Bastien Bouclet
c4fa477083 STARK: Various cleanups 2016-01-01 07:29:54 +01:00
Bastien Bouclet
cb158e552c STARK: Perform a transparency hit test to validate an item is under the cursor 2016-01-01 07:29:54 +01:00
Bastien Bouclet
00462b7414 STARK: Add a workaround for a game data bug
The command argument type would be zero
2016-01-01 07:29:54 +01:00
Bastien Bouclet
f82ed069b8 STARK: Mark the engine API methods as overriden 2016-01-01 07:29:53 +01:00
Bastien Bouclet
cb434fd2a9 STARK: Fix some include guards naming 2016-01-01 07:29:53 +01:00
Bastien Bouclet
18d3344f87 STARK: Add shortcuts to use the singleton services 2016-01-01 07:29:53 +01:00
Bastien Bouclet
5bbddfa171 STARK: Add the ability to override the startup location using the config file 2016-01-01 07:29:53 +01:00
Bastien Bouclet
75c648368c STARK: Implement the dialog reply "last only" condition 2016-01-01 07:29:53 +01:00
Bastien Bouclet
ee1a7e3a2e STARK: Fix selecting a dialog option other than the first one 2016-01-01 07:29:53 +01:00
Bastien Bouclet
1be1b25ddb STARK: Make some more sense out of the dialog player code 2016-01-01 07:29:53 +01:00
Bastien Bouclet
38567dd2cf STARK: Add a method allowinf to know if a line is April's 2016-01-01 07:29:53 +01:00
Bastien Bouclet
dcd5ae0710 STARK: Rename the UI class and move it to the services subfolder 2016-01-01 07:29:53 +01:00
Bastien Bouclet
874279eac4 STARK: Document and simplify the Window class 2016-01-01 07:29:53 +01:00
Bastien Bouclet
62d6b27f02 STARK: Add some resources comments 2016-01-01 07:29:52 +01:00
Bastien Bouclet
9045159d7a STARK: Implement opStopPlayingSound 2016-01-01 07:29:52 +01:00
Bastien Bouclet
f79a123fe4 STARK: Implement opSetBoolean 2016-01-01 07:29:52 +01:00
Bastien Bouclet
3f328c735a STARK: Implement opScriptEnable 2016-01-01 07:29:52 +01:00
Bastien Bouclet
96ef5c40f2 STARK: Implement opPauseRandom 2016-01-01 07:29:52 +01:00
Bastien Bouclet
707c269138 STARK: Implement the script call opcode 2016-01-01 07:29:52 +01:00
Bastien Bouclet
c4635a343f STARK: Implement opIsRandom 2016-01-01 07:29:52 +01:00
Bastien Bouclet
1c27860b6e STARK: Implement opIsScriptActive 2016-01-01 07:29:52 +01:00
Bastien Bouclet
e0a5f5a419 STARK: Checked a few opcodes implementations 2016-01-01 07:29:52 +01:00
Bastien Bouclet
4c5c6014c2 STARK: Rename the Item resource hierarchy 2016-01-01 07:29:52 +01:00
Bastien Bouclet
dedc1172fe STARK: Don't read past end of stream for bookmark nodes 2016-01-01 07:29:52 +01:00
Bastien Bouclet
450119ea42 STARK: Warn when reading more XRC data than available 2016-01-01 07:29:51 +01:00
Bastien Bouclet
43ff669877 STARK: Read the remaining data for the FMV resource 2016-01-01 07:29:51 +01:00
Bastien Bouclet
f57efec9c4 STARK: Fix a memory leak 2016-01-01 07:29:51 +01:00
Bastien Bouclet
43bae53ce0 STARK: Fix GCC warnings 2016-01-01 07:29:51 +01:00
Bastien Bouclet
0d62f7a400 STARK: Move text rendering to a separate class 2016-01-01 07:29:51 +01:00