Commit Graph

38 Commits

Author SHA1 Message Date
Xawotihs
8339cdd3b3 iOS compilation fixes 2010-11-19 23:16:31 +00:00
wrenczes@gmail.com
3eeb8a6465 - renamed WResourceManager::autoResize() to ResetCacheLimits(), since the function doesn't actually resize anything. It's merely setting clamping limits on when we should purge the cache.
- fixed the debug framerate calculation / drawing code (consolidated duplicated functions & variables mDelta vs a win-only mDeltaTime, no reason to have two), repositioned it to draw on the bottom left (it was colliding with other debug text for the cache info).
 - for debug testing purposes, added a #define override to force the image cache to work with less memory (I've picked 8 megs, which is what the psp seems to use - the normal default on win/linux is 20 megs).
2010-11-09 19:01:38 +00:00
Xawotihs
75b8a0c328 Added support for left mouse click 2010-10-10 21:57:27 +00:00
wagic.the.homebrew@gmail.com
fd8645d1a4 Erwan
- JGE updates : main accepts argv/argc. Compilation variables for MP3 and Network support
- Minor fix in Wagic (potentially fixes crashes when using activated abilities several times in onr turn. Couldn't reproduce the issue)
2010-07-11 10:56:12 +00:00
jean.chalard
c2549af81d J :
* Make the FULLSCREEN function bindable on platforms that support it.
* Linux has F as default binding.
* Windows support is not implemented, but is there ; applications will
  just not suggest it under windows for the moment.
2010-02-28 12:31:51 +00:00
jean.chalard
2ef8fa338c J :
* Fix issue 340 for good.
* On X systems this still depends on a working X detectable repeat,
  which is not the case in stable releases of some popular linux
  distributons at this time. This is expected to be fixed soon.
  I haven't chosen yet whether I wait for the fix on X side or if
  I work around the bug.
2010-02-27 10:57:32 +00:00
jean.chalard
80fdb0a38f J :
* Mostly fix issue 340.
* There are still detail problems :
  - There are still problems when two keys are pressed at the same time.
    This is not a release blocker ; what happens exactly is :
    while maintaining two keys, when one is released, the enqueued
    autorepeat keypresses for the others are flushed too. I don't
    think anyone will notice but for the sake of correctness I'll fix
    it.
  - A bug in xorg prevents the linux version to work correctly at the
    moment. The bug is current as of 2009/08 and fixed as of 2010/01,
    but major releases still include the bug at this time, so I'll
    have to work around it somehow.
  - I expect the windows version to work, but I can't test it.
  - I'll test on mac later today.
2010-02-26 03:08:20 +00:00
jean.chalard
4248ddd3a0 J :
* Preparation for auto-repeat-stopping code.
2010-02-25 20:00:53 +00:00
jean.chalard
79d142f968 J :
* Some cosmetic cleanup.
* Have the unix version report analog control the same way the
  windows version does.
* Move back Run() into JGE::Run(). The code for ::Run() is still
  inside main.cpp.
  - This fixes the "blinking screen problem", issue 341. I think.
  - I have no idea WHY it does, but it's better than not fixing it.
  - Run() would be better in ::Run() in main.cpp than in JGE, should
    be moved back when we know more about the problem.
2010-02-24 18:28:36 +00:00
jean.chalard
39c5a3d465 J :
* Fix u32 into JButtons.
* Add a few comments.
* Remove useless variables.
2010-02-24 17:28:17 +00:00
jean.chalard
ad933ecdf6 J :
* Change the name of a define to harmonize stuff.
2010-02-18 20:09:19 +00:00
jean.chalard
e40691411a J :
* Don't forget to enqueue unbound keys.
2010-02-18 18:05:19 +00:00
jean.chalard
3c1377fe47 J :
* Re-add the ReadLocalKey function that I had forgotten to
  re-implement with the key bindings.
2010-02-18 07:18:21 +00:00
jean.chalard
16abaa249c J :
* Remove a useless debug print
2010-02-15 11:01:09 +00:00
jean.chalard
162621c09a J :
* Remove a now-useless #define
2010-02-14 23:53:04 +00:00
wagic.jeck
350f06fab8 Jeck - Jean, please review for cross-platform compatibility. Fix stupid error in GameStateDeckViewer.cpp, also fix windows compile of JGE.cpp. 2010-02-14 18:41:08 +00:00
jean.chalard
376022c2f0 J :
* Try fix NAN under windows
2010-02-14 14:10:12 +00:00
jean.chalard
8c86752e1d J :
* Bugfix
2010-02-14 13:57:43 +00:00
jean.chalard
56ce4a14ae J :
* Create the subsystem for keybindings.
2010-02-14 13:21:12 +00:00
jean.chalard
18c18822c9 J :
* This update has Wagic compile and work under Darwin 64-bits.
  - Linux 64-bits is expected to compile and work from now on, but
    was not tested. As with before, Linux 64 bits can still run
    the 32 bits version.
  - Darwin version is not using Carbon but X emulation.
  - 64-bits versions have no sound because there is no 64-bits
    version of fmod.
  - Windows 64-bits probably does not compile. Windows 64-bits can
    still run the 32 bits version.
  - Darwin 32-bits probably does not work at the moment because the
    libfmod requires another name to work on Macs, but as 64-bits
    disables it it works.
  - Other unix flavors are expected to work as long as they have
    a working OpenGL library, X11, and *either* 64-bits *or* a
    working fmod. Thus in the practice Tru64, Irix and the like
    probably work, as should FreeBSD and other BSDs in 64 bits
    versions, but 32 bits versions will search for a non-existing
    fmod. All of this is pure conjecture and none was tested.
  - All 64-bits versions have no sound.
  - The mac version does not display the particles at the moment.
    This is not critical, but the cause is unknown yet. I would
    like to know if other 64 bits unices share the same bug or if
    it is mac-specific.
* Test is needed in particular to see whether the program still
  compiles and works in Linux and PSP. Windows is probably all
  right, but compiling PSP in windows may be broken by this
  update.
2010-02-02 08:27:10 +00:00
wagic.the.homebrew@gmail.com
efbfc0a1b9 Erwan
- Fix an uninitialized variable warning with JGE
- Added -O2 to JGE compilation
2009-10-31 13:41:17 +00:00
wagic.the.homebrew@gmail.com
c1dc258ef0 Erwan - fix issue 118 2009-10-21 13:49:31 +00:00
jean.chalard
22c7f02fe9 J :
* Make the GetTime() function behave under Linux the same way it
  behaves under other OSes.
2009-07-28 12:43:04 +00:00
wagic.laurent
31d9f87554 Applying Orine Patch - Works perfect. Great addition. 2009-06-08 22:34:54 +00:00
wagic.the.homebrew
b9a9ab6bfa Erwan
- small tweak with input frequency
2008-12-02 13:56:55 +00:00
jean.chalard
4196103a03 J :
* Another bugfix.
2008-11-28 15:13:54 +00:00
jean.chalard
eef151cac5 J :
* Little bugfix
2008-11-28 15:06:50 +00:00
jean.chalard
ec77debc62 J :
* Release holds when key is released.
* Fix a bug that would mark the key pressed instead of released when it's
  read.
2008-11-28 14:52:12 +00:00
jean.chalard
46669050ee J :
* Implement holds for PSP.
2008-11-28 14:33:51 +00:00
jean.chalard
3488d3a498 J :
* Crank up repeat rate to 60 times a second.
2008-11-27 14:37:11 +00:00
jean.chalard
9b04331415 J :
* Take the "PeekBuffer returning -1" case into account
2008-11-26 14:07:19 +00:00
jean.chalard
8ac9da6a7b J :
* Restore the behavior of GetButtonClick, instead of having it miss more
  clicks that it should.
2008-11-25 15:34:13 +00:00
jean.chalard
cfea9ff2c0 J :
* Add key repetition.
2008-11-25 15:24:22 +00:00
jean.chalard
3b4519bbe4 J :
* First try at input buffer for PSP.
2008-11-25 15:07:33 +00:00
jean.chalard
d7ea37233c J :
* Key buffer update : Add functions & clean the file
2008-11-21 14:13:01 +00:00
jean.chalard
bd5df274e8 J :
* Key buffer input system.
2008-11-21 14:10:20 +00:00
jean.chalard
ddf04e14e8 J :
* Update for linux support.
2008-11-05 13:38:39 +00:00
wagic.the.homebrew
d45e3b101b 2008-11-02 09:50:16 +00:00