This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 »
1021
Issues Help Desk / Re: propsys.dll problem
« on: October 25, 2013, 02:10:01 am »Quote
We don't Harri because each extension has its makefile which links those libs, if you look at SHELL makefile you can see it only includes those makefiles when the extension is enabled so if the makefile aint included and the libs aren't linked that tells us for sure that wildcard is never processed. Now it might be happening with the include.h files, but I am not sure, you'd have to try to remove one from a deselected extension and compile, then you'd know it wasn't included.Well this was something I noticed a long time ago. Maybe it is now fixed. A year or two ago when extension system was first implemented I remember that deselecting "code only" extensions (like path and motion planning, which don't use libs), the size didn't change even by a byte. Now I guess it's fixed.
We still need to find out what takes so much space though.
1022
Issues Help Desk / Re: propsys.dll problem
« on: October 24, 2013, 06:28:03 am »
But graphics drivers or hardware wouldn't interfere with compiling wouldn't it? The fact he still has "failed at C++" makes me think he has some other problems still. And the fact he has viruses after 1 week makes me believe he doesn't take good care about his PC. Or that the installation was bad.
Also, the reason why empty game is so large (4.9mb) is because things like OpenAL (sound system) is included by default (can be disabled in project settings) and that thing alone is 500kb. There are other such dependencies as well. If you remove everything you can go down to 3.07mb now, but I am sure we still include some useless junk. We should probably look into that. I also have a feeling that we include code even though extension is not selected (but additional 3rd party libraries used by the extension is not included, so we do get smaller size with extensions deselected). But this is something I think we should check. OpenGL also seem to be larger than D3D (when D3D is selected, the size is 2.49mb instead of 3.07mb), but that could be because D9D has fewer functions for now. I at least think it has. On the other hand we must include GLEW and other stuff which is not needed for D9D as you already have a Windows .dll with all that.
Also, the reason why empty game is so large (4.9mb) is because things like OpenAL (sound system) is included by default (can be disabled in project settings) and that thing alone is 500kb. There are other such dependencies as well. If you remove everything you can go down to 3.07mb now, but I am sure we still include some useless junk. We should probably look into that. I also have a feeling that we include code even though extension is not selected (but additional 3rd party libraries used by the extension is not included, so we do get smaller size with extensions deselected). But this is something I think we should check. OpenGL also seem to be larger than D3D (when D3D is selected, the size is 2.49mb instead of 3.07mb), but that could be because D9D has fewer functions for now. I at least think it has. On the other hand we must include GLEW and other stuff which is not needed for D9D as you already have a Windows .dll with all that.
1023
Announcements / Re: Object Inheritance Implemented
« on: October 24, 2013, 06:18:29 am »
The new compiler is vaporware or as we call it New Compiler: Forever. It's always about 1 month off in the future. For the past 6 months or so. But I guess some progress is made.
1024
General ENIGMA / Re: ENIGMA Settings and OpenGL Graphics System Merge
« on: October 24, 2013, 02:51:19 am »
But that means GL1.1 will also have batching? My point was that you will end up using something that is beyond GL1.1 reach. I guess it can do batching via vertex arrays, but still. I though the whole idea was to use immediate mode in GL1.1. Anyway, do whatever. Later we will see if it works. I personally don't need GL1.1 at all, as all PC's I have tested work with GL3 just fine. But the compatibility idea wasn't bad by itself.
1025
General ENIGMA / Re: ENIGMA Settings and OpenGL Graphics System Merge
« on: October 23, 2013, 03:23:36 pm »
Differences between GL1.1 and GL3 are not so minor though. Things like batching, manual transform functions (eg., implemented with our own matrices and without using gl_translate etc.) and other things. So I think it will be easier to use and to maintain with two different versions.
1026
Off-Topic / Re: Illegal (and Legal) Drugs
« on: October 21, 2013, 10:47:08 am »
Robert, it seems very hypocritical of you to think caffeine is somehow worse than any other drugs. The links you posted actually say how little effect it has. Your wiki link even has this as the third paragraph:
https://www.google.lv/search?q=prisons+in+sweden&safe=off&client=firefox-a&hs=Brd&rls=org.mozilla:en-US:official&tbm=isch&tbo=u&source=univ&sa=X&ei=XUtlUqCZM4fd4QTa44HYCA&ved=0CCkQsAQ&biw=1920&bih=950
And btw, I don't drink coffee. I usually don't like the taste and it's easier for me to drink pure vodka than coffee. I do sometimes drink an energy drink, but that is also quite rare. I guess the only place I get caffeine is from coca cola.
Quote
Ordinary consumption can have low health risks, even when carried on for years – there may be a modest protective effect against some diseases, including Parkinsons Disease, and certain types of cancer. Some people experience sleep disruption if they consume caffeine, especially during the evening hours, but others show little disturbance and the effect of caffeine on sleep is highly variable.So while of course it's a drug and does have both positive and negative effects, it is no way worse than many other things. And stuff like "Sleep disruption when consumed in evenings" is a "duh" statement, because who would have known that something that makes you less sleepy will not let you sleep.
Quote
And I 100% disagree with people who say it gives them more energy, in the short term sureYou answered your statement with the second one. The whole thing about drinking coffee is that it gives you a "boost" that might as well be short term, but is long enough for you to get awake (that is why people drink coffee usually in the morning). Afterwards people usually don't feel depletion of energy from coffee. It's more common from energy drinks though.
Quote
Ever wonder why caffeine and cigarette smoking go hand in hand?They don't. At least I never seen a correlation between smokers and coffee drinkers. And I know many people in both groups.
Quote
Scientists have also recently done studies and found that chocolate can also produce the same effects.And I used chocolate as an example several times before.
Quote
This is exactly what is wrong, we need to address the actual problems, not the arbitrary results of the problems.If by "this" you mean being drugs illegal, then no, that is not the problem. The reason why you have so many people in jail is not because you are fighting drugs more than any other country. The problems is that you sentence people 5-10 years for almost any offense. In Europe if you are a first time weed possessor you will get a few months at most (often times just confiscation and probation). That depends on intent to sell or to use. If you are just using (that means you possess less than a certain amount of grams), then you get less severe punishment. You still get it and drugs are still illegal. And making them legal will not fix any of US prison problems. Your government is already trying to fix some of the problems with (Fair Sentencing Act or Department of Justice Smart on Crime Program), but of course it takes time in a country where there is 50 other countries inside of it. So war on drugs is a good thing, putting people in jail for 5 years for something trivial isn't. Because when that person gets out, he will probably be even worse than when he got it. Prisons shouldn't be about punishing someone, but about fixing someone. At least that is the idea in many EU countries. Especially Scandinavia countries where 21 years in prison is the max for any offense (and only for the worst, like murder) and theft, drug possession or burglary will often times only give much smaller punishment (mostly few months to few years) at the same time making the prisoner do community service/see a doctor or do anything else to improve his mentality. That is also why there is almost no such thing as a solitary confinement. Most prisoners get not just a small cell, but a freaking apartment.
https://www.google.lv/search?q=prisons+in+sweden&safe=off&client=firefox-a&hs=Brd&rls=org.mozilla:en-US:official&tbm=isch&tbo=u&source=univ&sa=X&ei=XUtlUqCZM4fd4QTa44HYCA&ved=0CCkQsAQ&biw=1920&bih=950
And btw, I don't drink coffee. I usually don't like the taste and it's easier for me to drink pure vodka than coffee. I do sometimes drink an energy drink, but that is also quite rare. I guess the only place I get caffeine is from coca cola.
1027
Ideas and Design / Re: ENIGMA Entity-Component-System?
« on: October 20, 2013, 05:46:22 pm »
I always used 1 object for 80% of the games logic. For example, in a tower defense game it would make sense to create an object for every enemy type and I guess it would be the best way (as objects are like classes). But I for some reason prefer to have obj_controller which has 80% of game logic and then obj_enemy which encapsulates every single type of enemy and obj_tower which can be every single type of tower. Then I use either bools (which is bad, as it requires a variable for every kind of system, like "bool can_shoot_flyers = true" or false) or variable_local_exists(), which don't require the ram, but is slower. I guess the best way would be to either use several objects for several types (like obj_tower_shoots_flyers) or to do everything via assigned scripts as Josh pointed out. Doing things like tower_update_scr = scr_flame_trower; is actually pretty powerful (used this in my circuit drawing program, where every component had a drawing script and the draw event just called that script).
Also, Josh, I thought you died.
Also, Josh, I thought you died.
1028
Off-Topic / Re: Illegal (and Legal) Drugs
« on: October 20, 2013, 05:27:37 am »Quote
Tobacco if I remember right was the lowest on the list.Yes, because it really doesn't have anything to do with the brain. On total health effects though, its the top.
1029
General ENIGMA / Re: GL3 matrices
« on: October 19, 2013, 04:24:10 am »
It's gm_Matrices, and I cannot add it until we actually use matrices for all the math.
Quote
but that should be off by default unless it is ticked in Global Game Settings. I think you have your graphics card forcing it on.If you want vsync to be off by default, you should actually call that when the game starts. Maybe in graphics_init() or something.
1030
General ENIGMA / Re: GL3 matrices
« on: October 18, 2013, 05:53:28 pm »
Alright then. Just wanted to create a water reflection demo, but noticed that I cannot use new GLSL because of lacking matrices. Will try to use GLSL1.1 anyway. And you say deprecated functions are not usable, but that means GL3 is broken now? Because we do use many deprecated functions there...
yoyocompiler.exe - 800-1300FPS, 13% CPU and 173mb ram.
opengl3.exe - It's vsynced to 60fps, 25% CPU and 80mb ram.
opengl1.exe - It's vsycned to 60fps, 25% CPU and 150mb ram.
direct3d9.exe - 930-1600FPS, 8% CPU and 89mb ram.
To turn off vsync in ENIGMA you must explicitly call set_synchronization(false). If you didn't do that, then it will cap to vsync.
yoyocompiler.exe - 800-1300FPS, 13% CPU and 173mb ram.
opengl3.exe - It's vsynced to 60fps, 25% CPU and 80mb ram.
opengl1.exe - It's vsycned to 60fps, 25% CPU and 150mb ram.
direct3d9.exe - 930-1600FPS, 8% CPU and 89mb ram.
To turn off vsync in ENIGMA you must explicitly call set_synchronization(false). If you didn't do that, then it will cap to vsync.
1031
General ENIGMA / GL3 matrices
« on: October 18, 2013, 03:02:24 pm »
What would be the best matrix library to use for GL3 matrices (view matrix, model matrix and so on)? I see that there is glm.g-truc.net, but it's 1.6mb. Then there is VS*L http://www.lighthouse3d.com/very-simple-libs/vsml/ and it is smaller, but I think it has a lot more dependencies. GLM is a header only library on the other hand, so it is easier to include. Any other ideas? Technically we can write our own (have done this) or just use the code included here: http://www.lighthouse3d.com/cg-topics/code-samples/opengl-3-3-glsl-1-5-sample/ . Graphics really don't need all the fancy matrix math. It needs addition, multiplication and inversion and all of those functions can be optimized, because graphics only use 4x4 matrices.
This is a topic I actually mentioned earlier (when I actually wanted to remove all deprecated stuff from GL3). Now the idea is back and we need to start with a decision.
edit: Also found CML, http://cmldev.net/. Also seems to be include only, ~690kb.
This is a topic I actually mentioned earlier (when I actually wanted to remove all deprecated stuff from GL3). Now the idea is back and we need to start with a decision.
edit: Also found CML, http://cmldev.net/. Also seems to be include only, ~690kb.
1032
Off-Topic / Re: Illegal (and Legal) Drugs
« on: October 15, 2013, 11:09:45 am »Quote
such as guns kill people, guns don't kill people, people kill people.It's a saying.
1033
Off-Topic / Re: Illegal (and Legal) Drugs
« on: October 15, 2013, 10:33:09 am »Quote
Whether it's addicting or not isn't my point, my point is the it can really mess up people's lives.I think this is the main point. If it wasn't addicting, it wouldn't mess up anyone's life.
Quote
But the problem here is - once someone knows that feeling there's no reversing it, and ultimately it will be much more difficult to resist getting drunk, high, or whatever you name it. It requires much more self control, and the ability for one to control them self is just about gone.Clearly as someone who hasn't even drunk a beer, you don't really know how it all works. I can assure you that drinking a beer once every few days doesn't make you an alcoholic, and sure as hell it doesn't make you drink more beer. I, like many people, drank a lot during high school years. Every Friday a party and many times hard liquor like vodka. After high school I drank a lot less and my preferences changed. I drank whiskey for a while and didn't like beer or vodka, now I drink beer (though small amounts) and don't like vodka or whiskey. By your logic I should of drank harder and harder until I either died or went to rehab. None of that happened. Even drinking every week for 3 months didn't make it an addiction, as I could not drink the next 3 without any problems. Addictions are not like binary switches with On or Off (and when you drink it's permanently On).
Quote
Once you know how good it feels, whether you want to slap the word addiction on it, doesn't change the facts. You'll want to do it again and again every time something makes you depressed or when you don't get your way, or your just plain bored. Whatever the reason, you'll instantly remember that feeling and do whatever it takes to feel it again, even if it means taking the life of innocent people, your loved ones, even yourself. Why the heck do you think drunk driving is the most common cause for car crashes (which have the potential to kill) more than anything else? This is like a no brainer.Reiterating my previous point - Addictions are not like a switch which turns on when you taste something. 99% of what makes an addiction is the person. There are some which can be addicted quite easy and of course people with some personal problems. Like our local tongue in cheek definition of alcoholism is this - Your are an alcoholic when you drink alone. The idea being that a person drinking without company probably does this because of some personal problems which of course will not be fixed by drinking. Thus they are never going to be fixed and the person will drink until his whole life goes to ruin. So it's not the addiction per se, but the personal problems.
Quote
FYI people who self medicate with drugs to feel good, apart from the people they brainwash, are the only people you'll find on this earth who think the drugs aren't addicting, why?No one says drugs are not addicting. The point is that you clearly don't know what addiction is. You think that drinking a beer will make you an addict or that smoking weed will. No, none of these things by themselves make an addict.
Quote
it will be much more difficult to resist getting drunk, high, or whatever you name itYou can't even imagine how easy it is not to drink..... VERY easy. You just don't.
Quote
I don't know what else to say if no one intends to listen to my warnings I mention out of careNo offense, but as a person with 0 experience with alcohol or anything else you are clearly not competent enough to give any warnings. This lack of competence also is reflected in your words, because you preach, not teach.
1034
Off-Topic / Re: Illegal (and Legal) Drugs
« on: October 14, 2013, 10:02:17 am »
I think using god or religion in any argument is stupid and nonsensical. I believe I gave good argumented reasons for and against drugs.
1035
Off-Topic / Re: Illegal (and Legal) Drugs
« on: October 13, 2013, 12:27:21 pm »
1) Everything can be addicting. It's not necessarily the substance itself, as everything giving a pleasurable sensation can, and mostly is, addicting. Like some are addicted to sex, others to chocolate. Even obesity is kind of an addiction. Some are addicted to adrenaline. And in universally all of these cases the addiction leads to something bad.
2) You can still use everything and do everything and not be addicted. Most people use alcohol in everyday life and only a small percentage is addicted to a point that their lives are in any way impacted. The same with junk food or anything else. The key is to keep it under control. The less you do it, the more pleasure it will give. The more you do it, the more you will need to get the previous sensation. Most people don't drink to get drunk though, or eat to fight hunger. The people with addiction usually has a lot different cause - often personal or social. I have never seen a person with 0 problems in his life turn to drinking.
3) Drugs which can be easily overdosed or can lead to permanent damage very easily, should of course be illegal and prohibited. That involves heroin, cocaine and other hard drugs. Drugs which can be used recreationally, are not so addictive and cannot be easily overdosed could remain legal with regulation. Like alcohol or tobacco. Even marihuana which is also quite safe. It's virtually impossible to overdose on weed and in this regard it is much safer than even alcohol. But all of this should be controlled. Like in many nations in Europe you cannot smoke in public places (this included most streets, cafes and in many cases your own home (if for example, you live in an apartment and somebody lives above you which can thus feel the smoke)) or be with an open alcohol bottle (or intoxicated). Also of course you cannot smoke in front of children and so on.
I personally drink (not as often as I used too, but still heavy alcohol maybe once a month at a party and regular beer once in a while in between). Several years ago hookah was very popular and I personally enjoy it a lot. I personally find that tobacco the perfect example of a drug which can be legal. Because of these reasons:
1) It is not really addictive. Usually it lacks several of the hard hitting ingredients needed for a more rapid addiction, as you don't for example feel "down" when not using it for a while. For example, there were some summers I smoked it every day for a month or two. Then I stopped for 5 months and didn't feel a thing.
2) It gives you a pleasurable sensation (buzz) the first time you use it. Almost all the drugs I know are usually not like this. Like, did you feel good the first time you smoked a cigarette? Most people feel awful. It tastes like shit, smells bad and gives no sensation. Cigarettes give you pleasure ONLY if you are addicted to them. This means that when you don't smoke it you feel like shit. You smoke it and you feel better. But you don't really feel better because of some great chemical, but because you just got what your body wanted. Like eating gives a pleasure when you haven't eaten in 3 days. The food itself doesn't give you pleasure though. Alcohol is the same. Of course if you limit yourself greatly, then even the first time drinking can be good, but most people just overdo it and it ends up shitty. On the other hand tobacco for hookah (we call it waterpipe) usually smells good (can be anything, fruits or even coca-cola), taste good (if used properly and nothing burns, then it tastes like fruit as well (depends on the flavor which are almost unlimited)) and gives a pleasurable buzz even for a first time user. Worst case scenario, you get a stomach ache.
3) It is usually healthier for several reasons. First, if you do it properly then nothing actually burns, you are basically drying the tobacco, so no ignition byproducts are inhaled. Second, just like alcohol, you usually don't use it every day like cigarettes, but only at parties and such. Third, it usually has less bad ingredients like not having tar, benzine or other regular cigarette stuff. Sometimes even freaking tea can be used instead of a tobacco (depends on the tea though... speaking from experience).
4) You cannot overdose it. In my life I have even overdosed alcohol (ended better than it could have, but even now living with some health consequences), while you can smoke waterpipe for hours without any problems. You might feel a slight stomach acke (especially if haven't smoked it for a while), but other than that you will be fine. Won't even puke. With weed the worst case is you will puke.
2) You can still use everything and do everything and not be addicted. Most people use alcohol in everyday life and only a small percentage is addicted to a point that their lives are in any way impacted. The same with junk food or anything else. The key is to keep it under control. The less you do it, the more pleasure it will give. The more you do it, the more you will need to get the previous sensation. Most people don't drink to get drunk though, or eat to fight hunger. The people with addiction usually has a lot different cause - often personal or social. I have never seen a person with 0 problems in his life turn to drinking.
3) Drugs which can be easily overdosed or can lead to permanent damage very easily, should of course be illegal and prohibited. That involves heroin, cocaine and other hard drugs. Drugs which can be used recreationally, are not so addictive and cannot be easily overdosed could remain legal with regulation. Like alcohol or tobacco. Even marihuana which is also quite safe. It's virtually impossible to overdose on weed and in this regard it is much safer than even alcohol. But all of this should be controlled. Like in many nations in Europe you cannot smoke in public places (this included most streets, cafes and in many cases your own home (if for example, you live in an apartment and somebody lives above you which can thus feel the smoke)) or be with an open alcohol bottle (or intoxicated). Also of course you cannot smoke in front of children and so on.
I personally drink (not as often as I used too, but still heavy alcohol maybe once a month at a party and regular beer once in a while in between). Several years ago hookah was very popular and I personally enjoy it a lot. I personally find that tobacco the perfect example of a drug which can be legal. Because of these reasons:
1) It is not really addictive. Usually it lacks several of the hard hitting ingredients needed for a more rapid addiction, as you don't for example feel "down" when not using it for a while. For example, there were some summers I smoked it every day for a month or two. Then I stopped for 5 months and didn't feel a thing.
2) It gives you a pleasurable sensation (buzz) the first time you use it. Almost all the drugs I know are usually not like this. Like, did you feel good the first time you smoked a cigarette? Most people feel awful. It tastes like shit, smells bad and gives no sensation. Cigarettes give you pleasure ONLY if you are addicted to them. This means that when you don't smoke it you feel like shit. You smoke it and you feel better. But you don't really feel better because of some great chemical, but because you just got what your body wanted. Like eating gives a pleasure when you haven't eaten in 3 days. The food itself doesn't give you pleasure though. Alcohol is the same. Of course if you limit yourself greatly, then even the first time drinking can be good, but most people just overdo it and it ends up shitty. On the other hand tobacco for hookah (we call it waterpipe) usually smells good (can be anything, fruits or even coca-cola), taste good (if used properly and nothing burns, then it tastes like fruit as well (depends on the flavor which are almost unlimited)) and gives a pleasurable buzz even for a first time user. Worst case scenario, you get a stomach ache.
3) It is usually healthier for several reasons. First, if you do it properly then nothing actually burns, you are basically drying the tobacco, so no ignition byproducts are inhaled. Second, just like alcohol, you usually don't use it every day like cigarettes, but only at parties and such. Third, it usually has less bad ingredients like not having tar, benzine or other regular cigarette stuff. Sometimes even freaking tea can be used instead of a tobacco (depends on the tea though... speaking from experience).
4) You cannot overdose it. In my life I have even overdosed alcohol (ended better than it could have, but even now living with some health consequences), while you can smoke waterpipe for hours without any problems. You might feel a slight stomach acke (especially if haven't smoked it for a while), but other than that you will be fine. Won't even puke. With weed the worst case is you will puke.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 »