#ifndef _DEV_LOG_ #define _DEV_LOG_ /* This file is only used for keeping info about the project developement 29.04.03 22:38 I have finished for today. I think I made Cdatafile to load datafiles and their info propebly. Tomorrow I'll probably make destroyer functions. I really wish that I could make dynamic-sized multidimensional arrays in c++. It took me about two hours to make Cdatfile.datafiles* to work with all these pointers (PS!! I'm just a beginner, ya know) 21.05.2003 23:49 I have done quite a lot today. I added autocropped image support and made all fileloading and make_vid_bmps work(I hope). about 1-2 PM I decided to use STL's vector wherever it could be useful but I messed up something BIGtime. At the moment I think it should work allright(if the "illegal operation" when exiting is excluded) again with no vectors. 23:59 I'm done for tonight. It seemed to work allright with one datafile at the first sight 22.05.2003 0:05 well, it didn't work with two files 0:13 found a bug in loadtxt, I'll repair it in the morning 22.05.2003 14:52 I have tried to resolve this problem but I can't. When I added a memorymanager to this project, it was unable to run it because of all these errors when I did realloc(). I don't know why but I try to find someone to ask why it acts like this. Now I removed this memorymanager and continue developing hoping that in near future I could repair all these memoryleaks. IDEAS: 30.04.2003 21:44 add a feature to map: count different tile graphicks used in map and store these in (EST) kuhjas When using this system, it is possible to display needed VRAM when creating the map, memory needed, most used tiles etc. maybe make a function that counts, what kind of tiles are on the current screen and then stores these in VRAM. It would probably speed up drawing quite a bit, if there is many different tiles used 21.05.2003 9:33 add feature: crop images in datafile. Saves a lot of VRAM, probably makes it even faster. Eg. barn.dat with no packing: 140kB, cropped: 64kB, difference: about 2.2X Get cropinfo about cropping at datfile loading, use in drawing 03.06.03 22:54 After watching Matrix: reload I thought it would be quite cool to have EMP devices in game. When activating one, it would shut down all unprotected mechanical items/units and mechanically flying units should drop down(floaters from X-Com I). I think there should be a way to repair these items. Perhaps they should include a self repair unit that would activate after a while. Or maybe make some units invulneable against this kind of attacks. Also there should be some units that could repair others. Maybe a mothercomputer or something should reprogram disarmed units. EMP should be used on both sides. Activating one would require energy from a powersource maybe? But maybe it would cost some points, because after use lot of equipment will be unuseable. In cities it will destroy citizens properties(like household-maschinery) and it would cost some points(about -200??) *) Each EMP-unit should cost a lot of money to make/buy. *) There should be a minor chance of death by EMP wave(creature is a bit too sensitive to it). Maybe calculate all statistics of a unit and then compare these to a number(bitwise AND with some value). If true, this unit would die. EMP should be used only in extreme cases. Aliens may use it more often and they wouldn't get any penalty for using it(besides destroyed weapons and minor chance of dieing). There shuld also be a powersource in game that could be used in combat as a energysource for misc items/units and in bases for some random stuff(electricity, manufacturing, repairing?, relaoading weapons etc). */ /* 01.09.05 17:01 After spending almost 10 hours on debugging and testing I got it to compile under Linux. I found a lot of stupid things I had done and fixed some of these. I probably won't finish the game/engine. Perhaps I'll just fix most major bugs and share it with everyone who would like it, perhaps even add it to allegro depot (if it is accepted) */ #endif