hispidence
9df901ec1f
Remove ResetHub; as it's almost certainly going to be made obsolete with the new scripts and save game rework.
2021-08-09 00:07:08 +01:00
Lwmte
f9831ee892
Add support for sphere volumes
2021-08-05 15:46:03 +03:00
Lwmte
316102fa33
Update level.cpp
2021-08-05 14:51:15 +03:00
Lwmte
95d5f5853e
Fix GetSpheres some more, fix cameras/sinks/AI objects/sound sources not cleaning on reload
2021-08-03 13:23:51 +03:00
Lwmte
57937f1d15
Fix several silly mistakes with std::vector
2021-08-03 01:30:44 +03:00
Lwmte
5563bbf990
Add refraction vertex attribute, separate attribs into separate normalized float values
2021-07-31 18:51:38 +03:00
Lwmte
f099fc69b4
Implement per-vertex effects for rooms and objects
2021-07-30 20:55:03 +03:00
hispidence
831a0f7e8e
Change mesh loading to use emplace_back.
...
Change some remaining vector::back calls to use the already-existing references.
2021-07-24 19:14:23 +01:00
hispidence
8c85446365
Clean up a load of warnings and possible errors:
...
Fix buffer from char*[255] to char[255]. This also allows us to avoid the C-style cast to char const *.
Remove original push_back call to g_Level.SoundSources which I left in by accident.
Use string constructor which takes pointer to first char and pointer to last char + 1. This removes the need to zero the memory (the calls were generating warnings about accessing buffer[256] when buffer is only 255 elements) and also gets rid of warning C6054 about string possibly not being zero-terminated.
Change calls to push_back and back with an emplace_back. Aside from being shorter and slightly more efficient, it gets rid of warning C26444 (about creating local variables with no name).
2021-07-24 19:08:17 +01:00
hispidence
783d344185
Add SOUND_SOURCE_INFO and AI_OBJECT names when loading in the level data. Implement remaining functions on the GameLogicScript side.
2021-07-24 12:45:33 +01:00
hispidence
f9ae0046c6
Add AddLuaNameSink, RemoveLuaNameSink, and GetSinkByName.
...
Make a template that all GetXByName member functions work off, to reduce copypasted functions.
For consistency, rename RemoveLuaName and AddLuaName to RemoveLuaNameItem and AddLuaNameItem.
Fix some documentation comments, order function documentation into sections.
2021-07-23 16:02:30 +01:00
hispidence
171d427d77
Change ReadRooms to push back the ROOM_INFO to g_Level.Rooms first, and then working on the reference. This means that the MESH_INFO reference that gets added to the mesh-name table correctly refers to the copy that sits in the vector of an element of g_Level.Rooms and not a local copy that goes out of scope before the end of the function. It also makes loading about 50ms faster.
2021-07-23 02:41:39 +01:00
hispidence
a94893516b
Call AddLuaNameCamera when loading a level to add a reference to the camera to the name-camera map.
2021-07-23 02:12:12 +01:00
hispidence
3509b2b307
Call AddLuaNameMesh in ReadRooms.
2021-07-21 18:21:10 +01:00
MontyTRC89
f7fee69634
Added LUA name insertion on items loading; Fixed item rooms change (use ItemNewRoom);
2021-07-19 05:52:21 +02:00
MontyTRC89
0495681cb1
Fixed volumes and added debug message
2021-07-15 10:56:03 +02:00
MontyTRC89
916d22759b
Merge remote-tracking branch 'origin/lara_info'
...
# Conflicts:
# TR5Main/Game/Lara/lara_flare.h
# TR5Main/Scripting/GameLogicScript.cpp
2021-07-14 05:48:42 +02:00
MontyTRC89
98c62c58bb
Merge branch 'master' of https://github.com/MontyTRC89/TR5Main
2021-07-14 05:30:04 +02:00
MontyTRC89
e46cc2e542
Added LUA name for statics; LUA names refactoring;
2021-07-14 05:29:23 +02:00
hispidence
54e14ccb3f
Make some functions take a GAME_OBJECT_ID instead of a short. Make AIOBJECT use a GAME_OBJECT_ID instead of a short.
2021-07-11 16:55:20 +01:00
MontyTRC89
1effeed738
Refactored cameras, sinks and sound sources; Added sound sources playback;
2021-07-10 06:55:37 +02:00
MontyTRC89
465e5f2347
Added trigger volumes experimental
2021-07-05 16:33:50 +02:00
MontyTRC89
0fde464679
Fix merge conflicts
2021-03-27 07:38:51 +01:00
MontyTRC89
60c61ff4da
New level loader code for anim textures
2021-03-27 07:33:40 +01:00
MontyTRC89
9183bb1760
Animated textures data in polygons
2021-03-12 21:33:02 +01:00
MontyTRC89
231b1f77aa
Implemented new anim textures in file format
2021-03-10 18:45:12 +01:00
asasas9500
e943098d31
Fix boxes
2021-01-28 20:49:30 -03:00
asasas9500
6c39800d89
Fix no pathfinding
2021-01-17 20:29:37 -03:00
asasas9500
d0a930978f
Implement new random system
2020-10-24 01:05:59 -03:00
Raildex
4173289d08
Added Static Mesh Tint Support
2020-10-07 09:08:23 +02:00
Raildex
ac61f71386
Refactored framework.h
...
Removed Renderer headers from framework.h
Removed bass headers from framework.h
Removed windows-related headers to avoid nameclashes with std::min and std::max
added <algorithm> for general-purpose functions (like std::min/max)
Added NOMINMAX define to project
Minor Refactorings
2020-09-29 21:43:56 +02:00
asasas9500
26a4b39b43
Fix bridges; Fix script IDs
2020-09-28 10:04:44 -03:00
asasas9500
4476d12b5c
Fix first bugs in new floordata
2020-09-19 20:09:57 -03:00
asasas9500
dbdba8d2df
New floordata prototype
2020-09-14 00:19:05 -03:00
MontyTRC89
b063da4c4b
Fixed sounds
2020-09-08 19:50:19 +02:00
MontyTRC89
0aff21a128
Fixed enemy monkey; Added new zone for ID_VON_CROY; Small AI fixes; Added 3 blocks jump;
2020-09-01 07:06:31 +02:00
MontyTRC89
40bac4540c
Restored Lara's damage with grenade; HP for statics;
2020-08-16 21:06:35 +02:00
Raildex
b58d18ade2
Refactored functions
2020-08-09 15:25:56 +02:00
MontyTRC89
fdf2de1e89
Increased itemFlags array; Added startPos to ITEM_INFO; Improved wraiths; Rewritten BuildOutsideRoomsTable;
2020-08-04 21:53:58 +02:00
MontyTRC89
bde10fe313
Decompiled wraiths; Added outside rooms table;
2020-08-02 19:39:55 +02:00
MontyTRC89
ecca35d05a
Lights refactor
2020-07-26 16:17:54 +02:00
MontyTRC89
f24e2abb94
Added ZLIB
2020-07-26 07:21:38 +02:00
MontyTRC89
689ec226e7
Frames refactoring
2020-07-25 18:02:35 +02:00
MontyTRC89
83bba01a99
Moving all globals of level under LEVEL struct; Fixed severe performance issue;
2020-07-21 09:56:47 +02:00
MontyTRC89
502c647a84
Normal mapping; Tangents and bitangents;
2020-07-18 06:58:44 +02:00
MontyTRC89
2d72803342
Merge branch 'master' of https://github.com/MontyTRC89/TR5Main
2020-07-11 21:29:49 +02:00
MontyTRC89
9867a6d24c
Pathfinding refactoring
2020-07-11 21:16:04 +02:00
Raildex
09071a2b88
Merge branch 'master' into memory
...
# Conflicts:
# TR5Main/Objects/TR5/tr5_objects.cpp
2020-07-10 20:17:03 +02:00
MontyTRC89
36fe66d617
Hairs done on GPU now
2020-07-07 07:32:33 +02:00
Raildex
053953b8ab
Merge branch 'master' into memory
2020-07-05 22:19:28 +02:00