- Sep 01, 2010
-
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1126 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
Added core.game.setRealtime(freq) function to set the engine into realtime mode, calling tick() at the given frequency Added an example_realtime module that is an exact copy of example module but in realtime (the gameplay sucks it's not adapted) git-svn-id: http://svn.net-core.org/repos/t-engine4@1125 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1124 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1123 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
* the Game:tick() method must check for savefile_pipe.saving and return true if it's true (otherwise the save will not continue in the background). Check the example module tick() git-svn-id: http://svn.net-core.org/repos/t-engine4@1122 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1121 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
if savefile_pipe.saving then h = h + self.font_h self.surface:drawColorStringBlended(self.font, "#YELLOW#Saving...", 0, h, 255, 255, 255) h = h + self.font_h end To make a graphical display of the background saving thread. Quitting while a save is going one will obviously still wait until it is finished git-svn-id: http://svn.net-core.org/repos/t-engine4@1120 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
New :cloneFull() method on all objects, this makes a perfect clone of the given object and any subjects recursively without creting duplicates of subobjects. This is nearly instantaneous and thus could be used to create time travel spells and other neat things. Saves can now be made in the background while continuing to play the game. This obviously speeds ups considerably the gameplay since saves now "feel" instant. *WARNING* Module makers: I had to change how savefiles work, there is a few changes needed in your modules for it to work. * In Game.lua: change the Savefile code in saveGame() to be just a call to savefile_pipe:push(game.save_name, "game", game) * In dialogs.Death too * Take a look at either the example module or ToME to see how it works exactly, it's really easy to convert git-svn-id: http://svn.net-core.org/repos/t-engine4@1119 51575b47-30f0-44d4-a5cc-537603b46e54
-
- Aug 31, 2010
-
-
dg authored
Fixed Bathe in Light git-svn-id: http://svn.net-core.org/repos/t-engine4@1118 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1117 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1116 51575b47-30f0-44d4-a5cc-537603b46e54
-
- Aug 30, 2010
-
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1115 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
T-Engine can now auto-update itself (as long as it is not an update to the exe) (this is disabled for now, will be activated later) git-svn-id: http://svn.net-core.org/repos/t-engine4@1114 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1113 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1112 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
All classes now have a cloneFull() method that will clone themselves and all their subobjects without duplication git-svn-id: http://svn.net-core.org/repos/t-engine4@1111 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
TE4 can now handle multiple versions of the same engine (or even different ones). Engines are located in game/engines and the default one in game/engines/default Game engines can also come in archived form in a .teae zip file git-svn-id: http://svn.net-core.org/repos/t-engine4@1110 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1109 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1108 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1107 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1106 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1105 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1104 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1103 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1102 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1101 51575b47-30f0-44d4-a5cc-537603b46e54
-
- Aug 29, 2010
-
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1100 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1099 51575b47-30f0-44d4-a5cc-537603b46e54
-
- Aug 28, 2010
-
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1098 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1097 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1096 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1095 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1094 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1093 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
Changed lua table.sort() function to accept any index as a second parameter, if not a function it will assume the items to sort are tables and sort them by the given index Improved the integrated lua profiler (only works when luajit is disabled) Greatly improved performance when moving around the map. Map:checkAllEntities() is now much faster, FOV code is also faster git-svn-id: http://svn.net-core.org/repos/t-engine4@1092 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1091 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1090 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1089 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1088 51575b47-30f0-44d4-a5cc-537603b46e54
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@1087 51575b47-30f0-44d4-a5cc-537603b46e54
-