Commits on Dec 5, 2011

  1. Fix crash due to transporter trying to unload itself from itself when…

    … clicking fast.
    
    Unloading single droids from transporters should now be more responsive, too.
    Cyp committed Dec 5, 2011
    Configuration menu
    Copy the full SHA
    a35ff1e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5c2cf9f View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2011

  1. Configuration menu
    Copy the full SHA
    9ea2207 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    820e38b View commit details
    Browse the repository at this point in the history
  3. Fix missing visibility on game start.

    Introduced in a74281b.
    
    Fixes ticket:2964.
    Cyp committed Dec 6, 2011
    Configuration menu
    Copy the full SHA
    2d4e1e1 View commit details
    Browse the repository at this point in the history
  4. Fix loading of droids in transporters.

    Hopefully fixes ticket:2889 and ticket:2959, but does not handle the corrupted savegame in ticket:2959, which has duplicate droids in droid.ini and mdroid.ini.
    Cyp committed Dec 6, 2011
    Configuration menu
    Copy the full SHA
    93a6d7b View commit details
    Browse the repository at this point in the history
  5. Readd audio confirmation for trucks.

    Got lost in ab3a8ad. Closes #2948.
    cybersphinx committed Dec 6, 2011
    Configuration menu
    Copy the full SHA
    ae130a7 View commit details
    Browse the repository at this point in the history
  6. Add new qtscript functions for AI implementatation. The pick build po…

    …sition
    
    function was ported pretty much as is from wzscript implementation, hence
    its ugliness.
    perim committed Dec 6, 2011
    Configuration menu
    Copy the full SHA
    58d5bd4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    034c1d7 View commit details
    Browse the repository at this point in the history
  8. qtscript: Functions for enumerating features and ordering droids to d…

    …o things to objects.
    
    Add access to structure types.
    perim committed Dec 6, 2011
    Configuration menu
    Copy the full SHA
    247b8b2 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2011

  1. Remove two excess log calls

    perim committed Dec 7, 2011
    Configuration menu
    Copy the full SHA
    5e7bb70 View commit details
    Browse the repository at this point in the history
  2. Remove dead function. getDerrick() is now unnecessary that we have al…

    …l this info
    
    available from global.
    perim committed Dec 7, 2011
    Configuration menu
    Copy the full SHA
    07c5c95 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2011

  1. Reorder GAME_* messages.

    The GAME_* messages should now be better sorted by whether or not they are useful.
    Cyp committed Dec 8, 2011
    Configuration menu
    Copy the full SHA
    5461ef4 View commit details
    Browse the repository at this point in the history
  2. Use version_getVersionString() for net version.

    Since any change that affects game state breaks synchronisation,  and most changes
    break  synch,  and it's not  convenient for  most commits  to bump  the version in
    netplay.cpp, it's probably a good idea to announce the exact version when hosting.
    Cyp committed Dec 8, 2011
    Configuration menu
    Copy the full SHA
    0aeda2b View commit details
    Browse the repository at this point in the history
  3. Fix remaining progress bar after research.

    Was a missing popStatusPending().
    
    Fixes ticket:2966.
    Cyp committed Dec 8, 2011
    Configuration menu
    Copy the full SHA
    4bf70ca View commit details
    Browse the repository at this point in the history
  4. Fix crash on opening empty production menu after loading savegame con…

    …taining commander templates.
    
    Introduced in 9474ae3.
    
    Fixes ticket:2968.
    Cyp committed Dec 8, 2011
    Configuration menu
    Copy the full SHA
    d1e2f1a View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2011

  1. Configuration menu
    Copy the full SHA
    b62e7d3 View commit details
    Browse the repository at this point in the history
  2. Fix assertion spam on ordering a group containing some non-trucks to …

    …build something.
    
    info    |12:05:14: [orderDroidBase] Mini-Rocket Array Viper Hover cannot construct things!
    info    |12:05:14: [orderDroidBase] Assert in Warzone: ../../src/order.cpp:1563 (isConstructionDroid(psDroid)), last script event: 'N/A'
    Cyp committed Dec 9, 2011
    Configuration menu
    Copy the full SHA
    83af945 View commit details
    Browse the repository at this point in the history
  3. Use repair delivery point when plonking down droids in debug mode, an…

    …d squelch valgrind uninitialised warning.
    
    Flipping !psPosition->selected && !blueprint to !blueprint && !psPosition->selected helps since blueprint ← true and psPosition->selected ← uninitialised.
    
    ==28422== Conditional jump or move depends on uninitialised value(s)
    ==28422==    at 0x494CCC: renderDeliveryPoint(FLAG_POSITION*, bool) (display3d.cpp:2489)
    ==28422==    by 0x496F0D: _ZL9drawTilesP5iView.clone.53 (display3d.cpp:1622)
    ==28422==    by 0x496FAC: draw3DScene() (display3d.cpp:851)
    ==28422==    by 0x49BD30: displayWorld() (display.cpp:1358)
    ==28422==    by 0x50DEE6: gameLoop() (loop.cpp:614)
    ==28422==    by 0x50FBDC: mainLoop() (main.cpp:907)
    ==28422==    by 0x62EEDA: WzMainWindow::paintGL() (wzapp.cpp:264)
    ==28422==    by 0x6D5A0EF: QGLWidget::glDraw() (qgl.cpp:4483)
    ==28422==    by 0x6D58E38: QGLWidget::paintEvent(QPaintEvent*) (qgl.cpp:4281)
    ==28422==    by 0x723D40C: QWidget::event(QEvent*) (qwidget.cpp:8405)
    ==28422==    by 0x6D62580: QGLWidget::event(QEvent*) (qgl.cpp:4264)
    ==28422==    by 0x71E78DB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4462)
    ==28422==  Uninitialised value was created by a stack allocation
    ==28422==    at 0x4960DF: _ZL9drawTilesP5iView.clone.53 (display3d.cpp:918)
    Cyp committed Dec 9, 2011
    Configuration menu
    Copy the full SHA
    2347506 View commit details
    Browse the repository at this point in the history
  4. Shutdown dangerThreadFunc() on closing program.

    Valgrind appeared to be warning about a bad free() in _vgnU_freeres(), but the warning appears anyway with a different stack trace, possibly a valgrind bug.
    Cyp committed Dec 9, 2011
    Configuration menu
    Copy the full SHA
    6993b16 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2011

  1. Configuration menu
    Copy the full SHA
    075e188 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2011

  1. Fix problem with saving due to QSettings not believing that files wer…

    …e writable
    
    unless they were created beforehand. This is an ugly hack.
    perim committed Dec 11, 2011
    Configuration menu
    Copy the full SHA
    db2feed View commit details
    Browse the repository at this point in the history
  2. Remove useless floats from visibility.cpp.

    Probably couldn't break synch, since all floats always contained exactly representable integers.
    Cyp committed Dec 11, 2011
    Configuration menu
    Copy the full SHA
    829fc68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    063fc63 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    74261ad View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    69f6dc2 View commit details
    Browse the repository at this point in the history
  6. Allow multiple logical updates per rendered frame.

    Allows maintaining game speed when the GPU can't keep up.
    Cyp committed Dec 11, 2011
    Configuration menu
    Copy the full SHA
    e503681 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1206639 View commit details
    Browse the repository at this point in the history
  8. Remove some unneeded code.

    Found by clang's analyzer. Closes #2970.
    cybersphinx committed Dec 11, 2011
    Configuration menu
    Copy the full SHA
    8d309f5 View commit details
    Browse the repository at this point in the history
  9. Change subtitle timing from frames to seconds.

    Based on patches by Emdek and Beliar. Closes #748.
    cybersphinx committed Dec 11, 2011
    Configuration menu
    Copy the full SHA
    fec056d View commit details
    Browse the repository at this point in the history
  10. Move some Qt-related stuff from lib/framework/wzapp.cpp and src/main.…

    …cpp to lib/qtgame/.
    
    And restored scrap.cpp into lib/sdl/.
    Cyp committed Dec 11, 2011
    Configuration menu
    Copy the full SHA
    692b7f4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    53beded View commit details
    Browse the repository at this point in the history
  12. Rename the generic wzapp_c.h to wzapp.h.

    The _c was a leftover from the good old days, when this was written in C and everyone used RFC 1149.
    Cyp committed Dec 11, 2011
    Configuration menu
    Copy the full SHA
    675ddce View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2011

  1. Configuration menu
    Copy the full SHA
    85974ca View commit details
    Browse the repository at this point in the history
  2. Fix desynch when melting scavengers.

    Droid animations should not affect game state...
    Even if you're melting scavengers with lasers or bombs.
    Cyp committed Dec 12, 2011
    Configuration menu
    Copy the full SHA
    295be0e View commit details
    Browse the repository at this point in the history
  3. Remove RESEARCH_FACILITY::timeStarted, don't finish research when can…

    …celling it.
    
    Fixes ticket:2977.
    Cyp committed Dec 12, 2011
    Configuration menu
    Copy the full SHA
    4b355aa View commit details
    Browse the repository at this point in the history
  4. Adjust the xcode build to moves and additional files.

    Some additional changes to set up support SDL for mac builds.
    dak180 committed Dec 12, 2011
    Configuration menu
    Copy the full SHA
    f6d9639 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    322bbc6 View commit details
    Browse the repository at this point in the history
  6. Ignore buildings on source or destination when pathfinding.

    Droids should now go to the nearest point instead of a point which might not even be accessible, when trying to build modules or derricks.
    
    Fixes ticket:2978.
    Cyp committed Dec 12, 2011
    Configuration menu
    Copy the full SHA
    0119eda View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1e2c71c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    94f88b6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    529e285 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d35b8b4 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2011

  1. Configuration menu
    Copy the full SHA
    432b9a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa5e6c7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cc662f9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8f047f7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0ee5bb3 View commit details
    Browse the repository at this point in the history
  6. More updates to bring the xcode project inline with previous changes.

    Also some #if and #include clarity.
    dak180 committed Dec 13, 2011
    Configuration menu
    Copy the full SHA
    7965939 View commit details
    Browse the repository at this point in the history
  7. Re-add SDL stuff from frameInitialise and screenInitialise.

    It now compiles, links and even starts under SDL, even if it doesn't run for more than ¼ of a second.
    Cyp committed Dec 13, 2011
    Configuration menu
    Copy the full SHA
    40aa61f View commit details
    Browse the repository at this point in the history